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
PersistencyContext)

(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: 
http://openejb.979440.n4.nabble.com/question-around-entityManager-flush-tp4669413p4669641.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to