Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate + Dialect

 
Maneesh Chauahn
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic