Cannot find node using graphDatabaseService when it is created in the same test
问题 as continuation of Trying out neo4j grails plugin, but it does not mach the docs I have a test now looks like this: package com.iibs.graph import groovy.util.GroovyTestCase import com.iibs.graph.Node public class NodeTests extends GroovyTestCase { def graphDatabaseService void testCRUD() { Node.deleteAll(Node.list()) Node node = new Node(name: "Name") node.save(flush: true, failOnError: true) Node found = Node.findByName("Name") assert found instanceof Node assert found.getName() == "Name"