Nouguier Olivier wrote:

Yes that's working

I'm debugging the job of a collegue, and I didn't find your solution. I
think they have found (more) natural to try make a selection on the
fields to override.


I've not hack the xdoclet-ojb yet, but I suppose:

         1: with   include-inherited='true' you copy the fields from
inherited class

Yes, per default (include-inherited='true') the XDoclet OJB module will copy all features from the class descriptors of the super classes into the current class descriptor.


2: with ignore true you then remove ignored field from list

That's one of the applications of @ojb.modify-inherited. This tag is basically used to modify one of the inherited features for the current class descriptor. You can change almost anything, e.g. the jdbc type or the column. Or you can set ignore='true' to state that you do not want this field in the current class descriptor.


Tom


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



Reply via email to