EntityManager.find() will no longer throw an EntityNotFoundException (null is returned instead).
If debug logging is enabled, the below message is logged with the EntityNotFoundException:
@Message( value = "Returning null (as required by JPA spec) rather than throwing EntityNotFoundException, as the entity (%s) does not exist", id = 15013 )
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
EntityManager.find() will no longer throw an EntityNotFoundException (null is returned instead).
If debug logging is enabled, the below message is logged with the EntityNotFoundException:
Fix merged to https://github.com/hibernate/hibernate-orm/tree/4.1-perf, https://github.com/hibernate/hibernate-orm/tree/4.1 + master.