Change-Id: Ieb1544cb52cf108836b157e3d800c470fa5cf3e1 Former-commit-id:8e03494192
[formerly67e49201d6
] [formerly255aea053b
] [formerly58b6899672
[formerly255aea053b
[formerly c4344f5402fe33e7e47515adc3b54913f9c13617]]] Former-commit-id:58b6899672
Former-commit-id: c84b45e2152655f5a59d981bf77540a6031f9e67 [formerlycb899b3fa0
] Former-commit-id:ce9f5a7365
35 lines
No EOL
1.6 KiB
XML
35 lines
No EOL
1.6 KiB
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" xmlns:p="http://www.springframework.org/schema/p"
|
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/tx
|
|
http://www.springframework.org/schema/tx/spring-tx.xsd">
|
|
|
|
<bean id="metadataSessionFactory"
|
|
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
|
|
<property name="dataSource" ref="dataSource" />
|
|
<property name="packagesToScan">
|
|
<list>
|
|
<value>com.raytheon.uf.edex.datadelivery.bandwidth.dao</value>
|
|
<value>com.raytheon.uf.edex.datadelivery.retrieval.db</value>
|
|
<value>oasis.names.tc.ebxml.regrep.xsd.rim.v4</value>
|
|
</list>
|
|
</property>
|
|
<property name="configLocation">
|
|
<value>classpath:unit-test-hibernate.cfg.xml</value>
|
|
</property>
|
|
</bean>
|
|
|
|
<tx:annotation-driven transaction-manager="metadataTxManager" proxy-target-class="true" />
|
|
|
|
<bean id="metadataTxManager"
|
|
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
<property name="sessionFactory" ref="metadataSessionFactory" />
|
|
</bean>
|
|
|
|
<!-- Register the application context with EDEXUtil -->
|
|
<bean class="com.raytheon.uf.edex.core.EDEXUtil" />
|
|
|
|
</beans> |