Hi,
I am using a Test-database.
attached

2016-06-30 13:21 GMT+02:00 Luigi Dell'Aquila <[email protected]>:

> 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 a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/nBQq8u68mdA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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.

Attachment: DEV.gz
Description: GNU Zip compressed data

Reply via email to