Home Infinispan with JPACacheStore not deleting entry from database
Reply: 0

Infinispan with JPACacheStore not deleting entry from database

rajiv patil
1#
rajiv patil Published in 2018-02-14 06:14:40Z

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

cache.remove(key); 

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.

Thanks Rajiv

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.350572 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO