updated to fix the hibernate mysql issue