[orientdb] Re: Required orientdb 2.0.18 jdbc server

2016-09-18 Thread Oleksandr Gubchenko
Hi, you should use the same version of your OrientDB: com.orientechnologies orientdb-jdbc ORIENTDB_VERSION To be used inside your project, simply add the dependency to your pom. See official documentation: http://orientdb.com/docs/last/JDBC-Home.html Il giorno sabato 17 settembre 2016

[orientdb] simple query ist mysterious

2016-09-18 Thread hartmut bischoff
Hi, I was very surprised, that a simple query " select from something where a = b " could be a subject. but 2.3.1 :001 > DB.execute{ "select from contract where strike = 30" } => [] 2.3.1 :002 > DB.execute{ "select from contract where strike between 30 and 30" } => [#"d", "class"=>"option",

[orientdb] Re: simple query ist mysterious

2016-09-18 Thread Oleksandr Gubchenko
Hi, which version are you using? Il giorno lunedì 19 settembre 2016 08:20:41 UTC+2, hartmut bischoff ha scritto: > > Hi, > > I was very surprised, that a simple query " select from something where a > = b " could be a subject. > > but > 2.3.1 :001 > DB.execute{ "select from contract where strik

[orientdb] Re: simple query ist mysterious

2016-09-18 Thread Oleksandr Gubchenko
I've tried it on the latest 2.2.10 and both studio and rest (using postman) give me the right result: {"result":[{"@type":"d","@rid":"#21:0","@version":1,"@class":"contract", "strike":30,"@fieldTypes":"strike=c"}]} Alex. Il giorno lunedì 19 settembre 2016 08:35:01 UTC+2, Oleksandr Gubchenko ha