diff options
Diffstat (limited to 'id/server/moa-id-commons/src/main')
-rw-r--r-- | id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml index 9b00ff3cd..96808f2c5 100644 --- a/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml +++ b/id/server/moa-id-commons/src/main/resources/statistic.logging.beans.xml @@ -32,26 +32,7 @@ <property name="testWhileIdle" value="${advancedlogging.dbcp.testWhileIdle}" /> <property name="validationQuery" value="${advancedlogging.dbcp.validationQuery}" /> </bean> - -<!-- <bean id="statisticLogSessionFactory" class="org.springframework.orm.hibernate5.LocalSessionFactoryBean"> - <property name="dataSource" ref="statisticLogDataSource"/> - <property name="packagesToScan" value="at.gv.egovernment.moa.id.commons.db.dao.statistic" /> - <property name="hibernateProperties"> - - <props> - <prop key="hibernate.dialect">${advancedlogging.hibernate.dialect}</prop> - <prop key="hibernate.show_sql">${advancedlogging.hibernate.show_sql}</prop> - <prop key="hibernate.hbm2ddl.auto">${advancedlogging.hibernate.hbm2ddl.auto}</prop> - <prop key="current_session_context_class">${advancedlogging.hibernate.current_session_context_class}</prop> - <prop key="hibernate.transaction.flush_before_completion">${advancedlogging.hibernate.transaction.flush_before_completion}</prop> - <prop key="hibernate.transaction.auto_close_session">${advancedlogging.hibernate.transaction.auto_close_session}</prop> - </props> - </property> - </bean> --> - - - <!-- bean id="statisticLogDBUtils" class="at.gv.egovernment.moa.id.commons.db.StatisticLogDBUtils"/--> - + <bean name="statisticLogTransactionManager" id="statisticLogTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="statistic" /> </bean> |