Setting up infinispan server database

150 Views Asked by At

I am trying to use Infinispan for caching and have it store to a database, but I cannot figure out how to setup the server piece nor create the database portion.

1

There are 1 best solutions below

1
On

Infinispan cache loaders is exactly the mechanism you are looking for.

Since we don't know anything about your intention nor your architecture and application structure, please, see: http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_jdbc_based_cache_loaders for common JDBC related cache loaders and http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_sample_configurations for some code snippets and look around a little bit.

If you'll meet some specific problems, I suggest you to join #infinispan IRC channel on freenode and ask developers for specific question as response time here can be longer.

HTH