changeset 115:02a4eddc7760

Make a criteria builder available in repositories.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 12 Jun 2013 14:42:07 +0200
parents 7c36f3e19934
children 92affd9467f8
files src/main/java/de/intevation/lada/data/Repository.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/data/Repository.java	Wed Jun 12 14:41:06 2013 +0200
+++ b/src/main/java/de/intevation/lada/data/Repository.java	Wed Jun 12 14:42:07 2013 +0200
@@ -67,4 +67,8 @@
         }
         return new Response(true, 200, item);
     }
+
+    public CriteriaBuilder getCriteriaBuilder() {
+        return em.getCriteriaBuilder();
+    }
 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)