openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject DB2 and "FOR UPDATE OF" clause
Date Thu, 06 Sep 2007 20:28:44 GMT
Hi,

I'm seeing SQL like so:

SELECT  t0.ID, t0.VERSN, t0.STRINGFIELD FROM SIMPLEPERSISTENTCLASS t0
FOR UPDATE OF

Is this valid DB2 SQL? I'm using a DB2 database that returns SQL08016
from a call to getDatabaseProductVersion(). I'm guessing that the
checks for the FOR UPDATE clauses are getting tripped up somewhere.
Any suggestions about what it should be for this version of DB2?

-Patrick

-- 
Patrick Linskey
202 669 5907

Mime
View raw message