Hi,

This was an error someone else had before, but I can't seem to get access to
the messages. I have an object that implements TimeStampable. The table
consists of 3 blobs and a varchar (same code as earlier post). IT is set to
no cache. I have code that does a get from the database in a single
transaction, then I populate the object and perform an update (another
transaction). When I do, I get this exception

org.exolab.castor.jdo.ObjectModifiedException: Timestamp mismatched!
        at
org.exolab.castor.persist.ClassMolder.update(ClassMolder.java:1820)
        at org.exolab.castor.persist.LockEngine.update(LockEngine.java:638)
        at
org.exolab.castor.persist.TransactionContext.markUpdate(TransactionContext.j
ava:1000)
        at
org.exolab.castor.persist.TransactionContext.update(TransactionContext.java:
1074)
        at
org.exolab.castor.jdo.engine.DatabaseImpl.update(DatabaseImpl.java:381)
        at
com.perfectbachelor.database.AbstractCastorJDODatabase.update(Unknown
Source)
        ....

It appears to have something to do with long transactions. Does anyone know
a solution to this problem?

Chuck

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

Reply via email to