Hi Hartmut, I tried the query on a sample db, but it succeeded, any chance to have a db where you know it fails?
Thanks Luigi 2016-06-30 12:49 GMT+02:00 Hartmut Bischoff <[email protected]>: > Just saw your message ... thanks very much. Looking forward. > > > 2016-06-30 12:48 GMT+02:00 Hartmut Bischoff <[email protected]>: > >> >> >> 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. >> > > > > -- > finanz coaching > Dr. Hartmut Bischoff > Stuttgart > ( http://ficoach.de) > > -- > > --- > 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. > -- --- 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.
