Hi Folks,

When I was using JBoss, I used @PreUpdate methods to record the time
of last modification for many entities.

Using OpenJPA with SQL=TRACE, it appears that all entities that are
queried during a transaction are committed at the end of that
transaction, even if not modified. This is a problem for me because
the @PreUpdate is being called and updating the modification time,
when in truth no modifications were made, only queries.

Can anyone shed any light on this problem?

Thanks in advance,
-Marc

Reply via email to