Hi, Please show your configuration file (at least the section with QueryEntities) or how you configure your cache programmatically.
- Alex 2017-01-25 15:21 GMT+03:00 minisoft_rm <[email protected]>: > dear experts: > I got exception - "Caused by: java.lang.IllegalStateException: Ownership > flag not set for binary property. Have you set 'keyFields' property of > QueryEntity in programmatic or XML configuration? > " > > when my code is following link of > "https://apacheignite.readme.io/docs/jdbc-driver". > > part of my code like below" > ........... > Class.forName("org.apache.ignite.IgniteJdbcDriver"); > this.conn = > DriverManager.getConnection("jdbc:ignite:cfg://cache=CartentriesCache@file:///Users/i306576/hybris.xxx/hybris.6200.ignite18/hybris/bin/custom/ucs/resources/ignite-jdbc.xml"); > > final PreparedStatement stmt =getConn().prepareStatement("update cartentries > set p_quantity=21 where pk=8796093054977"); > stmt.executeUpdate(); > " > > > I feel I followed the instructions... but why not successful? please advise. > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/insert-update-delete-issue-in-Version-1-8-tp10244.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
