[
https://issues.apache.org/jira/browse/IGNITE-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610918#comment-14610918
]
Valentin Kulichenko commented on IGNITE-1072:
---------------------------------------------
Also error message in this case is not explanatory:
{code}
Caused by: org.h2.jdbc.JdbcSQLException: Hexadecimal string contains non-hex
character: "2013-09-12T11:00";
{code}
Can this be fixed?
> Need to automatically support LocalDateTime class in indexing
> -------------------------------------------------------------
>
> Key: IGNITE-1072
> URL: https://issues.apache.org/jira/browse/IGNITE-1072
> Project: Ignite
> Issue Type: Bug
> Reporter: Valentin Kulichenko
> Labels: Usability
>
> Currently this query doesn't work if {{localDate}} is an instance of
> {{LocalDateTime}}:
> {code}
> SqlFieldsQuery qry = new SqlFieldsQuery(
> "SELECT localDate from MyObject " +
> "WHERE localDate = '2013-09-12T11:00'");
> {code}
> It's not supported because {{LocalDateTime}} is JDK8 class. But probably we
> can use reflection to solve this.
> Also need to go through all classes in {{java.time}} package and see if any
> of them need to be supported as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)