Hi there... I have 2 EJB's
1. LanguageBean 2. DVDRegionCodesBean in LanguagesBean i have: /** * @ejb.interface-method * @ejb.relation * name="Languages-DVDRegionCodes" * role-name="Languages-Has-one-DVDRegionCode" * target-ejb="DVDRegionCodes" * target-role-name="DVDRegionCodes-belongs-to-Languages" * target-cascade-delete="no" * @jboss.relation * related-pk-field="regionCode" * fk-column="DVDREGION" * fk-contraint="true" */ public abstract DVDRegionCodesLocal getDVDRegion(); i then ty to make a finder that finds all Languages the have a specific regioncode. eks: region 2 i then creates the folowing xdoclet @ejb:finder comment: * @ejb:finder * signature= "java.util.Collection findByDVDRegion(java.lang.Integer dvdRegion)" * query ="SELECT OBJECT(l) FROM Languages AS l,IN(l.DVDRegion) AS r WHERE r = ?1" and whats wrong... Regards, David ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
