- Dialect class is java class, which contains code to map between java language data type database data type.
- All Dialect classes extend the Dialect abstract class.
- Dialect is used to convert HQL statements to data base specific statements.
Ex: To connect to oracle database we need to specify oracle dialect class in configuration xml as below.
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
No comments:
Post a Comment