You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/22 12:20:21 UTC

[jira] [Commented] (CAY-2106) cayenne-crypto: allow DI contribution of type converters inside ValueTransformerFactory

    [ https://issues.apache.org/jira/browse/CAY-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430644#comment-15430644 ] 

ASF GitHub Bot commented on CAY-2106:
-------------------------------------

GitHub user atomashpolskiy opened a pull request:

    https://github.com/apache/cayenne/pull/108

    CAY-2106: cayenne-crypto: allow DI contribution of type converters inside ValueTransformerFactory

    ...

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/atomashpolskiy/cayenne CAY-2106

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/108.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #108
    
----
commit e7978a4d34613af4b44115a8ae510e7fe47ff105
Author: Andrei Tomashpolskiy <no...@gmail.com>
Date:   2016-08-22T12:19:02Z

    CAY-2106: cayenne-crypto: allow DI contribution of type converters inside ValueTransformerFactory

----


> cayenne-crypto: allow DI contribution of type converters inside ValueTransformerFactory
> ---------------------------------------------------------------------------------------
>
>                 Key: CAY-2106
>                 URL: https://issues.apache.org/jira/browse/CAY-2106
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>
> Currently we allow to override the entire ValueTransformerFactory. Though most of the time all we care about is adding support for a new Java data type.  Per CAY-2103 we already support a bunch of them, but there are ExtendedTypes, etc. So the goal of this task is making it easy to contribute BytesConverters for various types. Both for DB to/from byte[] and Object to/from byte[] conversions. We may add DI maps for those and user-friendly builder methods.
> Also within ValueTransformerFactory there a 4 maps of BytesConverters. I think we can reduce them to just 2, as currently the pairs are identical.



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