[jira] [Created] (IGNITE-3270) GetOrCreateCache method crashes with entity name "Order"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-3270) GetOrCreateCache method crashes with entity name "Order"

Anton Vinogradov (Jira)
Gourab Mitra created IGNITE-3270:
------------------------------------

             Summary: GetOrCreateCache method crashes with entity name "Order"
                 Key: IGNITE-3270
                 URL: https://issues.apache.org/jira/browse/IGNITE-3270
             Project: Ignite
          Issue Type: Bug
         Environment: Windows 8.1 x64, Visual Studio 2015 Professional, C#
            Reporter: Gourab Mitra


The following statement crashes :-
 
              var cache = ignite.GetOrCreateCache<object, object>(new CacheConfiguration
                {
                    Name = _cacheName,
                    QueryEntities = new[]
                    {
                        new QueryEntity(typeof(string), typeof(Order))
                    }
                });
The problem seems to be with the entity name - "Order". The stack trace shows problem with a CREATE TABLE statement. Possible conflict with SQL keyword ORDER.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)