Hi

Currently I'm doing something like this, which works :

  OCommandSQL sql = new OCommandSQL("create vertex User content " + json);
  OrientVertex uv = graph.command(sql).execute();


But I can't use the prepared query, I tried below which gives me a json parse 
exception:

  OSQLSynchQuery sql = new OSQLSynchQuery("create vertex User content ?");
  OrientVertex uv = graph.command(sql).execute(json);


So what is the correct way to doing this?




And the normal api graph.addVertex() only accepts key/value pairs or map.

Which means no way to user it add embedded data? 


Regards

-- 

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

Reply via email to