Guys,

While working on [https://issues.apache.org/jira/browse/IGNITE-2041]
I found that we use deprecated code in JDBC cache store examples.

Correct way to configure JDBC cache store is to
use CacheJdbcPojoStoreFactory + specify dataSource bean name.

So I would like to add following bean into example-default.xml:

<!-- Datasource for sample in-memory H2 database. -->
<bean id="h2-example-db" class="org.h2.jdbcx.JdbcDataSource">
 <property name="URL" value="jdbc:h2:tcp://localhost/mem:ExampleDb" />
 <property name="user" value="sa" />
</bean>

This will allow to run multi nodes examples when one node started from IDE,
and another from ignite.sh

Any objections?

-- 
Alexey Kuznetsov
GridGain Systems
www.gridgain.com

Reply via email to