I do basic authorization and then send POST data to 
http://localhost:2480/batch/lebnik
My POST 
data: 
{"transaction":true,"operations":{"type":"cmd","language":"sql","command":"select
 
* from PersonCV"}}
And get error: java.lang.ClassCastException: java.util.LinkedHashMap cannot 
be cast to java.util.Collection
Why? I do all on instruction 
https://github.com/orientechnologies/orientdb/wiki/OrientDB-REST#post---batch
In console this request:
orientdb> select * from PersonCV


----+-----+-------+----------+-----------
#   |@RID |name   |in_LovesCE|out_LovesCE


----+-----+-------+----------+-----------
0   |#11:0|Joanie |#11:1     |null       
1   |#11:1|Chachie|null      |[2]        
2   |#11:2|Jimmy  |#11:1     |null       


----+-----+-------+----------+-----------


-- 

--- 
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/groups/opt_out.

Reply via email to