Hi Gytis,
I've sent a pull request for Neo4j remote some time ago:
https://github.com/hibernate/hibernate-ogm/pull/596
This is an initial prototype and it still requires some work.
That said, I think you will be able to obtain the transaction id via the
TransactionCoordinator:
TransactionDriver driver =
transactionCoordinator.getTransactionDriverControl();
Neo4jTransactionDriver neo4jDriver = (Neo4jTransactionDriver) driver;
Long transactionId = driver.getTransactionId();
As Emmanuel said, this might change in the future though, and it depends
what you need.
Cheers,
Davide
On Thu, Dec 3, 2015 at 7:40 PM, Emmanuel Bernard <emmanuel(a)hibernate.org>
wrote:
Hey Gytis,
Davide is the right person to talk to. We were discussing this very
subject during our face to face meeting and a few things will change. So
now is a good time to feed your needs.
Emmanuel
> On 30 nov. 2015, at 16:23, Scott Marlow <smarlow(a)redhat.com> wrote:
>
> Hi Gytis,
>
> Excellent to hear that you are looking at Neo4j. I'm not sure, Emmanuel
would be the better person to ask.
>
> Scott
>
>> On 11/26/2015 12:23 PM, HipChat wrote:
>> Gytis Trikleris
>> <
https://www.hipchat.com/people/show/2470601?utm_medium=email&utm_sour...
>
>> just sent you a 1-1 message but you're offline:
>>
>> Gytis Trikleris
>> Hey Scott! I am playing around with Neo4j as a result of your email for
>> Tom last month. The one about recovering Neo4j transactions via their
>> REST API.
>> I'm checking whether it's doable, so would like to do a prototype for
>> it. Do you know, if there is already a way to get Neo4j transaction id
>> in OGM?
>> 12:23 PM
>> zdMpSzlniIzd770
>>
>>
>>
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev