Hello,

 

This problem is very estrange and I can�t give a good example or explanation but I�m lost and I don�t know how to fix it or how to workaround it.

 

I run a java program that modifies a record. First time it works fine, next times it gives me this error:

 

org.exolab.castor.jdo.ObjectModifiedException: Transaction aborted: Object of type com.costes.base.Paquete with identity 497 has been modified by a concurrent transaction (cache entry is different from database row)

 

I stop the database, re-boot the machine and It gives me the same error when I run it. I have to delete the record manually from the DataBase and Insert it again, then it works again but only one time…

 

It�s crazy, I don�t now what to do next, I try to take off the cache, different locks, it doesn�t make any difference.

 

Can anyone tell me what can I do, is there anything to debug or to look what castor is doing? What dues it have in the cache, anything that can give me a clue.

 

Thanks a lot and best regards.

Gonzalo Abollado.

Reply via email to