Hi,

Querying database immediately after calling "GraphRepository.deleteAll" 
 seems to return positive. I tried to override the deleteAll() with 
"Query("MATCH 
(j:Junction) WHERE ID(j)={0} DELETE j")" but this does not work either. 
 Any suggestions why this could be failing? Perhaps this is a bug? 

Spring Data Neo4j Version = 3.3.0.RELEASE
Neo4j Community Version = 2.0.2

Test Case

 @Test

public void testDeleteAll() {

accountService.deleteAll();

  Set<Long> ids = AppUtil.newHashSetInstance();

 ids.add(new Long(1));

 Set<AccountGraph> all = accountService.findAllAccountWithIds(ids);

  for(AccountGraph graph: all){

 System.out.println(graph);

 }

assertEquals(0,all.size()); <-- this fails

}

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to