openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Cattelan <netman...@libero.it>
Subject Re: N query problem with @Version
Date Tue, 15 Feb 2011 17:17:18 GMT

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 = ? 
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/N-query-problem-with-Version-tp6027619p6028445.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message