Register / Login
Object Relational Mapping
Clarification in Relationships in hibernate
posted 4 years ago
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
caching master tables static data
OneToOne shared PK isn't setting key in related table during insertion
Update in master table Child Table problem
Hibernate : Association
Should a project has only one Servlet?