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

Key: IDEADEV-24156
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Izak Wessels
Votes: 0
Watchers: 0
Operations

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

Conents of Hibernate XML fragments are no longer resolved in IDEA

Created: 17 Dec 07 17:20   Updated: 23 Sep 08 20:35
Component/s: J2EE.Hibernate
Fix Version/s: Diana 8858

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP

Build: 7,590
Fixed in build: 8,828
Severity: Medium


 Description  « Hide
Previously this used to work :
--------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"
[<!ENTITY baseEntity SYSTEM "classpath://com/somecompany/model/BaseEntity.hbm.xmlf">]>

<hibernate-mapping>
<class name="com.somecompany.user.User" table="user">

&baseEntity;
</class>
</hibernate-mapping>

where BaseEntity.hbm.xmlf had,

<id column="id" name="id" type="java.lang.Long">
<generator class="increment"/>
</id>

--------------------------------------------------------------------------------------------------------------------

Now it complains and says that there is no <id> tag in the mapping file
I



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.