|
Version 3.0
I was hoping to use the postFlush interceptor method, whose documentation reads:
Called after a flush that actually ends in execution of the SQL statements required to synchronize in-memory state with the database.
What I'm seeing, however, is that this method will be called even in the following case:
User u = (User) session.get(User.class, id);
session.update(u);
So even when no SQL statements are issued, I'm getting the postFlush. Is this a bug? Did the behavior of this method intentionally change at some point?
Thank you in advance.
Phill
|