Oh, sorry in using jboss. i dont want to use jbos specific ql (jboss-ql) On Tue, 2003-10-07 at 15:04, Konstantin Priblouda wrote: > --- David Nielsen <[EMAIL PROTECTED]> wrote: > > 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... > > Nobody will tell you what's wrong, unless you tell > us what application server you are using. > > And please remember, that xdoclet does not cares what > you write into your query - it's passed verbatim into > DD, and then it's up on your app server to handle > it... > > regards, > > ===== > ----[ Konstantin Pribluda ( ko5tik ) ]---------------- > Zu Verstrkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] fr die Festanstellung. > Arbeitsort: Mainz > Skills: Programieren, Kentnisse in OpenSource-Bereich > ----[ http://www.pribluda.de ]------------------------ > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > 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 >
------------------------------------------------------- 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
