diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-06-07 15:01:11 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-06-07 15:01:11 +0200 |
commit | f66d793ba9562ffa96103ff69cee441754c3bb7c (patch) | |
tree | 7d905c5c34e3671cd7896ef48e796c98d4e1380c /id/server/idserverlib/src/main/resources | |
parent | f660735c26170c05396e0feeac53e7dcf3c5b5df (diff) | |
parent | 0d4863abf480dd35d5ffa87f09604096aae905bc (diff) | |
download | moa-id-spss-f66d793ba9562ffa96103ff69cee441754c3bb7c.tar.gz moa-id-spss-f66d793ba9562ffa96103ff69cee441754c3bb7c.tar.bz2 moa-id-spss-f66d793ba9562ffa96103ff69cee441754c3bb7c.zip |
Merge remote-tracking branch 'remotes/origin/moapid-3.2-opb-redis' into eIDAS_node_implementation
Diffstat (limited to 'id/server/idserverlib/src/main/resources')
-rw-r--r-- | id/server/idserverlib/src/main/resources/session.common.beans.xml | 11 |
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> |