Hello,

You have to add '*' to the cache name as follows:

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

Thanks,
S.

вт, 29 янв. 2019 г. в 11:07, mahesh76private <[email protected]>:

> Hi,
>
> I added the below, in node config.xml file. However, SQL table create from
> client side keep complaining that "SQLTABLE_TEMPLATE" template is not
> found.
>
>
> <property name="cacheConfiguration">
>     <list>
>         <bean id="cache-template-bean" abstract="true"
> class="org.apache.ignite.configuration.CacheConfiguration">
>             <property name="name" value="SQLTABLE_TEMPLATE"/>
>             <property name="cacheMode" value="PARTITIONED" />
>             <property name="backups" value="1" />
>         </bean>
>     </list>
> </property>
>
> The only way this works is from Java code, when I use the
> CacheConfiguration.addCacheConfiguration and register the template with the
> cluster.
>
> My need is to set the template in node config xml and ensure it
> automatically resisters the template and there should be no need to
> explicitly set it.
>
> Please let me know, if I am doing something wrong.
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to