orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

[JAVA,OGraphDatabase] Problem with set parameters.

Open deluxxx opened this issue 13 years ago • 1 comments

Set parametrs in on OGraphDatabase. orientdb-1.5.0

DATABASE : screenshot from 2013-07-31 16 05 59

in console : screenshot from 2013-07-31 15 59 02

code java : OSQLSynchQuery query = new OSQLSynchQuery("select from (select expand(out[@class='User']) " + "from (select expand(in[@class='Member']) " + "from event where uuid = ?) " + "where status = ?)"); List objects = getDatabase().command(query).execute("067e6162-3b6f-4ae1-a171-2470b63dff01", "going");

java.lang.AssertionError: expected:<2> but was:<0>

When I do that its working : OSQLSynchQuery query = new OSQLSynchQuery("select from (select expand(out[@class='User']) " + "from (select expand(in[@class='Member']) " + "from event where uuid = '067e6162-3b6f-4ae1-a171-2470b63dff01') " + "where status = 'going')"); List objects = getDatabase().command(query).execute("067e6162-3b6f-4ae1-a171-2470b63dff01", "going");

But I need set parameters. Why that is not working ?

deluxxx avatar Jul 31 '13 14:07 deluxxx

Look at #1069

lvca avatar Jul 31 '13 14:07 lvca