Just verified - problem still exists in 5.1.16 and 5.1.17. I don't have easy way to check it on higher versions of Hibernate.