Scott Marlow commented on Bug HHH-7861

I don't think that javax.persistence.EntityNotFoundException should be thrown from org.hibernate.Session.

Also, I'm trying to see if your code change should be made. Could you explain why you added the "!options.isAllowNulls()" test? Is that a guess or did you figure out that is the right fix for a reason?

I'll start with a higher level change to return null instead of EntityNotFoundException for EntityManager.find(). I'd like to hear more about your lower level fix also.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira