commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Hall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DBUTILS-124) Introduce SPI to add more column, property handlers
Date Fri, 17 Apr 2015 20:25:00 GMT

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

Carl Hall commented on DBUTILS-124:
-----------------------------------

I have worked this out in a local branch that introduces {{ColumnHandler}} and {{PropertyHandler}}
interfaces and uses this with spi to dynamically load the same column and property handlers
as was hard coded.  All tests are passing but I'd like to add a few more tests to show extensibility
before I commit this upstream.

> Introduce SPI to add more column, property handlers
> ---------------------------------------------------
>
>                 Key: DBUTILS-124
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-124
>             Project: Commons DbUtils
>          Issue Type: New Feature
>            Reporter: Carl Hall
>            Assignee: Carl Hall
>
> The column types and property types handled by {{BeanProcessor}} are hard coded to the
processor.  We already use a common return type, so we could add a services approach using
the spi built into the jdk.  This should also allow other types to be handled outside of {{commons-dbutils}}.



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

Mime
View raw message