diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-06-29 11:18:55 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-06-29 11:18:55 +0200 |
commit | 7ef57c3ceb296f06aa76ba3e6d3499b3a2772aff (patch) | |
tree | d39951674642c0e2381dfa36084ae9e412440e05 /id/server/idserverlib/src/main/resources/session.db.beans.xml | |
parent | ad156aaec0e4e8cd97a6eee6aa96e9d5700d0b4f (diff) | |
download | moa-id-spss-7ef57c3ceb296f06aa76ba3e6d3499b3a2772aff.tar.gz moa-id-spss-7ef57c3ceb296f06aa76ba3e6d3499b3a2772aff.tar.bz2 moa-id-spss-7ef57c3ceb296f06aa76ba3e6d3499b3a2772aff.zip |
using annotations for hibernate configuration now
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.xml | 20 |
1 files changed, 0 insertions, 20 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 47aa9fde9..5ed390ffe 100644 --- a/id/server/idserverlib/src/main/resources/session.db.beans.xml +++ b/id/server/idserverlib/src/main/resources/session.db.beans.xml @@ -17,24 +17,4 @@ class="at.gv.egovernment.moa.id.storage.DBTransactionStorage" /> - <!-- MYSQL Conector --> - <tx:annotation-driven transaction-manager="sessionTransactionManager"/> - - <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}" /> - <property name="databasePlatform" value="${moasession.hibernate.dialect}" /> - </bean> - - <bean name="session" id="session" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" depends-on="sessionDataSource"> - <property name="dataSource" ref="sessionDataSource" /> - <property name="jpaVendorAdapter" ref="sessionJpaVendorAdapter" /> - <property name="packagesToScan" value="at.gv.egovernment.moa.id.commons.db.dao.session" /> - <property name="persistenceUnitName" value="session" /> - </bean> - - <bean name="sessionTransactionManager" id="sessionTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> - <property name="entityManagerFactory" ref="session" /> - </bean> - </beans>
\ No newline at end of file |