aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-04-26 15:35:46 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-04-26 15:35:46 +0200
commit129285d2c6fcd82a3cba7fc5345e87699129c005 (patch)
treec325262f5fc6f2f3fa5fdd5fdc0f63a6725adf64 /id/server/moa-id-commons/src
parent851f8c8ed0959c75a2bd28a61ff4cd5dd49f98f5 (diff)
downloadmoa-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/src')
-rw-r--r--id/server/moa-id-commons/src/main/resources/META-INF/persistence.xml8
1 files changed, 8 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 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