[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] UpdateAllQuery and Persist executed in wrongorder!
|
- From: ossaert <decooman@xxxxxxxxx>
- Date: Wed, 29 Jul 2009 01:27:21 -0700 (PDT)
- Delivered-to: eclipselink-users@eclipse.org
Hello,
Andrei Ilitchev wrote:
>
> (is it execute updateAllQuery; then flush, then persist? or
> updateAllQuery,
> then persist, then flush?)
>
The flush seems to play a minor part in this. When I omit the flush, the
result is the same except that I have only ONE update statement after the
INSERT.
Anyway, this code above should lead to the bug. I tried also a Delete-query,
but when the same result. The DELETE is then executed AFTER the INSERT
eventhough it is executed BEFORE the persist in the source-code.
Greetings,
Jan
--
View this message in context: http://www.nabble.com/UpdateAllQuery-and-Persist-executed-in-wrong-order%21-tp24698099p24714670.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.