I have a multimodule Maven project whit Spring and Hibernate, my Hibernate configuration is like:
Recently some of our entities should have moved to an other subproject depending on the original subproject with the entities. I would like to split my configuration file in order to use the former SpringJUnit4ClassRunner tests. Is it possible?
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="hibernateProperties"> <props> ... </props> </property> <property name="dataSource"> <ref bean="dataSource" /> </property> <property name="annotatedClasses"> <list> ... </list> </property> </bean>