-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: name-enity not used in subclass mapping definition.
PostPosted: Sun Oct 04, 2009 3:11 pm 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
Due to a bug in version 3.3.2 (and earlier version maybe), the entity-name attribute isn't used correctly in a subclass mapping.

Due to this bug, Hibernate will throw an exceptions when performing a save/update actions on the "first run". It will the perform a second run to find the entity name (= class name), and if you are not using entity-name in a subclass you will be fine.

Still, the exception, which you don't see, is expensive and might happen in your code as well, mannnny times....

If you are experiencing this (you might not see it anyway), please vote on the bug in jira:
http://opensource.atlassian.com/project ... e/HHH-4036

The solution is very simple.... The developers just have to change a single line in the code (key in a map is used incorrectly)....
Because of this, I hope the Hibernate developers will include this bug fix quickly and release it soon.

Thanks,
Ed


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.