A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Joined: Sep 07, 2008
Mar 26, 2009 00:44:07
I am using hibernate and I want to make join using Hbm.xml.
Is there any way to make join using xml and how ??
I have get result using this code.
<join table="item_categories" fetch="join" >
<key column="id" />
But in another place where I am using this xml it gives error.
So, give me solution for same ASAP.
Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD
Joined: Apr 14, 2004
Mar 26, 2009 03:19:51
Have a read of
It is sorta covered in the
JavaRanch Style Guide
subject: Hibernate Join
out of range error
Prop-ref not working????????
Hibernate : many to many mapping and inner join query results.
Join table with DetachedCriteria
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013