A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
I agree. Here's the link:
subject: Hibernate Join
Prop-ref not working????????
Join table with DetachedCriteria
out of range error
Hibernate : many to many mapping and inner join query results.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014