Package org.springframework.data.neo4j.support

Examples of org.springframework.data.neo4j.support.DelegatingGraphDatabase


    public void cleanDb() {
        Neo4jHelper.cleanDb(graphDatabaseContext);
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        final DelegatingGraphDatabase graphDatabase = new DelegatingGraphDatabase(graphDatabaseContext.getGraphDatabaseService());
        graphDatabase.setConversionService(conversionService);
        return graphDatabase;
    }
View Full Code Here


    public void cleanDb() {
        Neo4jHelper.cleanDb(graphDatabaseContext);
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        final DelegatingGraphDatabase graphDatabase = new DelegatingGraphDatabase(graphDatabaseContext.getGraphDatabaseService());
        graphDatabase.setConversionService(conversionService);
        return graphDatabase;
    }
View Full Code Here

    protected GraphDatabaseService createGraphDatabaseService() throws IOException {
        return new ImpermanentGraphDatabase();
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        return new DelegatingGraphDatabase(graphDatabaseService);
    }
View Full Code Here

    }

    protected GraphDatabase createGraphDatabase() throws Exception
    {
        graphDatabaseService = new ImpermanentGraphDatabase( );
        return new DelegatingGraphDatabase(graphDatabaseService);
    }
View Full Code Here

    private Infrastructure createInfrastructure(Neo4jMappingContext mappingContext) throws Exception {
        MappingInfrastructureFactoryBean factoryBean = new MappingInfrastructureFactoryBean();
        final GraphDatabaseService gdb = new TestGraphDatabaseFactory().newImpermanentDatabase();
        factoryBean.setGraphDatabaseService(gdb);
        final DelegatingGraphDatabase graphDatabase = new DelegatingGraphDatabase(gdb);
        factoryBean.setGraphDatabase(graphDatabase);
        factoryBean.setMappingContext(mappingContext);
        final EntityStateHandler entityStateHandler = new EntityStateHandler(mappingContext, graphDatabase, conversionService);
        final NoopNodeTypeRepresentationStrategy nodeTypeRepresentationStrategy = new NoopNodeTypeRepresentationStrategy();
        factoryBean.setNodeTypeRepresentationStrategy(nodeTypeRepresentationStrategy);
View Full Code Here

        queryEngine = graphDatabase.queryEngine();
        michael = testTeam.michael;
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        final DelegatingGraphDatabase graphDatabase = new DelegatingGraphDatabase(template.getGraphDatabaseService());
        //graphDatabase.setResultConverter(entityResultConverter);
        return graphDatabase;
    }
View Full Code Here

    protected GraphDatabaseService createGraphDatabaseService() throws IOException {
        return new TestGraphDatabaseFactory().newImpermanentDatabase();
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        return new DelegatingGraphDatabase(graphDatabaseService);
    }
View Full Code Here

    protected GraphDatabaseService createGraphDatabaseService() throws IOException {
        return new TestGraphDatabaseFactory().newImpermanentDatabase();
    }

    protected GraphDatabase createGraphDatabase() throws Exception {
        return new DelegatingGraphDatabase(graphDatabaseService);
    }
View Full Code Here

    }

    protected GraphDatabase createGraphDatabase() throws Exception
    {
        graphDatabaseService = new TestGraphDatabaseFactory().newImpermanentDatabase();
        return new DelegatingGraphDatabase(graphDatabaseService);
    }
View Full Code Here

TOP

Related Classes of org.springframework.data.neo4j.support.DelegatingGraphDatabase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.