Former-commit-id:a4fa438a41
[formerly33bc5fd816
] [formerly83e9157df7
] [formerly328c6dccad
[formerly83e9157df7
[formerly bd9eec1d4e6fd843c7bb594b8adb882d72edc6cf]]] Former-commit-id:328c6dccad
Former-commit-id: f30d6bb5c391ebffda9767fba913019b2cd7d050 [formerly47cc08ac79
] Former-commit-id:d9be4dce21
37 lines
No EOL
2.1 KiB
XML
37 lines
No EOL
2.1 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
|
|
|
|
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
|
<property name="driverClassName" value="org.hsqldb.jdbc.JDBCDriver" />
|
|
<property name="url" value="jdbc:hsqldb:mem:unit-testing" />
|
|
<property name="username" value="sa" />
|
|
<property name="password" value="" />
|
|
<property name="defaultAutoCommit" value="false" />
|
|
</bean>
|
|
|
|
<bean id="metadataSessionFactory"
|
|
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
|
|
<property name="dataSource" ref="dataSource"/>
|
|
<property name="annotatedClasses">
|
|
<list>
|
|
<value>com.raytheon.uf.edex.datadelivery.bandwidth.dao.BandwidthAllocation</value>
|
|
<value>com.raytheon.uf.edex.datadelivery.bandwidth.dao.SubscriptionRetrieval</value>
|
|
<value>com.raytheon.uf.edex.datadelivery.bandwidth.dao.DataSetMetaDataDao</value>
|
|
<value>com.raytheon.uf.edex.datadelivery.bandwidth.dao.SubscriptionDao</value>
|
|
<value>com.raytheon.uf.edex.datadelivery.retrieval.db.RetrievalRequestRecord</value>
|
|
</list>
|
|
</property>
|
|
<property name="configLocation">
|
|
<value>classpath:unit-test-hibernate.cfg.xml</value>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="metadataTxManager"
|
|
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
<property name="sessionFactory" ref="metadataSessionFactory" />
|
|
</bean>
|
|
</beans> |