This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes DB Driver used by Hibernate. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "DB Driver used by Hibernate." Watch "DB Driver used by Hibernate." New topic
Author

DB Driver used by Hibernate.

Yatish Sonkeshariya
Greenhorn

Joined: Sep 28, 2011
Posts: 16

Hello All,
Which TYPE of Driver used by Hibernate(Type-1, Type-2, Type-3, Type-4) and Why?


Thanks, Yatish Sonkeshariya
Pune(411001), India
ritvik pandya
Greenhorn

Joined: Jan 14, 2012
Posts: 1

I believe it depends, which driver class we are specifying and the installed JRE . Hibernate is not limited to any particular driver type.
Please correct me if I'm wrong.


God and Java are everywhere ...
http://ritvikpandya.blogspot.com/
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Hibernate uses whichever driver you specify; it could be any type. Everything but type 4 drivers have been out of fashion for quite a while, though.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB Driver used by Hibernate.
 
Similar Threads
Java
Error at session.flush()
Network adaper connection error
could not initialize a collection+ [Microsoft][ODBC SQL Server Driver]Invalid Descrip
Are there 5 types of JDBC Drivers??