-1
I’m having trouble when I try to perform an update with JPA with the instruction:
ObjetoDE = thisObjetoBF.update(ObjetoDE);
ERROR:
Exception [EclipseLink-5010] (Eclipse Persistence Services - 2.4.2.v20130514-5956486):
org.eclipse.persistence.exceptions.OptimisticLockException
Exception Description:
The object [ObjetoDE{ChaveUidK=355}]
cannot be merged because it has changed or been deleted since it was last read.
Class> com.xxx.yyyy.domain.admin.entity.TabelaDE
I commented all fields passing to Update only the registry key and even then persists the error, would have any idea ?
Thanks in advance.