0 Replies Latest reply on Aug 29, 2007 11:31 AM by gindhart

    AttributeOverride urges default values

    gindhart

      Hi !
      I define some column definitions in an embeddable class, e.g. col-name, col-length and so on.

      When I use AttributeOverride on this embeddable class in an embedding class for changing the col-name (without defining a new col-length value) then in a new created table the overriden column gets the length of 255, which is default.
      (I assume this will affect other attributes as precision or scale, too.)

      So I am not sure, if this is an error, because in the EJB3-Spec this behaviour is not clearly defined.

      Does anyone have the same problem or even better a solution ?

      Werner