Hello!

You have "fields" list in your QueryEntity, but not "keyFields". I suggest
you add them.

Regards,
-- 
Ilya Kasnacheev


сб, 15 сент. 2018 г. в 18:50, wt <[email protected]>:

> i have setup rmdbs integration with read-through
>
> if i query an empty cache it should read-through from the underlying system
> but that isn't happening i get the following error
>
>
> [16:43:35,351][SEVERE][client-connector-#56%StoxxDataLake%][JdbcRequestHandler]
> Failed to get parameters metadata [reqId=0, req=JdbcMetaPrimaryKeysRequest
> [schemaName=IndexcompositionCache, tblName=INDEXCOMPOSITION]]
> java.lang.IllegalStateException: Ownership flag not set for binary
> property.
> Have you set 'keyFields' property of QueryEntity in programmatic or XML
> configuration?
>         at
>
> org.apache.ignite.internal.processors.query.property.QueryBinaryProperty.key(QueryBinaryProperty.java:269)
>         at
>
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.getPrimaryKeys(JdbcRequestHandler.java:940)
>         at
>
> org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequestHandler.handle(JdbcRequestHandler.java:233)
>         at
>
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:160)
>         at
>
> org.apache.ignite.internal.processors.odbc.ClientListenerNioListener.onMessage(ClientListenerNioListener.java:44)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97)
>         at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>         at
>
> org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
>
>
> here is my configuration file
> StoxxDataLake-server.xml
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t1892/StoxxDataLake-server.xml>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to