Hello,
I'm using 2.0.1 and probably doing something wrong, but I execute some queries using Studio and they run, but the same queries using Java API (no prepared arguments, just plain sql) give me an OCommandSQLParsingException.
See an example below. The same query is sent as POST from the Studio web app and works.
Exception in thread "main" com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #89: Found unexpected keyword '
traverse out('Relation') from #12:4 while ( ( relation = 'type of' or relation is null ) and ( eval('not ($history contains #12:6)') ))
Could you give me some hints why this happens, or how can I avoid it?
Thank you!