aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources/persistence_template.xml
diff options
context:
space:
mode:
authorGerwin Gsenger <g.gsenger@datentechnik-innovation.at>2015-01-22 16:49:49 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-06-19 11:09:22 +0200
commit15c60cf9939536c352778c6c411608397e57c516 (patch)
tree99a88f2d4de19152f59004879129c0e6ff3ef603 /id/server/moa-id-commons/src/main/resources/persistence_template.xml
parent20de91930de89797e629182c61bc81d28e57092f (diff)
downloadmoa-id-spss-15c60cf9939536c352778c6c411608397e57c516.tar.gz
moa-id-spss-15c60cf9939536c352778c6c411608397e57c516.tar.bz2
moa-id-spss-15c60cf9939536c352778c6c411608397e57c516.zip
add CLI migration (XML to property file, property file to db, db to property file)
Diffstat (limited to 'id/server/moa-id-commons/src/main/resources/persistence_template.xml')
-rw-r--r--id/server/moa-id-commons/src/main/resources/persistence_template.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/id/server/moa-id-commons/src/main/resources/persistence_template.xml b/id/server/moa-id-commons/src/main/resources/persistence_template.xml
index 25092ff58..f5bbe8555 100644
--- a/id/server/moa-id-commons/src/main/resources/persistence_template.xml
+++ b/id/server/moa-id-commons/src/main/resources/persistence_template.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <persistence-unit name="##generated">
+ <!-- <persistence-unit name="##generated"> -->
+
+ <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>
+ </persistence-unit>
<!-- <class>at.gv.egovernment.moa.id.commons.db.dao.config.UserDatabase</class> -->
<!-- <properties>
@@ -13,5 +20,5 @@ http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistenc
<property name="checkoutTimeout" value="1"/>
<property name="testConnectionOnCheckin" value="1" />
</properties> -->
- </persistence-unit>
+ <!-- </persistence-unit> -->
</persistence>