openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Smith <>
Subject Re: remove() followed by persist() inside transaction breaking unique constraint
Date Thu, 09 Feb 2012 21:01:33 GMT
I'm glad to report that I have found a solution - by calling em.flush() and
em.clear() between remove() and persist() operations as follows:

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message