Is it possible to write a base class that would auto load a class (assuming
the identity value has been populated)? As it is,
databaseObj.getIdentity(obj) returns null on a newly created object with its
identity set. I figure this is because the object has not been added to the
TransactionContext, but that process looks complex. I would like to know if
it is possible before proceeding down that path.

Any suggestions on this? I guess what I want to know is how to make an
object return its identity through the getIdentity() method, even if it has
not been previously loaded by that database object. Or maybe that is not
what I need to know. Any information would be appreciated.

-Al Byers

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to