IGNITE-7465 .NET: Fix SqlDdlExample failure with standalone node
authorPavel Tupitsyn <ptupitsyn@apache.org>
Thu, 18 Jan 2018 12:55:49 +0000 (15:55 +0300)
committerPavel Tupitsyn <ptupitsyn@apache.org>
Thu, 18 Jan 2018 12:55:49 +0000 (15:55 +0300)
modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs

index 3f72842..64d267d 100644 (file)
@@ -53,7 +53,8 @@ namespace Apache.Ignite.Examples.Sql
                 // will appear in future versions, JDBC and ODBC drivers do not require it already).
                 var cacheCfg = new CacheConfiguration(DummyCacheName)
                 {
-                    SqlSchema = "PUBLIC"
+                    SqlSchema = "PUBLIC",
+                    CacheMode = CacheMode.Replicated
                 };
 
                 ICache<object, object> cache = ignite.GetOrCreateCache<object, object>(cacheCfg);