Can confirm that this still applies to hibernate 5. Attached a test case that shows the problem for hibernate 5.