User development,
A new message was posted in the thread "ManyToOne gives
EntityNotFoundException":
http://community.jboss.org/message/522967#522967
Author : Julien Kronegg
Profile :
http://community.jboss.org/people/jkronegg
Message:
--------------------------------------------------------------
@NotFound(action=NotFoundAction.IGNORE)
When this annotation is added to a LAZY fetched @ManyToOne, Hibernate will issue two SQL
queries: one for the main object, and one for the @ManyToOne. So you loose the LAZY
behavior, see
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2753
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522967#522967