Trong Dinh
I was not able to reproduce this issue, I have run your test on a Fedora22, with MariaDB 10.0.21 with both hibernate 5.0.0.CR3 and 5.0.0.Final. The test failed only with hibernate 5.0.0.CR2