This file is used to define the hibernate dialect by setting the following property:

hibernate.dialect=DIALECT

DIALECT can be for example:

  • org.hibernate.dialect.SQLServer2012Dialect (for SQL Server)
  • org.hibernate.dialect.Oracle12cDialect (for Oracle)
  • org.hibernate.dialect.H2Dialect (for H2) (we do not recommend using a H2 database in production environments)

The same file can also be used to define properties that are helpful for development or debugging purposes.

To log the executed queries use:

hibernate.show_sql=true

Can be quite verbose.