IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes one-to-one hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "one-to-one hibernate" Watch "one-to-one hibernate" New topic
Author

one-to-one hibernate

dachepalli subbarao
Greenhorn

Joined: May 18, 2007
Posts: 1
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
 
 
subject: one-to-one hibernate
 
Threads others viewed
ejbActivate() and ejbPassivate() methods are called million times!!! :(
Physical Data Modelling diagram - (1 - m) relationship
Cannot understand MySqlQuery Working.
Problem in adding new child to a parent - LazyInitializationException
Mapping Collection in Hibernate.
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture