I should add, I am using a neo4j server as opposed to the embedded database.

On Thursday, May 7, 2015 at 5:27:21 PM UTC+1, [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.

Reply via email to