wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Clarification in Relationships in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Clarification in Relationships in hibernate" Watch "Clarification in Relationships in hibernate" New topic
Author

Clarification in Relationships in hibernate

vipul bondugula
Ranch Hand

Joined: Oct 14, 2010
Posts: 218
Hi ,

I am a newbie to hibernate. I am having M_COM_ENQRY_FORM,M_COM_GNDR,M_COM_ENQRY_QLFCTN tables...


M_COM_ENQRY_FORM (Columns:-ENQFORM_GNDR_N_ID,ENQFORM_QLFENQRY_N_ID) refers to both M_COM_GNDR (GNDR_N_ID),M_COM_ENQRY_QLFCTN(QLFENQRY_N_ID)

i won't insert in the master tables gender and qualification. Already data is present.

So, when i am inserting and when using join queries i refer to data in master tables. i mean parent referencing


what is the procedure of writing hibernate mapping files. can anyone of you please provide me information ...

Thanks & Regards,
Vipul Kumar.


Thanks
Vipul Kumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clarification in Relationships in hibernate
 
Similar Threads
OneToOne shared PK isn't setting key in related table during insertion
caching master tables static data
Update in master table Child Table problem
Hibernate : Association
Should a project has only one Servlet?