Hi,

I have the following scenario:
1. I create a cache using the java API with a CacheConfiguration with a
QueryEntity<Key, Value> and some fields on it.
2. I put some data into that cache using SQL INSERT statements with the JDBC
Thin driver
3. I read this data using the java API with IgniteCache.get(Key)

If the fields on the QueryEntity are in the same order than the declared
fields of the Key class, everything works fine.

But if the fields on the QueryEntity are in a different order than the
declared field of the Key class, then I'm unable to read my data using
IgniteCache.get(Key) on step 3

The documentation says that the order of the fields on QueryEntity defines
the order of the returned columns for select * statements. But it says
nothing about inserts.
Am I missing something, or is this correct behavior?

I've attached a main(String[]) that reproduces the issue:  Main.java
<http://apache-ignite-users.70518.x6.nabble.com/file/t2439/Main.java>  
I'm using Ignite 2.9.1

Regards,

Benjamin





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

Reply via email to