Given an abstract LocalSessionFactoryBean bean definition and a concrete bean instantiation of it, the mappings defined in the abstract bean are not detected by the hibernate integration. The session factory is detected, but none of the mapping files or entities show up underneath it in the Java EE :Structure Hibernate Facet view in the project tool window.
Here is an example:
<bean id="abstractSessionFactory" abstract="true" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="mappingResources">
<list>
<value>com/mycompany/Company.hbm.xml</value>
<value>com/mycompany/CompanyContact.hbm.xml</value>
</list>
</property>
<!-- other properties omitted for brevity -->
</bean>
<bean id="sessionFactory" parent="abstractSessionFactory"/>