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

ASF GitHub Bot updated CAY-2447:
--------------------------------
    Labels: pull-request-available  (was: )

> crypto support for LocalDateTime
> --------------------------------
>
>                 Key: CAY-2447
>                 URL: https://issues.apache.org/jira/browse/CAY-2447
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 4.0.B2
>            Reporter: Vital Zanko
>            Assignee: Nikita Timofeev
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.M3
>
>
> 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)

Reply via email to