Hello,

Cache template can be configured in the following way

<property name="cacheConfiguration">
    <list>
        <bean id="cache-template-bean" abstract="true"
class="org.apache.ignite.configuration.CacheConfiguration">
            <property name="name" value="cachetemplate*"/>
            <property name="cacheMode" value="PARTITIONED" />
            <property name="backups" value="1" />
        </bean>
    </list>
</property>

In that case, you should be able to create a table: 
CREATE TABLE TEST(id LONG, name VARCHAR, PRIMARY KEY (id)) WITH 
template=cachetemplate;

Thanks, 
Slava.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to