[jboss-user] [EJB 3.0] - ejb3.0 join problem
mravikrish
do-not-reply at jboss.com
Thu Jan 15 01:18:22 EST 2009
Hi ,
I am new to ejb3.0. i am having a problem with join queries.
i am having two entities 1.project 2. skills.
project---->skills is many---to----many mapping.
i am associating multiple skills to a project.
my query ---> select distinct(p) from Project p join p.skills s . working fine if projects having different skills.
if two projects having same skills .it is not bringing those projects.
can anybody suggest what is the mistake in my query.
Thanks&Regards
K.ramu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202019#4202019
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202019
More information about the jboss-user
mailing list