Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate

 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What make hibernate Database independent?


Thanks in advance
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Priyanka,

I Hope this will quench your thirst ...

First of all, Hibernate uses dialects to integrate with the database. There's a specific dialect for every possible database (at least I think so).
When you work with hibernate you mostly do not write queries of your own. You use the API provided to talk to the database.
Now, by using the dialects Hibernate can understand the semantics of the database you are connecting to and thus you do not have to bother about it.

Now why is Hibernate Database Independent ... It is because it is not bound to any single database and can be used extensively with most of them even at a single time.
This I think makes hibernate database independent.

cheers :-)
 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Lalit
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your welcome ... :-)
 
bala nannaka
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well explained Lalith
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic