I don't see a solution in that discussion. On Thursday, May 7, 2015 at 7:32:11 PM UTC+1, Sumit Gupta wrote: > > I find some old discussion around deleteAll(). (Thanks to Michael) > > https://groups.google.com/forum/#!topic/neo4j/wH0CGTjBC-A > > > Please see if it helps. > > Thanks, > Sumit > > On Thursday, 7 May 2015 21:57:21 UTC+5:30, [email protected] wrote: >> >> Hi, >> >> Querying database immediately after calling "GraphRepository.deleteAll" >> seems to return positive. 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.
