You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Thomas Dudziak <to...@first.gmd.de> on 2003/05/07 12:00:53 UTC

How to manipulate the type instantiated by OJB

Hi,

I have an application with some OJB-persistent classes for which I'd like
to implement subtypes with additional features. Now the question: Is there
an easy way to tell OJB which classes to actually instantiate ? For
instance, if I have some class DataObject which is persistent with OJB,
how can I tell OJB that it actually (and transparently for the
application) should use ExtendedDataObject whenever a DataObject shall be 
loaded from the database?

Tom