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

Carl Franklin Hall commented on DBUTILS-150:
--------------------------------------------

Another piece here is that dbutils doesn't have a column handler for {{Array}} 
(e.g., 
[ResultSet.getArray()|https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/ResultSet.html#getArray(int)])
 which is the only indexed data type I see in the column getters. Handling a 
data type like this will take more design and implementation as dbutils handles 
column values atomically and not incrementally.

> BeanProcessor populateBean does not work when PropertyDescriptor is of type 
> ----------------------------------------------------------------------------
>
>                 Key: DBUTILS-150
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-150
>             Project: Commons DbUtils
>          Issue Type: Improvement
>    Affects Versions: 1.7
>            Reporter: Miguel Costa
>            Assignee: Carl Franklin Hall
>            Priority: Major
>             Fix For: 1.8
>
>         Attachments: 2023-02-14 10_14_48-Window.png, 2023-02-14 
> 10_17_28-Window.png, IndexedPropertyTestClass.java, TestCopy.java
>
>
> I've been using DB utils for a while to help me handle some custom beans 
> (Protobufs)
> Anyway while debugging an issue I'm facing I noticed that the function 
> BeanProcessor.populateBean is not able to handle 
> PropertyDescriptor when their class is IndexedPropertyDescriptor instead of a 
> normal PropertyDescriptor.
> IndexedPropertyDescriptor  extends PropertyDescriptor so I would expect this 
> to work without any issue, but currently it does not
>  
> I can provide a PR for review with my best approach for it



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to