aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/resources/session.db.beans.xml
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-05-03 11:38:51 +0200
committerChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2016-05-03 11:38:51 +0200
commit42e40bb58ec9b4c6b7a474e058e79d366548a520 (patch)
tree3fdadd523377a3f37a6b069823679c4da78d2474 /id/server/idserverlib/src/main/resources/session.db.beans.xml
parent61661f2ea4978d56691f7a672469c6d43e9dba41 (diff)
downloadmoa-id-spss-42e40bb58ec9b4c6b7a474e058e79d366548a520.tar.gz
moa-id-spss-42e40bb58ec9b4c6b7a474e058e79d366548a520.tar.bz2
moa-id-spss-42e40bb58ec9b4c6b7a474e058e79d366548a520.zip
Added Transactional Support to MOASessionDBUtils
Diffstat (limited to 'id/server/idserverlib/src/main/resources/session.db.beans.xml')
-rw-r--r--id/server/idserverlib/src/main/resources/session.db.beans.xml19
1 files changed, 0 insertions, 19 deletions
diff --git a/id/server/idserverlib/src/main/resources/session.db.beans.xml b/id/server/idserverlib/src/main/resources/session.db.beans.xml
index 0aeb24bac..18849c3f1 100644
--- a/id/server/idserverlib/src/main/resources/session.db.beans.xml
+++ b/id/server/idserverlib/src/main/resources/session.db.beans.xml
@@ -20,25 +20,6 @@
<!-- MYSQL Conector -->
<tx:annotation-driven transaction-manager="sessionTransactionManager"/>
- <bean id="sessionDataSource" class="org.apache.commons.dbcp2.BasicDataSource" lazy-init="true" destroy-method="close">
- <aop:scoped-proxy/>
- <property name="driverClassName" value="${moasession.hibernate.connection.driver_class}" />
- <property name="url" value="${moasession.hibernate.connection.url}"/>
- <property name="username" value="${moasession.hibernate.connection.username}" />
- <property name="password" value="${moasession.hibernate.connection.password}" />
-
- <property name="connectionProperties" value="${moasession.dbcp.connectionProperties}" />
- <property name="initialSize" value="${moasession.dbcp.initialSize}" />
- <property name="maxTotal" value="${moasession.dbcp.maxActive}" />
- <property name="maxIdle" value="${moasession.dbcp.maxIdle}" />
- <property name="minIdle" value="${moasession.dbcp.minIdle}" />
- <!-- property name="maxWait" value="${moasession.dbcp.maxWaitMillis}" / -->
- <property name="testOnBorrow" value="${moasession.dbcp.testOnBorrow}" />
- <property name="testOnReturn" value="${moasession.dbcp.testOnReturn}" />
- <property name="testWhileIdle" value="${moasession.dbcp.testWhileIdle}" />
- <property name="validationQuery" value="${moasession.dbcp.validationQuery}" />
- </bean>
-
<bean id="sessionJpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
<property name="showSql" value="${moasession.hibernate.show_sql}" />
<property name="generateDdl" value="${moasession.jpaVendorAdapter.generateDdl}" />