aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/resources/session.common.beans.xml
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/idserverlib/src/main/resources/session.common.beans.xml')
-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>