Spring data

39 views
Skip to first unread message

social...@gmail.com

unread,
Dec 23, 2015, 6:29:07 AM12/23/15
to OrientDB
I download spring-data-orientdb project and able to use Object Repository,template etc use case. Can anyone share the implementation for OrientGraphTemplat.
I want to use repository features for Graph. it will be very help full if anyone can share or help me to write one.

How to write similar code for Graph template??

public class OrientObjectTemplate extends AbstractOrientOperations<Object> implements OrientObjectOperations {

    public OrientObjectTemplate(OrientObjectDatabaseFactory dbf) {
        super(dbf);
    }

    @Override
    public OObjectDatabaseTx getObjectDatabase() {
        return (OObjectDatabaseTx)dbf.db();
    }


Reply all
Reply to author
Forward
0 new messages