• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate dto

 
rahulash sharma
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Hibernate . I want to know that if I implement Hibernate in my application in place of JDBC then is there any need of DTO and DAO .

Thanks
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Certainly. The DTO becomes a Hibernate entity then. The DAO is still important as a port between Java and the database. You only need to reimplement the DAO class with the Hibernate API instead of the JDBC API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic