Hi,
Is there any reason as to why this doesn't get set during a create...
objects are persisted at this point but as timestamp isn't set during a
create when an update date is done an error is thrown (sorry can't remember
the error as I have patched the code for now and hence no more throws) due
to timestamp set to 0 and a new keygen/identity is created for the object...
I have added the following (copied kindly from the load() method in the
same class) to persist.ClassMolder at approx line 897...
// set the timeStamp of the data object to locker's timestamp
if ( object instanceof TimeStampable ) {
((TimeStampable)object).jdoSetTimeStamp( locker.getTimeStamp() );
}
If I have this wrong, can someone let me know... I would like to create an
object and not have to load it during the create process, within my code
that is, which seemed the only alternative...
shane
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev