Steve Ebersole
commented
on an issue
Re: EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database
Scott, you going to get to this by early tomorrow? Or:
should I do it?
should I push it to the next release?
Add Comment
Hibernate ORM
/
HHH-8593
EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database
https://github.com/scottmarlow/hibernate-orm/tree/refreshEntityNotFoundException
contains the following test case that expects a EntityNotFoundException to be thrown from refresh if the entity is no longer in the database.
{code}
@Test
public void testEntityNotFoundException() throws Exception {
EntityManager em = getOrCreateEntityManager();
...
This message was sent by Atlassian JIRA
(v6.1-OD-09-WN#6144-
sha1:62dfc48
)