----- Original Message -----
From: Gwyn Evans <[EMAIL PROTECTED]>
Date: Friday, June 14, 2002 12:10 pm
Subject: [Xdoclet-user] WebLogic CMP

> Hi,
> 
>  I'm just starting to use XDoclet with CMP and WebLogic and have run
>  into a problem with CDATA.
> 
>  The problem is that if I have something like:-
> 
> * @ejb:finder
> *    signature="BeanLocal findGt1()"
> *    query="SELECT OBJECT(b) FROM Bean AS b WHERE b.count > 1"
>  
>   The ejb-jar.xml has this wrapped in a CDATA tag but the QL is
>   duplicated in the weblogic-cmp-rdbms-jar.xml where it's not
>   wrapped.
> 
>   Q1) Any comments?
>   

The guy who wrote it (me) was lazy.

>   Q2) Any way of stopping XDoclet generating the duplicated QL in the
>       weblogic-cmp-rdbms-jar.xml file OR being able to specify the
>       alternative QL explicitly ?
> 

I suggest we add a <vendor>-query attribute to the @ejb:finder tag that 
can be picked up when generating vendor-specific DDs.

Can you add a feature-request about this?

Aslak

>       [I'm guessing that it's duplicating the QL to allow for
>       WebLogic extensions but it seems odd to me that I don't specify
>       the generic QL in the ejb:finder tag and any extension-
> using QL
>       in a vendor-specific tag, in case need to switch to alternative
>       vendors. Maybe assuming that if using vendor-specific then
>       can't switch easily anyway?]
> 
>   I'll try & get & build from CVS to check current state but 
> could be
>   a while, as currently on JDK1.3.   those first...
> 
> -- 
> Best regards,
> Gwyn                          mailto:[EMAIL PROTECTED]
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - http://devcon.sprintpcs.co
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to