hibernate/hibernate-orm — pull request #768 by emmanuelbernard (2014-07-04 13:26:31+00:00)
Title: HHH-8683 EntityEntry backport on master

Hey @gunnarmorling and @sanne
I had to make a few adjustments to port it to master, can you double check it.
(new pull request on the correct repo)