0 Replies Latest reply on May 5, 2014 2:42 PM by sp gmx

    L2 cache and polymorphic find

    sp gmx Newbie

      Hi,

       

      I have classes B and C. Both inherit class A.

       

      When I exec a EntityManager.find(B.class, id) and id is the id of an instance of C - the EntityManager returns this instance of type C if it is already in the L2 cache.

       

      Is this a bug?

       

      I'm using infinispan 4.2.5.

       

      Thank you