cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2019) Optimistic locking always fails on CRYPTO columns
Date Mon, 29 Jun 2015 20:38:04 GMT
John Huss created CAY-2019:
------------------------------

             Summary: Optimistic locking always fails on CRYPTO columns
                 Key: CAY-2019
                 URL: https://issues.apache.org/jira/browse/CAY-2019
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.0.M2
            Reporter: John Huss
            Priority: Minor


If you have optimistic locking turned on for columns that are configured to be encrypted (named
CRYPTO_*) then updates to those rows will always fail because it uses the unencrypted value
to check the optimistic locking, ie. WHERE encryptedColumn = <unencryptedValue>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message