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