wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate" Watch "hibernate" New topic
Author

hibernate

priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Hi,

What make hibernate Database independent?


Thanks in advance
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

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 :-)


http://plainoldjavaobject.blogspot.in
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Thank you Lalit
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

your welcome ... :-)
bala nannaka
Ranch Hand

Joined: Apr 02, 2007
Posts: 49
Well explained Lalith
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hibernate