Steve Ebersole
updated
an issue
Hibernate ORM
/
HHH-9856
EntityManager.find() and getReference() throw incorrect exception for non-entity
Change By:
Steve Ebersole
Calling {{EntityManager#find}} and {{EntityManager#getReference}} with
an object
a Class
that is not an entity results in a {{org.hibernate.HibernateException}}, however JPA requires an {{IllegalArgumentException}} be thrown instead.
Add Comment
This message was sent by Atlassian JIRA
(v6.5-OD-05-041#65001-
sha1:e07c9f6
)