if (sqlPrecision != actualPrecision)
{
if( this.columnMetaData != null && this.columnMetaData.getParent() != null && (this.columnMetaData.getParent() instanceof AbstractMemberMetaData))
{
//includes the field name in error msg
throw new WrongPrecisionException(this.toString(), sqlPrecision, actualPrecision, ((AbstractMemberMetaData)this.columnMetaData.getParent()).getFullFieldName());
}
else
{
throw new WrongPrecisionException(this.toString(), sqlPrecision, actualPrecision);
}
}
}
if (columnMetaData.getScale() != null && actualScale >= 0)