From d440242e3134cac4379a3869ae9e7a677b64242f Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 16 Aug 2018 16:44:05 +0200 Subject: fix problem in StatisticDatabase test functionality --- .../gv/egovernment/moa/id/commons/db/dao/statistic/StatisticLog.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'id/server/moa-id-commons/src/main/java/at') 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{ -- cgit v1.2.3