aspose file tools
The moose likes Object Relational Mapping and the fly likes Hibernate + Dialect Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Hibernate + Dialect " Watch "Hibernate + Dialect " New topic
Author

Hibernate + Dialect

Maneesh Chauahn
Ranch Hand

Joined: Mar 06, 2006
Posts: 48
HI All,
What is the advantage of using the Dialect in the hibernate config file. As i removed the Dialect from the config file and able to insert the value in the database.

So can any one please tell me what is advantage of using the dialect

Thanks
Maneesh
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The Dialect encapsulates the vendor-specific sql that Hibernate has to use. I'd assume Hibernate is defauling to a generic dialect (probably containing just ANSI SQL) and you are getting away with not specifying one because you are yet to do something that requires vendor-specific sql.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
IntelliJ Java IDE
 
subject: Hibernate + Dialect
 
Threads others viewed
Hibernate - How to retrieve data from the database
org.hibernate.InvalidMappingException: Could not parse mapping document from resource customercare.h
junk values for the id property
Hibernate query
Migration of Hibernate 2.0 to 3.0
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture