Skip to first unread message

social...@gmail.com

unread,
Dec 28, 2015, 2:28:20 AM12/28/15
to OrientDB

Hi Team,
I am trying to write Spring-Data-API for graph DB following the way has been written for Object API.
i am not getting how to initiate OrientGraphTemplate. i am using OrientGraphFactory.

public class OrientGraphTemplate extends AbstractOrientOperations implements OrientGraphOperations {

OrientGraphFactory ogf;
public OrientGraphTemplate(OrientGraphFactory dbf) {

supper( dbf.getDatabase());// it gives error as suppers class expect OrientDatabaseFactory
}
is there any relationship b/w OrientDatabaseFactory & OrientGraphFactory. i am not able to find.
do i need to write own AbstractOrientOperations class for Graph? if not, how can extend AbstractOrientOperations ?
spring-data-orientdb-graph.zip
Reply all
Reply to author
Forward
0 new messages