2013/10/25 Davide D'Alto
> The isNeo4j() is just a trick so that the user does not have to set a
> property. I'm also not totally happy about it
>
Ok, I see. Good we agree :) I've created OGM-370 for this.
>
>
> > Neo4j seems to allow for this via the TransactionManagerProvider SPI.
> Unfortuna
The isNeo4j() is just a trick so that the user does not have to set a
property. I'm also not totally happy about it
> Neo4j seems to allow for this via the TransactionManagerProvider SPI.
Unfortunately one isn't in control of instantiating such providers, though.
So one would have to do some hacke
Hi Davide,
I'm wondering why instead of creating Neo4jJtaPlatform we don't provide the
TransactionManager as retrieved from ORM's JtaPlatform to Neo4j (as we e.g.
do for ISPN)? I find the isNeo4j() code in ogm-core a bit discomforting.
Neo4j seems to allow for this via the TransactionManagerProvi
Well...I don't have alternative at the moment.
I think we could keep it as it is now and wait for some feedback from the users.
On Mon, Mar 4, 2013 at 1:17 PM, Emmanuel Bernard wrote:
> Do you have an alternative in mind?
>
> My understanding is that if you write a Neo4J JtaPlatform, then the
>
Do you have an alternative in mind?
My understanding is that if you write a Neo4J JtaPlatform, then the
transaction will be started:
- if the transaction is manually started by the wrapping code
- if someone uses Session.beginTransaction() or
EntityManager.getTransaction().begin()
You wanted t
Hi,
I'm working at the integration between OGM and Neo4j.
Neo4j is fully transactional and it requires to open a transaction
before the execution of any operation on the DB.
To integrate this mechanism with OGM I've created the class
Neo4jJtaPlatform.java[1] that extends AbstractJtaPlatform and it