You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Carl Hall (JIRA)" <ji...@apache.org> on 2015/04/17 22:25:00 UTC
[jira] [Commented] (DBUTILS-124) Introduce SPI to add more column,
property handlers
[ 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)