Re: [Neo4j] 'beginning implicit transaction' cannot be done... exception

2016-08-26 Thread Matias Burak
To add some code, I'm seeing a couple of places in the driver that fails trying to begin an already in transaction session. if ( state == State.MARKED_SUCCESS ) { conn.run( "COMMIT", Collections.emptyMap(), StreamCollector.NO_OP ); conn.discardAll(); conn.sync(); state = State.SU

Re: [Neo4j] 'beginning implicit transaction' cannot be done... exception

2016-08-26 Thread Matias Burak
Hi Nigel, I'm not sure but what I've seen is that there is a neo4j.Session thread that it's trying to do a 'begin' on a session worker that is already IN_TRANSACTION. How can I know who is doing that operation that is triggering that thread and why it's trying to begin an already started sessio

Re: [Neo4j] 'beginning implicit transaction' cannot be done... exception

2016-08-04 Thread 'Nigel Small' via Neo4j
Hi Matias It's hard to tell without seeing some code. What concurrency are you referring to? I do think we need to fix that error though - it's very unhelpful to a typical application developer. Coincidentally, we're currently working on this part of the code so I'll make sure we improve the erro

[Neo4j] 'beginning implicit transaction' cannot be done... exception

2016-08-03 Thread Matias Burak
Hi, anyone knows why I am getting this error? 'beginning implicit transaction' cannot be done when a session is in the 'IN_TRANSACTION' state. This is using java-driver v1.0.4 and bolt 3.0.4 It looks that this is happening when the driver is doing a hasNext. Is that starting an implicit