aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2018-08-16 16:44:05 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2018-08-16 16:44:05 +0200
commitd440242e3134cac4379a3869ae9e7a677b64242f (patch)
treea3dbe0bf33072facbb922be859c5e8b917ec4900 /id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa
parentbdb66f176ee20388f689e994befa10b32b4ddfa3 (diff)
downloadmoa-id-spss-d440242e3134cac4379a3869ae9e7a677b64242f.tar.gz
moa-id-spss-d440242e3134cac4379a3869ae9e7a677b64242f.tar.bz2
moa-id-spss-d440242e3134cac4379a3869ae9e7a677b64242f.zip
fix problem in StatisticDatabase test functionality
Diffstat (limited to 'id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
index ba48f8caf..d98444c87 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java
@@ -34,15 +34,13 @@ import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
-import org.hibernate.annotations.DynamicUpdate;
-
@Entity
//@DynamicUpdate(value=true)
@Table(name = "statisticlog")
@NamedQueries({
- @NamedQuery(name="getAllEntriesNotBeforeTimeStamp", query = "select statisiclog from StatisticLog statisiclog where statisiclog.timestamp > :timeout")
+ @NamedQuery(name="getTestEntity", query = "select statisiclog from StatisticLog statisiclog where statisiclog.id = :testid")
})
public class StatisticLog implements Serializable{