aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources/META-INF
diff options
context:
space:
mode:
authorChristian Wagner <c.wagner@datentechnik-innovation.com>2015-01-13 16:12:36 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-06-19 11:07:45 +0200
commitc20d8f3da0b112864130031d39800e60289380d4 (patch)
treee378d9016f46dfe70e8ad49acabc482a04f32eec /id/server/moa-id-commons/src/main/resources/META-INF
parent3ee292090346f27e7e23d4943b74ada281f20552 (diff)
downloadmoa-id-spss-c20d8f3da0b112864130031d39800e60289380d4.tar.gz
moa-id-spss-c20d8f3da0b112864130031d39800e60289380d4.tar.bz2
moa-id-spss-c20d8f3da0b112864130031d39800e60289380d4.zip
add raw configuration persistence functionality
some problems: * all tables annotated via '@Table' are created in every database connected * loading of 'Configuration' via Spring isn't pretty at all
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.xml5
1 files changed, 5 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
index e77d6c49e..640c1504c 100644
--- 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
@@ -7,6 +7,11 @@ http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
<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.SOME_CLASS</class>
+ </persistence-unit>
+
+ <persistence-unit name="moaidconf" transaction-type="RESOURCE_LOCAL">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>com.datentechnik.moa.id.conf.persistence.dal.ConfigProperty</class>
<properties>
</properties>