Yes! That did it! Now my question is simply, why the star? What does it do. I 
thought I had to use template=<bean id>

Thanks heaps!

./t

-----Original Message-----
From: slava.koptilin [mailto:[email protected]] 
Sent: mandag 15. januar 2018 11.55
To: [email protected]
Subject: Re: SQL Error: Failed to query Ignite

Hi Thomas,

Please try to configure your template in the following way:

<property name="cacheConfiguration">
    <list>
        <bean id="tokenCacheTemplate"
class="org.apache.ignite.configuration.CacheConfiguration">
            <property name=&quot;name&quot; value=&quot;tokenCache&lt;b>**"
/>
            <property name="cacheMode" value="PARTITIONED" />
            <property name="backups" value="1" />
            
            
        </bean>
    </list>
</property>

In that case, you should be able to create a table via thin driver:

CREATE TABLE TOKEN(id LONG, token VARCHAR, PRIMARY KEY (id)) WITH 
template=tokenCache;

Thanks,
Slava.




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

Reply via email to