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 Georg Klima <gk...@cosy.sbg.ac.at> on 2005/04/03 02:16:27 UTC
persist an object in the constructor, update an object in the setter
methode
Hello!
1)is it possible to persist an object on creation, let's say in the
costructor it's self?
(like a makePersistent(this) at the end of the constructor)?
2)can an object be updated on invocation of the setter methode?
since I want a transparent usage of ojb, it'd be nice if this is
possible.
persisting and updating an object outside the "class of the object (code)"
works fine just like in the tutorials, but inside it doesn't!
oh, btw. I use odmg.
thanks,
Georg
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org