aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml
diff options
context:
space:
mode:
authorGerwin Gsenger <g.gsenger@datentechnik-innovation.at>2015-01-12 17:39:59 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-06-19 11:05:53 +0200
commit3d8ea79b6167a2e4784beaafe5596cc78519e358 (patch)
tree605f146c7eb7810e334f9418e1f27df9a48e95ca /id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml
parent4d16df7e7a3a893332248d20d032d23605eb091e (diff)
downloadmoa-id-spss-3d8ea79b6167a2e4784beaafe5596cc78519e358.tar.gz
moa-id-spss-3d8ea79b6167a2e4784beaafe5596cc78519e358.tar.bz2
moa-id-spss-3d8ea79b6167a2e4784beaafe5596cc78519e358.zip
fix hibernate setup
Diffstat (limited to 'id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml')
-rw-r--r--id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml b/id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml
new file mode 100644
index 000000000..e77d6c49e
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
+http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
+ version="2.0">
+
+ <persistence-unit name="at.gv.egovernment.moa.id.commons.db.dao.config" transaction-type="RESOURCE_LOCAL">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <class>com.datentechnik.moa.id.conf.persistence.dal.ConfigProperty</class>
+ <properties>
+ </properties>
+ </persistence-unit>
+
+</persistence> \ No newline at end of file