This problem sill occurs in hibernate 5.x (verified with 5.0.3.Final) - I updated Affects Version/s accordingly.