Hello!

Maybe you don't have PERSON2 cache? :)

Regards,
-- 
Ilya Kasnacheev


пн, 20 янв. 2020 г. в 02:47, narges saleh <[email protected]>:

> Hi All
>
> I am using JDBC connection for inserting data into caches specified in my
> config file (via query entities). If I don't enable native persistence,
> everything works fine and I can insert the data into cache/table and query
> the cache/table. But if I enable native persistence, the client dies as
> soon it attempts to create the JDBC connection, using the configuration
> file, with this error:
>
> SQLException: Client is invalid. Probably cache name is wrong.
>
> The connection command is this:
>
> Connection conn = DriverManager.getConnection(
> "jdbc:ignite:cfg://cache=PERSON2:streaming=true:streamingFlushFrequency=
> 2000@file:///opt/ignite/config/query-entity-store.xml");
>
> Any idea what could I be doing wrong?
>
> thanks.
>

Reply via email to