Hello, I have identified a strange behavior when using OSQL inside Java. Maybe I'm doing something wrong ...
*Problem : **The operators >,<, >=, <= don't seem not to work when used in OSQL embedded in Java * *Following graph* Nodes: v(Person)[#11:0]:name=1, age=71, v(Person)[#11:1]:name=2, age=59, Edges : 1 --> 2 (knows) weight=272, id = #12:0 1 --> 3 (knows) weight=437, id = #12:1 *CODE :* String query = ""; it=((Iterable<Vertex>)graphDb.command(new OSQLSynchQuery<Vertex>(query)). execute(1)).iterator(); OrientVertex res; while(it.hasNext()){ res = (OrientVertex) it.next(); System.out.println((Integer)res.getProperty("name")); } *QUERY : * I want to retrieve neighbors of a node having name = 1 such that the edge has a weight property greater than a certain value : select expand(outE().in()) from Person where name=? == > Return 2 and 3 select expand(outE()[weight = 272].inV()) from Person where name=? == > Return 2 select expand(outE()[weight >= 272].inV()) from Person where name=? == > *Returns nothing !! Should return 2 and 3* -- --- 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.