3 Replies Latest reply on May 8, 2006 12:21 PM by Cyril JOUI

    set of Attributes as member of an entytybean

    Micho Edershvili Newbie

      Hello,

      I want to store a selection of a given set of Attributes in an entitybean.

      I definded an enumeration Attributes:

      public enum Attributes
      { Attribut1,
      Attribut2,
      Attribut3,
      Attribut4,
      }

      and tried to define an embedded Attribute in the entityabean

      @Embedded
      private Set attributes;

      Unfortunately, this didnot work.
      Any ideas?