Assaf created DBUTILS-146:
-----------------------------
Summary: BeanProcessor processColumn should receive
PropertyDescriptor parameter
Key: DBUTILS-146
URL: https://issues.apache.org/jira/browse/DBUTILS-146
Project: Commons DbUtils
Issue Type: Improvement
Reporter: Assaf
We have a database column which holds List of java google protobuf Messages.
To compute the column value we need to know the type of class the List holds.
This info is available in the PropertyDescriptor... but
BeanProcessor.processColumn method does not receive it, it receives only the
List type (i.e. java.util.List).
If method processColumn received PropertyDescriptor as param we could call the
PropertyDescriptor .getWriteMethod to fetch the java type in the list.
This would allow us to extend BeanProcessor and just implement processColumn
Since PropertyDescriptor is not available we need to override many of the
BeanProcessor methods :(
It would be great if the processColumn method in BeanProcessor receives a param
of type PropertyDescriptor
Thanks!
Â
--
This message was sent by Atlassian Jira
(v8.3.4#803005)