[
https://issues.apache.org/jira/browse/IGNITE-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Magda updated IGNITE-5269:
--------------------------------
Description:
If a field is of a Java enum type, then you can pass the field's value as a
parameter via standard `?` keyword or use enum's literal or ordinal value
directly, as shown in the example below:
// SQL query with the field of Java enum type.
SqlFieldsQuery sql = new SqlFieldsQuery(
"SELECT name FROM Person WHERE role = 'DEVELOPER' or role = 2");
was:
https://ggsystems.atlassian.net/browse/IGN-6533
Documentation:
If a field is of a Java enum type, then you can pass the field's value as a
parameter via standard `?` keyword or use enum's literal or ordinal value
directly, as shown in the example below:
// SQL query with the field of Java enum type.
SqlFieldsQuery sql = new SqlFieldsQuery(
"SELECT name FROM Person WHERE role = 'DEVELOPER' or role = 2");
> [IGNITE-4575] Implement in Ignite wrapper for enums based on H2 user value
> type
> -------------------------------------------------------------------------------
>
> Key: IGNITE-5269
> URL: https://issues.apache.org/jira/browse/IGNITE-5269
> Project: Ignite
> Issue Type: Task
> Reporter: Denis Magda
>
> If a field is of a Java enum type, then you can pass the field's value as a
> parameter via standard `?` keyword or use enum's literal or ordinal value
> directly, as shown in the example below:
> // SQL query with the field of Java enum type.
> SqlFieldsQuery sql = new SqlFieldsQuery(
> "SELECT name FROM Person WHERE role = 'DEVELOPER' or role = 2");
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)