<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
	

	<bean id="tfrTransactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager">
    	<property name="sessionFactory" ref="tfrSessionFactory"/>
	</bean>

	
	<bean id="tfrSessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
		<property name="dataSource" ref="hdrDataSource" />
		<property name="mappingResources">
			<list>

<!-- 
				<prop key="hibernate.default_schema">TFRLOCAL</prop>

 -->
				<value>gov/va/med/cds/persistence/hibernate/tfs/DomainEntryPoint.hbm.xml</value>
				<value>gov/va/med/cds/persistence/hibernate/tfs/TemplateSchema.hbm.xml</value>
				<value>gov/va/med/cds/persistence/hibernate/tfs/VhimVersion.hbm.xml</value>
				<value>gov/va/med/cds/persistence/hibernate/tfs/FilterSchema.hbm.xml</value>
				<value>gov/va/med/cds/persistence/hibernate/tfs/EntryFilter.hbm.xml</value>

			</list>
		</property>
		<property name="hibernateProperties">
			<props>
				<prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
				<prop key="hibernate.show_sql">${hibernate.show.sql}</prop>
			</props>
		</property>
	</bean>

</beans>
