• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Important question

 
Sudhakar Reddy Kurakula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Case1: We have JDBC ,using this we can store ojbect in to a database.
Case2: spring JDBC and DAO ,using this we can achieve
Case 3:Hiberante can also be used for storing the ojbects in to databae.

But what are varaiations between them.
can anybody explain me .

Cheers
Sudhakar
 
Kamesh Rao
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate is a popular ORM(Object Relational Mapping) tool which bridges the object oriented programming with relational database ie. you say save your java object and the ORM tool takes care of converting your objects property into database table columns and vice versa.

If you use your first and second approach this conversion step has to be done by yourself.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to our Object/Relational Mapping forum for you where people know more about Hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic