hm. in my last download of ojb-1.0rc5 (dec. 2003) there was no docu about
the xdoclet support. however I got it from the cvs version  and it works
now. thanks.  

Dirk

-----Urspr�ngliche Nachricht-----
Von: Thomas Dudziak [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 2. M�rz 2004 10:54
An: OJB Users List
Betreff: Re: AW: AW: Extent

On Tue, 2 Mar 2004, Dirk Manske (Service Respond) wrote:

> thanks for the answer Tom. I need more information about the 
> ojb.modify-inherited tag. You say I could control which attribute will 
> be picked up. How? Here is the scenario: The BaseClass holds all the 
> "common attributes". For some objects (extended from BaseClass) all 
> these common attributes have to be persisted while for some other 
> objects (also extended from BaseClass) only a few of them have to be 
> persisted. The problem is, that the generated repository now holds all 
> the common attributes for each class-descriptor but I do not need them 
> for each class. could the ojb.modify-inherited tag help me in this 
> case?  An example of how to exclude an attribute for specific classes 
> would be great. thx,

There is one in the docs for the xdoclet-module. Bascially, you state the
inherited feature that you want to modify (via the name) and then you have
'ignore="true"' for it.
You should be careful with modification (though ignore should be safe) as
the xdoclet-module probably allows far more than OJB.
 
Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to