Hello!

I can see the following in code:

fieldVal = NUMERIC_TYPES.contains(field.getDatabaseFieldType()) ?
val.ordinal() : val.name();

As you can see here, if the column is numeric then ordinal is stored,
otherwise it's name. Which is the one that you want. Just specify the
appropriate databaseFieldType.

Regards,

-- 
Ilya Kasnacheev

2018-08-10 15:35 GMT+03:00 michal23849 <[email protected]>:

> Hi,
>
> I have the same issue with CacheJdbcPojoStore with writeBehind persistency
> in SQL DB.
>
> Is it only possible to store ENUMs as BLOBs or is there any other way to
> map
> them as strings, or anything else?
> I got the ENUMs both in the Key and Value fields.
>
> Regards
> Michal
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to