What are dialects in hibernate?

What are dialects in hibernate?

I am beginner in Hibernate. I just heard something about the dialects. Can anyone explain me What are dialects in hibernate?

Thanks

View Answers

December 2, 2013 at 7:25 PM

HI,

Hibernate is database independent ORM tool. You can use any of the supported database with Hibernate.

dialects are the classes specific to a database and it generates the query for that database.

Check the list of Dialect in Hibernate for more details.

Thanks


December 2, 2013 at 7:25 PM

HI,

Hibernate is database independent ORM tool. You can use any of the supported database with Hibernate.

dialects are the classes specific to a database and it generates the query for that database.

Check the list of Dialect in Hibernate for more details.

Thanks


December 4, 2013 at 11:31 AM

Hi,

Actually the Hibernate contian some object oriented queries(HQL and Criteria). The hibernate use these dialect classes to convert the object oriented queries into corresponding database sql queries.

some dialect classes in hibernate:

org.hibernate.dialect.OracleDialect MSQLDialect SybaseDialect ect.

if whenever we use the OracleDialect with oracle credentials(driver class,url,username and password) in hibernate configuration file(hibernate.cfg.xml), then the hibernate convert the HQL adn Criteria object queries into oracle sql queries whenever we call the buildSessionFactory() method by using Configuration class object.

Ads









Related Tutorials/Questions & Answers:
What is the main feature of Hibernate3?
What are dialects in hibernate?
Advertisements
Feature of Hibernate3
Hibernate dialects list
All Dialects in Hibernate
Maven dependency for org.grails.plugins - hibernate5 version 7.0.5 is released. Learn to use hibernate5 version 7.0.5 in Maven based Java projects
Hibernate 4 AnnotationSessionFactoryBean
what is bit
What is procedure
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is collections?
what are indices?
What is Hibernate
What is Hibernate
What is Hibernate
What is Hibernate
What is Externalizable?
What is the % operator?
What is casting?
What is DataAccessException?
What is IOC ?
What is SQLExceptionTranslator?
What are Struts?
What is WAP?
What is an Abstract Class and what is it's purpose?
What is CRM?

Ads