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

one-to-one hibernate

 
dachepalli subbarao
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am new to hibernate.

I have two tables called Employee,Dept. In employee table we have a deptid and dept table contains dept information.
Now How to display employee details along with department details.
How to do this? Can any body explain in detail?
If i have to use one-to-one tag ,tell me how to do?

Thanks in Advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic