File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Clarification in Relationships in hibernate
Joined: Oct 14, 2010
Dec 25, 2011 23:59:12
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,
It is sorta covered in the
JavaRanch Style Guide
subject: Clarification in Relationships in hibernate
Hibernate : Association
OneToOne shared PK isn't setting key in related table during insertion
caching master tables static data
Update in master table Child Table problem
Should a project has only one Servlet?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014