i'm using hazelcast as a distributed 2nd level cache integrated with Hibernate an JPA. The application is already working but i would like to have data-affinity in the cluster.
I researched in the hazelcast documentation and found a way of doing it with the distributed map but i'm working with the entity manager, right?
Am i confused about how hazelcast works? How can i get data-affinity?