This one time, at band camp, Charles Canning said:
CC>This was an error someone else had before, but I can't seem to get access to
CC>the messages. I have an object that implements TimeStampable. The table
CC>consists of 3 blobs and a varchar (same code as earlier post). IT is set to
CC>no cache. I have code that does a get from the database in a single
CC>transaction, then I populate the object and perform an update (another
CC>transaction). When I do, I get this exception
CC>
CC>org.exolab.castor.jdo.ObjectModifiedException: Timestamp mismatched!
CC> at
CC>org.exolab.castor.persist.ClassMolder.update(ClassMolder.java:1820)
CC> at org.exolab.castor.persist.LockEngine.update(LockEngine.java:638)
CC> at
CC>org.exolab.castor.persist.TransactionContext.markUpdate(TransactionContext.j
CC>ava:1000)
CC> at
CC>org.exolab.castor.persist.TransactionContext.update(TransactionContext.java:
CC>1074)
CC> at
CC>org.exolab.castor.jdo.engine.DatabaseImpl.update(DatabaseImpl.java:381)
CC> at
CC>com.perfectbachelor.database.AbstractCastorJDODatabase.update(Unknown
CC>Source)
CC> ....
CC>
CC>It appears to have something to do with long transactions. Does anyone know
CC>a solution to this problem?
Chuck,
I noticed in your previous message that you have not disabled dirty checking
for the fields of type BLOB. Please see the following info regarding BLOBs:
http://castor.exolab.org/types.html#BLOB-and-CLOB-Types
I'm not sure of any issues surround LOBs and long transactions.
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://incubator.apache.org/projects/geronimo.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev