All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mework.batch.spring-batch-samples.1.1.3.RELEASE.source-code.hibernate-context.xml Maven / Gradle / Ivy

There is a newer version: 1.1.4.RELEASE
Show newest version
<?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.hibernate3.LocalSessionFactoryBean">
		<property name="dataSource" ref="dataSource" />
		<property name="mappingLocations" value="classpath*:/*.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.hibernate3.HibernateTransactionManager" lazy-init="true">
		<property name="sessionFactory" ref="sessionFactory" />
	</bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy