That should not be happening; can you describe your object model in
more detail? How are you deploying your app?

-Patrick

On Nov 1, 2007 11:21 AM, Marc Siegel <[EMAIL PROTECTED]> wrote:
> 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
>



-- 
Patrick Linskey
202 669 5907

Reply via email to