Hi,

anonymous wrote : Your EJB-QL query must refer to the bean, not the table in the FROM 
clause. 

In the FROM clause, ContainingFamily is not the table name but the 
<abstract-schema-name> content in the ejb-jar descriptor.

anonymous wrote : * @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" */ 

To avoid any conflict between the bean names and the table names, I have added "Bean" 
to all the bean names. But I get the NullPointerException in the two cases. I don't 
understand why!

Am I the only one having this problem ?

It's very important , I have lost one week with this problem!

Thanks!

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

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


-------------------------------------------------------
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