I haven't tried with ORM 4, but that method in ManyToOneType.java has exactly the same code in 3.6.8 (the version I am using) and the latest code that I saw in hibernate site, which makes me believe this is present in ORM 4 also. Thanks