On Tue, 2004-01-06 at 14:03, Neuman, Ben J., A&M IRM wrote:
> I found the problem just after email submission. "cmp-version=2.x" is
> obviously not appropriate for a BMP Entity and was causing the
> problem. 

It may not be appropriate, but that's no reason for it to break things
IMO.  Non-CMP beans ought to either ignore that parameter or at least
throw up an error/warning message.  Please raise a bug report.


Andrew.

>  
> -----Original Message-----
> From: Neuman, Ben J., A&M IRM 
> Sent: Monday, January 05, 2004 3:18 PM
> To: '[EMAIL PROTECTED]'
> Subject: unwanted weblogic remote interfaces. 
> 
> 
> I am using XDoclet to generate a local BMP Entity bean to be deployed
> on Weblogic 6.1. XDoclet works well until I include the tag
> @weblogic.resource-description in my Bean source. For some reason this
> tag causes XDoclet to generate unwanted remote interfaces and a
> primary key class (which I have defined as java.lang.Long). Perhaps
> this is a bug. I am a newbie so perhaps this is my doing.
> Nevertheless, any help would be greatly appreciated.
>  
> /**...
>  * @ejb.bean
>  *  type="BMP"
>  *  cmp-version="2.x"
>  *  name="PositionMainBean"
>  *  schema="PositionMain"
>  *  local-jndi-name="PositionMain"
>  *  view-type="local"
>  *  primkey-field="posId"
>  *
>  * @ejb.pk  class="java.lang.Long"
>  *
>  * @ejb.home generate="local"
> local-class="oasd.hrms.ejb.entity.position.PositionMain.LocalPositionMainHome"
>  *
>  * @ejb.interface generate="local"
> local-class="oasd.hrms.ejb.entity.position.PositionMain.LocalPositionMain"
>  *
>  * @ejb.transaction type="Required"
>  *
>  * @ejb.resource-ref res-ref-name="jdbc/hrmsDS"
>  *  res-type="javax.sql.DataSource"
>  *  res-auth="Container"
>  *
>  * Weblogic 6.1 specific xdoclet tags... this causes remote interfaces
> and pk generation (unwanted)
>  * @weblogic.resource-description jndi-name="weblogic/hrmsDS"
>  *  res-ref-name="jdbc/hrmsDS"  
>  */
> 
> Ben Neuman, Ctr.
> Impact Innovations Group, LLC.
> Contractor
> OASDA(PA) - IRM
> (703) 428-0239
> [EMAIL PROTECTED]
>  
>  


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to