Hi and first post :),

I'm trying to use transactions with 
neo4jphp<https://github.com/jadell/neo4jphp> using 
Neo4j 2.0.1 on an Amazon EC2 istance, but I keep getting the error 
regardless of the query/ies I do.

$transaction=$client->beginTransaction();
$queryString='MATCH (n) RETURN COUNT(n)';
$query = new Query($client, $queryString);
$result = $transaction->addStatements($query,true);

Error I get:
[code] => Neo.ClientError.Request.InvalidFormat
[message] => Unable to deserialize request: Can not deserialize instance of 
java.util.LinkedHashMap out of START_ARRAY token at 
[Source: 
org.eclipse.jetty.server.HttpConnection$Input@6139d14e{HttpChannelOverHttp@1adc89c0{r=2,a=DISPATCHED,uri=/db/data/transaction},HttpConnection@4d7aa07{FILLING},g=HttpGenerator{s=START},p=HttpParser{s=END,104
 
of 104}}; line: 1, column: 56]

Any suggestion on what I'm doing wrong? Something to configure better on 
the server? (I'm using the standard Neo4j Cloud Formation on Amazon that 
you can find on Neo4j website)

Thanks!
F

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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