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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to