Thanks. I tried this and I do now get the inherited CMP fields mentioned in
my jbosscmp-jdbc.xml file, but there is no mention of them in the
ejb-jar.xml. Does anyone know if this is correct for XDoclet? Consequently,
JBoss fails to deploy the EJBs with the following exception ...

<snip>
17:28:10,083 WARN  [ServiceController] Problem starting service
jboss.j2ee:jndiName=ejb/rtds/LocalActiveRuleEntity,service=
B
org.jboss.deployment.DeploymentException: CMP field not found :
fieldName=timestamp
</snip>

... where timestamp is the inherited property.

Also I notice the generated VOs do not make the inherited property
available. Is there a way to make that happen?

Thanks,
Craig



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rupp,Heiko
Sent: Tuesday, December 17, 2002 3:59 AM
To: Craig Dickson; '[EMAIL PROTECTED]'
Subject: RE: [Xdoclet-user] Inherited CMP fields


Hi,

>I have a generic entity bean that I use as the parent class of many of
>my entity beans. The generic parent class has a property that needs to
>be persisted using CMP along with the additional properties of the
>subclass. The field of the parent class does not show up in the ejb-
>jar.xml. The parent class is tagged with xdoclet tags, but I do not
>actually run XDoclet explicitly over the parent class. Is this what a
>I am missing? Confused ...

In my understanding, you should run Xdoclet over the parent
class after you tagged it with a @ejb.bean generate="false"
attribute.
I never tried that myself so far ..

  Heiko
-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to