diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-04-26 15:35:46 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-04-26 15:35:46 +0200 |
commit | 129285d2c6fcd82a3cba7fc5345e87699129c005 (patch) | |
tree | c325262f5fc6f2f3fa5fdd5fdc0f63a6725adf64 /id/server/moa-id-commons | |
parent | 851f8c8ed0959c75a2bd28a61ff4cd5dd49f98f5 (diff) | |
download | moa-id-spss-129285d2c6fcd82a3cba7fc5345e87699129c005.tar.gz moa-id-spss-129285d2c6fcd82a3cba7fc5345e87699129c005.tar.bz2 moa-id-spss-129285d2c6fcd82a3cba7fc5345e87699129c005.zip |
modified RedisTransactionStorage, modified beans definition
Diffstat (limited to 'id/server/moa-id-commons')
-rw-r--r-- | id/server/moa-id-commons/pom.xml | 4 | ||||
-rw-r--r-- | id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/id/server/moa-id-commons/pom.xml b/id/server/moa-id-commons/pom.xml index ea9e06fd6..613698fc6 100644 --- a/id/server/moa-id-commons/pom.xml +++ b/id/server/moa-id-commons/pom.xml @@ -143,11 +143,11 @@ <artifactId>hibernate-core</artifactId> <version>${hibernate.version}</version> </dependency> - <dependency> + <!-- dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-c3p0</artifactId> <version>${hibernate.version}</version> - </dependency> + </dependency--> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> 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 9bebfa66f..5c1558507 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 @@ -12,5 +12,13 @@ http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" <properties> </properties> </persistence-unit> + + <persistence-unit name="session" transaction-type="RESOURCE_LOCAL"> + <provider>org.hibernate.ejb.HibernatePersistence</provider> + <class>at.gv.egovernment.moa.id.commons.db.dao.session.AssertionStore</class> + <!-- <class>at.gv.egovernment.moa.id.commons.db.dao.config.UserDatabase</class> --> + <properties> + </properties> + </persistence-unit> </persistence>
\ No newline at end of file |