History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24273
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Larry Chu
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

abstract bean LocalSessionFactoryBean by hibernate integration

Created: 05 Jan 08 04:39   Updated: 04 Jun 09 22:35
Component/s: J2EE.Hibernate, J2EE.Spring
Fix Version/s: Diana 8243, Diana 8.1.3, Maia 10338

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,590
Fixed in build: 10,335
Severity: Medium


 Description  « Hide
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"/>



 All   Comments   Work Log   Change History      Sort Order:
Larry Chu - 03 Jun 09 23:49
This problem has reappeared in 8.1.1 and 8.1.2. Can we reopen?