code: public String getSizeConstraint()
      {
          String constraint = getProperty(PropertyHelper.OJB_PROPERTY_LENGTH);
  
          if ((constraint == null) || (constraint.length() == 0))
          {
              String precision = getProperty(PropertyHelper.OJB_PROPERTY_PRECISION);
              String scale     = getProperty(PropertyHelper.OJB_PROPERTY_SCALE);
  
              if ((precision == null) || (precision.length() == 0))
              {
                  precision = getProperty(PropertyHelper.OJB_PROPERTY_DEFAULT_PRECISION);
              }
              if ((scale == null) || (scale.length() == 0))
              {
                  scale = getProperty(PropertyHelper.OJB_PROPERTY_DEFAULT_SCALE);
              }
              if (((precision != null) && (precision.length() > 0)) ||
                  ((scale     != null) && (scale.length()     > 0)))
              {
                  if ((precision == null) || (precision.length() == 0))
                  {
                      precision = "1";
                  }
                  if ((scale == null) || (scale.length() == 0))
                  {
                      scale = "0";
                  }
                  constraint = precision + "," + scale;
              }
          }
          return constraint;
      }
docs: Determines the size constraint (length or precision+scale).
  
  @return The size constraint