Hi 

i am running systest job locally using local oracle setup. It run fine but 
on jenkins same systest job is failing with following error.

"javax.persistence.OptimisticLockException: 
org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect)".

The thing is that i check the value manual, its unique value and not being 
used by other test parallelly. Show the logs.

I know we have different approach to resolve that. i.e using Optimistic 
lock or using @Version. But i am kind of resolving test case and not 
changing production code.

The thing is why its running fine locally and not on jenkins. Also its 
giving delete problem with table with join tables.


Please help to resolve that

Regards
Nand


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1c56bd30-3c1c-4736-921c-6816f6f23716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to