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

    EJB 3.0 Preview 4 tries to persist static final fields

    Chris Richardson Newbie

      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 {
       public static final int NEW = 0;

      I would have expected these fields to be ignored.