openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: N query problem with @Version
Date Tue, 15 Feb 2011 17:33:38 GMT
How are you enhancing your Entities?

Thanks,
Rick

On Tue, Feb 15, 2011 at 11:17 AM, Diego Cattelan <netmaniac@libero.it>wrote:

>
> Update:
>
> even removing inheritance from BasicEntity the behaviour doesn't change,
> only the query for retrieving rowVersion changed
>
> SELECT t0.rowVersion
>    FROM ana_anagrafica t0
>    WHERE t0.id = ?
>
> using inheritance it is
>
> SELECT t0.rowVersion
>    FROM ana_custom t0
>    WHERE t0.id = ? AND t0.id = ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message