Why to use hibernate dialect?

By | June 17, 2018

In this post we will discuss about hibernate dialect property in detail.

This property tells Hibernate to generate the appropriate SQL statements for the chosen database.
For Example for MySQL database we set hibernate dialect as below in hibernate config file in our example Hibernate CRUD(Create,Read,Update and Delete) example.

If you expand hibernate-core jar in your favorite IDE you’ll get the package org.hibernate.dialect
In this package you will get Dialect classes for all the supported databases by hibernate

That’s all about hibernate dialect feature.

Leave a Reply

Your email address will not be published. Required fields are marked *