Are you using a custom dialect or are you simply allowing Hibernate to resolve the latest dialect for you?