1 Reply Latest reply on Jul 20, 2007 7:06 PM by Jason Greene

    POJOCache 2.0 - static field Replication

    Kishore Korimilli Newbie

      I have a static list (java.util.List) inside a class that I am trying to replicate. All other fields in the class get replicated except for the static List. The user guide for Release 2.0 says that by default all the static fields get replicated. Is there anything I am missing?

      Thanks


      Here is my class..

      import java.util.ArrayList;
      import java.util.List;

      @org.jboss.cache.pojo.annotation.Replicable
      public class Student {
      private String name ;
      private int age ;
      private Address addr ;

      /* someList is not replicated to other nodes in the Cluster */
      public static List someList = new ArrayList();
      }