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: 15 Jan 08 18:39
Component/s: J2EE.Hibernate, J2EE.Spring
Fix Version/s: Diana 8243, Selena 7.0.3

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

Build: 7,590
Fixed in build: 8,099
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:
There are no comments yet on this issue.