You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Tiago Marques Godinho (Jira)" <ji...@apache.org> on 2024/06/03 10:29:00 UTC
[jira] [Created] (IGNITE-22393) FieldAccessor does not set the correct BinaryMode when a TypeConverter is used to Map a POJO field
Tiago Marques Godinho created IGNITE-22393:
----------------------------------------------
Summary: FieldAccessor does not set the correct BinaryMode when a TypeConverter is used to Map a POJO field
Key: IGNITE-22393
URL: https://issues.apache.org/jira/browse/IGNITE-22393
Project: Ignite
Issue Type: Bug
Affects Versions: 3.0.0-beta1
Reporter: Tiago Marques Godinho
I'm using the Mapper API with a TypeConverter to convert a POJO field into and Instant/Timestamp column.
However, the FieldAccessor code is very strict. It tries to find the binary mode directly from the original field type (in the POJO) instead of the target type of my TypeConverter.
[Here is the culpit|[https://github.com/apache/ignite-3/blob/ceac03f6b8574c1cbe23aed64ce082a6a4978ea1/modules/marshaller-common/src/main/java/org/apache/ignite/internal/marshaller/FieldAccessor.java#L73-L79]]:
--
This message was sent by Atlassian Jira
(v8.20.10#820010)