Can u pls explain How Hibernate is good rather than jdbc
Printable View
Can u pls explain How Hibernate is good rather than jdbc
In what context? What platform? What technology? What are you trying to achieve?
It's like asking why a Jeep is better than a bus.
lol... do u mean 'can't with a Jeep' or 'can with a Jeep'?
And except for capacity(which depends on who's buying anyways), I would say a Jeep was better than a Bus:p hehehe
Alright. Back to topic!
From the little I know, JDBC is a connectivity driver to help you plug your J2ee or java application to any database. Hibernate, [Isnt Hibernate supposed to be a database mgmt software?] Gotta check that.
I checked. And Hibernate is not a database like I thought, but an open source tool for connecting Java applications to a DBMS but with a better feature : mapping java objects/classes to specific database data. Thus you dont have to bother about writing java code to specify this as opposed to JDBC. [I belve u know this]
Here's a helpful link for comparision:[mindfiresolutions.com/mindfire/Java_Hibernate_JDBC.pdf] - Im not allowed to post links yet, so prefix http, colon, two forward slashes and www
I leave the rest to the experts :D