• Post Reply Bookmark Topic Watch Topic
  • New Topic

Queries on Hibernate?

 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Members,
I have the below set of queries.

1> Why are we using Hibernate to interact with DB ?
2> Advantages of Hibernate ?
3> Disadvantages of Hibernate,If any.?
4> Suppose i have 2 tables ,customer table and customer_details table
how will i prepare my .hbm.xml file for the same.?

Help provided for the answers will be highly appreciated

--
Deepak Lal
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Searching through this forum will get you most of these answers. I suggest you start with that.
 
Deepak Lal
Ranch Hand
Posts: 561
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul Sturrock ,
I was unable to get the answers for the above query,can you please help me with the answers as im a beginner for hibernate.

Thanks
Deepak Lal
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!