cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vital Zanko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2447) crypto support for LocalDateTime
Date Thu, 02 Aug 2018 14:43:00 GMT
Vital Zanko created CAY-2447:
--------------------------------

             Summary: crypto support for LocalDateTime
                 Key: CAY-2447
                 URL: https://issues.apache.org/jira/browse/CAY-2447
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 4.0.B2
            Reporter: Vital Zanko


java.time.LocalDateTime is not being encrypted. 

org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.objectToBytes does
not contain java.time.LocalDateTime:
{code:java}
java.lang.IllegalArgumentException: The type java.time.LocalDateTime for attribute DbAttr:
VARBINARY CRYPTO_birth_date[512] has no object-to-bytes conversion
at org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.createEncryptor(DefaultValueTransformerFactory.java:118)
at org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.encryptor(DefaultValueTransformerFactory.java:103)
at org.apache.cayenne.crypto.transformer.value.LazyValueTransformerFactory.encryptor(LazyValueTransformerFactory.java:43)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message