You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Stanislav Bausov <st...@gmail.com> on 2019/03/14 15:55:35 UTC

How to use enums in sql ‘where’ clause when using Ignite Web Console

I see there was closed issue:
https://issues.apache.org/jira/browse/IGNITE-3595 but my ignite web console
still shows enums like ‘com.example.MyEnum’, and when I try to query by it
get:

Error: Hexadecimal string contains non-hex character: “ENUM_VALUE"; SQL
statement: select _key, * from MyModel where enum_col = 'ENUM_VALUE';
[90004-197]

Re: How to use enums in sql ‘where’ clause when using Ignite Web Console

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

Could you please share your CacheConfiguration where you set the EnumField
as a field in QueryEntity (just to have the same configuration)? I will try
to reproduce your issue and check how it works.

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/