aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-06-07 13:57:21 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-06-07 13:57:21 +0200
commit0d4863abf480dd35d5ffa87f09604096aae905bc (patch)
tree4cee3de525f138cb7b1c710f05f68bc27f596e39 /id/server/idserverlib/src
parent0cf75d5ee50f3c285a772ce96411f7bf98fe2a72 (diff)
downloadmoa-id-spss-0d4863abf480dd35d5ffa87f09604096aae905bc.tar.gz
moa-id-spss-0d4863abf480dd35d5ffa87f09604096aae905bc.tar.bz2
moa-id-spss-0d4863abf480dd35d5ffa87f09604096aae905bc.zip
added default properties to config
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r--id/server/idserverlib/src/main/resources/session.common.beans.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/id/server/idserverlib/src/main/resources/session.common.beans.xml b/id/server/idserverlib/src/main/resources/session.common.beans.xml
index 300bbd463..10c1320cc 100644
--- a/id/server/idserverlib/src/main/resources/session.common.beans.xml
+++ b/id/server/idserverlib/src/main/resources/session.common.beans.xml
@@ -37,16 +37,17 @@
<property name="packagesToScan" value="at.gv.egovernment.moa.id.commons.db" />
<property name="hibernateProperties">
<props>
- <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
+ <prop key="hibernate.dialect">${moasession.hibernate.dialect}</prop>
<prop key="hibernate.show_sql">${moasession.hibernate.show_sql}</prop>
- <prop key="hibernate.hbm2ddl.auto">update</prop>
- <prop key="current_session_context_class">thread</prop>
- <prop key="hibernate.transaction.flush_before_completion">true</prop>
- <prop key="hibernate.transaction.auto_close_session">true</prop>
+ <prop key="hibernate.hbm2ddl.auto">${moasession.hibernate.hbm2ddl.auto}</prop>
+ <prop key="current_session_context_class">${moasession.hibernate.current_session_context_class}</prop>
+ <prop key="hibernate.transaction.flush_before_completion">${moasession.hibernate.transaction.flush_before_completion}</prop>
+ <prop key="hibernate.transaction.auto_close_session">${moasession.hibernate.transaction.auto_close_session}</prop>
</props>
</property>
</bean>
+
<bean id="moaSessionDBUtils" class="at.gv.egovernment.moa.id.commons.db.MOASessionDBUtils">
</bean>