I am using Infinispan with JPACacheStore and have configured it to interface with Apache Derby database.
I am able to successfully run Create / Update / Read operations.
However when I do simple remove operation
The entry is only deleted from cache and not from underlying datastore. In the trace logs i dont see hibernate getting invoked and generate delete statements.
cache.clear() works fine I see that hibernate generates and executes delete statements and underlying table is cleared.
Is this related to - https://issues.jboss.org/browse/ISPN-5804
Is there any workaround / flags to be set to make this work.