Hi,
Is DelareIntent deprectaed in OrientGraphFactory?
I have the following code from pre 1.7rc1, but not working any more.
OrientGraphFactory graph = new OrientGraphFactory(
"remote:0.0.0.0:2424/test","root","password");
System.out.println("Connected");
graph.declareIntent(new OIntentMassiveInsert());
Map<String, Object> mymap = new HashMap<String, Object>();
mymap.put("id" , "112");
OrientVertex myv = graph.addVertex("class:myc", mymap);
myv.save();
Error is as follows.
error: cannot find symbol
graph.declareIntent(new OIntentMassiveInsert());
^
symbol: method declareIntent(OIntentMassiveInsert)
location: variable graph of type OrientGraphFactory
error: cannot find symbol
OrientVertex myv = graph.addVertex("class:myc", mymap);
symbol: method addVertex(String,Map<String,Object>)
location: variable graph of type OrientGraphFactory
--
---
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.