aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources/META-INF
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main/resources/META-INF')
-rw-r--r--id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml20
1 files changed, 20 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..6325ada5f
--- /dev/null
+++ b/id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml
@@ -0,0 +1,20 @@
+<?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>at.gv.egovernment.moa.id.commons.config.persistence.dal.SOME_CLASS</class>
+ </persistence-unit>
+
+ <persistence-unit name="config" transaction-type="RESOURCE_LOCAL">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <class>at.gv.egovernment.moa.id.commons.db.dao.config.ConfigProperty</class>
+ <properties>
+ </properties>
+ </persistence-unit>
+
+</persistence> \ No newline at end of file