Am 30.06.2016 um 09:29 schrieb Luigi Dell'Aquila:

Hi Hartmut

I see a backslash before a } in your request

  ret= DB.execute { 'MATCH {class: Industry, as: Industries\} <-- {} <-- {
as: Subcategories }  RETURN Industries, Subcategories' }

Could that be the problem?

About the NPE, I'm checking it now

Thanks

Luigi



thanks.

The backslash is left out of a "experiment" trying to escape special
characters.
I tried  ... replacing ' { '  by " \{ ",
... quoting the classes " MATCH{ class: 'Industry'  ... "
and even "MATCH {class `Industry`...

but did not succeed.
I replaced the "<--" notation with "inE()", but nothing changed.

You can check out the jruby-branch of active-orient to reproduce the error.

bin/orientdb-console
and then ORD.execute or DB.execute
which queries through different api's in a jruby-environmet.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to