2 Replies Latest reply on Apr 18, 2005 8:22 AM by epbernard

    EJB 3.0 Preview 4 tries to persist static final fields

    ceracm

      Some of my entity beans have static final fields.
      JBOSS EJB 3 Preview 4 tries to persist them.
      I had to use the @Transient annotation to prevent it from doing this:

      public class Foo implements Serializable {
       @Transient
       public static final int NEW = 0;
      
      ...
      }


      I would have expected these fields to be ignored.