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

Miguel Costa commented on DBUTILS-150:
--------------------------------------

{quote}
Is the blob in the db a serialized copy of fldMap from a protobuf message?
{quote}

Maybe that would have been smart but is just a JSON object generated using 
[JsonFormat|https://protobuf.dev/reference/java/api-docs/com/google/protobuf/util/JsonFormat]

I basically created my "Property" handler for Blobs that converts them into 
Json and from the JSON I return a 
[Message|https://protobuf.dev/reference/java/api-docs/com/google/protobuf/Message]
 entity with the property handler.


> 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, 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