tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AndyG <andy.gumbre...@orprovision.com>
Subject Re: Optimi sticLockException: Optimistic locking errors were detected when flushing to the data store
Date Wed, 23 Jan 2013 08:33:21 GMT
Are you setting the 'openjpa.RuntimeUnenhancedClasses' property to
'supported', if so don't?

You could also try using
@TransactionManagement(TransactionManagementType.BEAN) and manage your own
transaction.

@Resource
private UserTransaction transaction;

...
transaction.begin();
...
delete
...
transaction.commit();



--
View this message in context: http://openejb.979440.n4.nabble.com/Optimi-sticLockException-Optimistic-locking-errors-were-detected-when-flushing-to-the-data-store-tp4660338p4660352.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message