-
1. Re: Hot Rod Transactions
nadirx Mar 9, 2016 11:47 AM (in response to mashama)Hi,
they will be added in Infinispan 9.0 (due in the autumn).
However you can use scripts and tasks now to implemented "stored procedures" which run on the server and have access to the full embedded API, including transactions.
-
2. Re: Hot Rod Transactions
mashama Mar 9, 2016 12:53 PM (in response to nadirx)Thanks for the update Tristan. From a Java EE 7 client's perspective does this mean JCache operations in a remote server configuration will be transactional? Right now I have an application running in WildFly with a embedded Infinispan configuration. If I change to a remote Infinispan configuration with Hot Rod transactions will the client application behave the same as before?
-
3. Re: Hot Rod Transactions
nadirx Mar 9, 2016 1:03 PM (in response to mashama)Well, since JCache 1.0 doesn't mention transactions anywhere this behaviour is undefined. I guess you'd want the HotRod client to participate in an XA transaction ?
-
4. Re: Hot Rod Transactions
mashama Mar 9, 2016 1:38 PM (in response to nadirx)Ah ... so it's quite possible that the transactional behavior isn't even working the way I assume it to be in embedded mode with JCache? Right?
-
5. Re: Hot Rod Transactions
nadirx Mar 10, 2016 4:58 AM (in response to mashama)It all depends on what you want to do and what you expect
Bear in mind that not only doesn't the JCache spec say what the behaviour should be with transactions, it doesn't even specify what the behaviour should be in a cluster.
So, if you're talking about put, gets, removes, you should be fine, but for things like entry processors and readers and writers each implementation might behave differently.
-
6. Re: Hot Rod Transactions
alon3392 Jan 23, 2018 4:15 AM (in response to nadirx)Hello,
In the latest dev documentation for 9.2 it is still marked as not supported.
Will Hot Rod transactions not be supported in 9.2?
I do see however in the code on master branch a new code added for Hot Rod transactions...
Thanks.
-
7. Re: Hot Rod Transactions
pruivo Jan 24, 2018 5:24 AM (in response to alon3392)Hi Alon,
Unfortunately it wasn't introduced in time. The protocol and the server are updated to handle the transaction but none of the clients were updated on time.
It will be supported in the next version.
Cheers,
Pedro