[
https://issues.apache.org/jira/browse/IGNITE-22393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tiago Marques Godinho updated IGNITE-22393:
-------------------------------------------
Description:
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|#L73-L79]]
was:
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]]:
> 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
> Priority: Major
> Labels: ignite-3
>
> 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|#L73-L79]]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)