[hibernate-users] HHH-13941 or am I crazy refresh throwing EntityNotFoundException when contains returns true and find returns an instance.
Jason Pyeron
jpyeron at pdinc.us
Sat Apr 11 21:48:48 EDT 2020
Forgive the trivial/silly test case.
if (em.contains(o) && null!=em.find(o.getClass(),o.getId()))
{
em.refresh(o); // throwing EntityNotFoundException
}
This should never be possible, right?
More information about the hibernate-users
mailing list