Package org.springframework.data.neo4j.support

Examples of org.springframework.data.neo4j.support.Neo4jTemplate.createNode()


    @Test
    public void testBeginTxWithoutConfiguredTxManager() throws Exception {
        Neo4jTemplate template = new Neo4jTemplate(graphDatabase);
        Transaction tx = template.getGraphDatabase().beginTx();
        Node node = template.createNode();
        node.setProperty("name","foo");
        tx.success();
        tx.close();

        tx = template.getGraphDatabase().beginTx();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.