2 Replies Latest reply on May 19, 2005 12:47 AM by Jan Bares

    Embedded attribute override defaults

    Jan Bares Newbie


      it seems that when I use AttributeOverride, the nullable=false from embedded class is lost. I have to specify it again. Is this expected behaviour?

      @Embeddable(access = AccessType.FIELD)
      public class UnitValue
       public Integer value;
       public String unit;
      @Entity(access = AccessType.FIELD)
      public class Test
       public UnitValue maxWeight;