* Delete unused classes, files, misc ide files * Cleanup checkstyle/pmd/findbugs reports * Add @Override as needed * Remove schema versions in xml configs * Remove unused imports * General tidying * Cleanup deprecated jdbctemplate methods * Fix @Ignored OrderItemReaderTests test
23 lines
899 B
XML
23 lines
899 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
|
|
|
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
|
|
<property name="dataSource" ref="dataSource" />
|
|
<property name="mappingLocations" value="classpath*:/org/springframework/batch/sample/domain/**/*.hbm.xml" />
|
|
<property name="hibernateProperties">
|
|
<value>
|
|
<![CDATA[
|
|
hibernate.show_sql=true
|
|
hibernate.format_sql=true
|
|
]]>
|
|
</value>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager" lazy-init="true">
|
|
<property name="sessionFactory" ref="sessionFactory" />
|
|
</bean>
|
|
</beans>
|