cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2019) Optimistic locking always fails on CRYPTO columns
Date Tue, 09 Jul 2019 15:27:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev updated CAY-2019:
---------------------------------
    Fix Version/s: 4.2.M1

> 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
>            Assignee: John Huss
>            Priority: Minor
>             Fix For: 4.2.M1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)

Mime
View raw message