[
https://issues.jboss.org/browse/ISPN-5806?page=com.atlassian.jira.plugin....
]
Radim Vansa commented on ISPN-5806:
-----------------------------------
Please see ISPN-6573, I have started to work on this [1], but I've underestimated the
amount of work required.
[1]
https://github.com/rvansa/infinispan/tree/ISPN-6573
Add transaction support for Functional API
------------------------------------------
Key: ISPN-5806
URL:
https://issues.jboss.org/browse/ISPN-5806
Project: Infinispan
Issue Type: Sub-task
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
A local cache with batching enabled produces this:
{code:java}
java.lang.IllegalArgumentException: Cannot create a transactional
context without a valid Transaction instance.
at
org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:69)
at
org.infinispan.context.TransactionalInvocationContextFactory.createInvocationContext(TransactionalInvocationContextFactory.java:63)
at org.infinispan.functional.impl.ReadWriteMapImpl.eval(ReadWriteMapImpl.java:56)
at org.infinispan.lucene.impl.FileListOperations.addFileName(FileListOperations.java:60)
(<-- experimental uncommitted code here)
{code}
For single operations that carry no transaction context, don't try to start a
transaction and create a transactional context.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)