This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB Driver used by Hibernate.

 
Yatish Sonkeshariya
Greenhorn
Posts: 16
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Which TYPE of Driver used by Hibernate(Type-1, Type-2, Type-3, Type-4) and Why?
 
ritvik pandya
Greenhorn
Posts: 1
Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Moores
Bartender
Posts: 2894
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic