(Really) Properly fixed hibernate dialect