Re: [Neo4j] Nested Transactions Bolt

2016-06-02 Thread 'Nigel Small' via Neo4j
You won't be able to get that far. Beginning a transaction is only permitted on a session if a transaction is not already open there. If you try to do so, an exception will be thrown. On 2 June 2016 at 22:23, Michael Johnson wrote: > > So if I get a session and then call beginTransaction() on th

Re: [Neo4j] Nested Transactions Bolt

2016-06-02 Thread Michael Johnson
So if I get a session and then call beginTransaction() on that session and then call beginTransaction() again on that same Session and commit it (before committing the first one) will both transactions be rolled back if I call failure() on the first transaction? On Tuesday, May 31, 2016 at 8

Re: [Neo4j] Nested Transactions Bolt

2016-05-31 Thread 'Michael Hunger' via Neo4j
No, but you can open a new session which has its own TX. Michael > Am 27.05.2016 um 21:24 schrieb Michael Johnson : > > Hello. I'm migrating code from Embedded Neo4J to bolt. I was wondering if > the behavior of transactions is still the same as with the embedded API. As > in if you open a

[Neo4j] Nested Transactions Bolt

2016-05-31 Thread Michael Johnson
Hello. I'm migrating code from Embedded Neo4J to bolt. I was wondering if the behavior of transactions is still the same as with the embedded API. As in if you open a transaction within another transaction is the newly opened transaction treated as a "placebo transaction," or has that behavio