
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
| Build: |
7,590
|
| Fixed in build: |
10,335
|
| Severity: |
Medium
|
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"/>
|
|
Description
|
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"/> |
Show » |
|