Re: SQl Fields Query Using Java date

2018-08-17 Thread siva
Yes,I came the reason ,i have changed already existing object field type(string to date ) which ignite don't support ,that is the reason its trowed serialization exception . Thanks *akurbanov *for your support. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: SQl Fields Query Using Java date

2018-08-14 Thread akurbanov
Hi, Do you have full stacktrace or a minimal reproducer of the issue? There should be a reason that your object is not being correctly serialized, I've just tried a simple example with java.util.Date and it works just fine, PFA sample Java code snippet. IgniteDateFieldExample.java

Re: SQl Fields Query Using Java date

2018-08-14 Thread siva
Thank You for reply What are the classes for Date that you are using and what API are you using to execute queries? Also please post stacktrace that you observe. What are the classes for Date? using java.util Model Class --- Class Employee { String name; String address;

Re: SQl Fields Query Using Java date

2018-08-14 Thread akurbanov
Hi, What are the classes for Date that you are using and what API are you using to execute queries? Also please post stacktrace that you observe. You might check some tests to see how it works in Ignite, for example: IgniteCacheUpdateSqlQuerySelfTest.java

SQl Fields Query Using Java date

2018-08-14 Thread siva
Hi, How to query Ignite based on date type (uisng sql fields query)?Is it ignite support,if so do we need to add any configuration? I was trying to put java object that contains a Date field, its throwing an serialization Exception. Class Employee { String name; String address;