Hi,

Your EJB-QL query must refer to the bean, not the table in the FROM clause.
So it should be:

  | * @ejb.finder signature = 
"fr.edumedia.interfaces.entity.catalogue.ContainingFamilyLocal 
findByAnimationAndFamily(fr.edumedia.interfaces.entity.catalogue.AnimationLocal 
animation, fr.edumedia.interfaces.entity.catalogue.FamilyLocal family)" 
  | * query = "SELECT OBJECT(c) 
  | * FROM ContainingFamilyBean AS c 
  | * WHERE c.animation = ?1 AND c.family = ?2" 
  | */ 
  | 

Pascal




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835022#3835022

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835022


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to