hibernate dialect and migration fix