tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwaastad <>
Subject Re: question around entityManager.flush
Date Sat, 24 May 2014 17:04:58 GMT
A little late on this one:

I guess you can do two things:

1. lookup entity, set property (no need for edit/merge)

2. merge the passed-over entity (since its already in the

(I usually lookup the passed-over entity just to validate and throw a custom
exception if something fishy is going on :-) )

br hw

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message