Iin mapping file of Person class,if i specify a "one to many" relation to
Address class, there will be a field that type is Set<Address> in Person
class,
my problem is...
how to use "where clause" to filter the Address entity in that set...

if the name of that field is "addressSet"
the follow statement can't work...
from Person as p where p.addressSet = 'xxx'
-- 
北科資工 祐正
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to