6 Replies Latest reply on Sep 8, 2014 4:41 AM by Peter Wallstedt

    Infinispan key/value data types and persistence

    Peter Wallstedt Newbie

      Hi all!


      I'm trying to create a Infinispan cache with keys of non primitive type.

      As key I would like to use the type org.apache.commons.lang3.Range, and as value a String. This seems to work fine, except when it comes to persisting the cache to file.

      If I restart the Jboss AS the Ranges are gone. So it's not beeing written to file as everything else is.


      Is it not possible to use a slightly more complex type as key?