Looking at weblogic-cmp-rdbms-jar-xml.j more carefully, I see it does look at the @ejb:finder tags and uses the parameter "query" for the weblogic-QL. But it only does this for EJB 2.0 deployments!!! Gaaaah...
-Pat >From: "Patrick Lightbody" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [Xdoclet-user] Anyone ever see this? (standardize the tags!) >Date: Mon, 18 Feb 2002 01:05:48 -0800 > > >Uhh.. one other question: >Finders in with WL in Xdoclet... from the looks of >weblogic-cmp-11-finders.j, it appears that the bean is expected to actually >have the finder method written out in code and doesn't look at @ejb:finder >at all! Is this really the case? > >Yet another reason why the tags should be standardized as much as possible. >This is almost as bad as if I didn't have xdoclet at all! :P > >-Pat > >>From: Daniel Bratell <[EMAIL PROTECTED]> >>To: "Patrick Lightbody" <[EMAIL PROTECTED]>, >>[EMAIL PROTECTED] >>Subject: Re: [Xdoclet-user] Anyone ever see this? >>Date: Mon, 18 Feb 2002 09:49:40 +0100 >> >>At 00:41 2002-02-18 -0800, Patrick Lightbody wrote: >>>I'm trying to deploy something using Xdoclet. The ejbtask tag in ant has >>>the spec set to 1.1, and all the WL XML files generated are pointint to >>>1.1 DTDs, so why is this error still coming up? >>... >>>"The bean is using container managed persistence version 1.x, but the >>>bean's persistence type is using version 2.x. The types must be the >>>same." >> >>I found out the hard way that XDoclet doesn't support CMP 1.1 beans in >>Weblogic. Look at your weblogic-ejb-jar.xml file. There you'll find: >> >> <persistence-type> >> <type-identifier>WebLogic_CMP_RDBMS</type-identifier> >>---> <type-version>6.0</type-version> >> >><type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage> >> </persistence-type> >> >>The line with 6.0 tells Weblogic to use the CMP2 engine. For CMP 1.1 that >>should be 5.1.0. That 6.0 is hardcoded into XDoclet's templates. (Consider >>this a bug report). >> >>/Daniel >> >> >>_______________________________________________ >>Xdoclet-user mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >_______________________________________________ >Xdoclet-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/xdoclet-user _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
