Please, try use other JDBC driver version. You mNge it by JDBC connections string. Checkout this article [1].
[1] https://apacheignite.readme.io/docs/jdbc-driver#jdbc-connection On Tue, Jul 18, 2017 at 7:02 PM, limabean <drobin1...@gmail.com> wrote: > Here is the requested example code demonstrating one of the methods that is > failing to write to Ignite. > The readme shows the full stack trace appearing from the app as it runs in > Spark 2.1 > > I first run the CreateIgniteCache program and verify using a DB tool that > the Cache and Table are successfully created in Ignite as expected. The DB > tool shows a "schema name" (cache name) of TESTCACHE and a single table in > the schema called SAMPLETABLE. SAMPLETABLE has the 3 columns with the > correct types as expected. > > Next I run the TestCacheWrite2 program which receives a > >>> java.sql.SQLFeatureNotSupportedException: Updates are not supported. > > exception (with this particular example, I was able to work through the > "cannot connect" error I repeated previously. > > This is on apache-ignite-2.0.0-src built from source. It is my > understanding this version supports updates. > Updates (data inserts, etc) work from Java programs. Spark is failing. > > Thanks for the help and advice. > > Sample Project: > https://github.com/graben1437/SparkToIgniteTest/tree/master > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Inserting-Data-From-Spark-to-Ignite-tp14937p15066.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.