Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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: 3134
50
  • 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