onChanged(); if (other.hasCharMaxLength()) { setCharMaxLength(other.getCharMaxLength());
if(message.hasDataType()) output.writeString(8, message.getDataType(), false); if(message.hasCharMaxLength()) output.writeInt32(9, message.getCharMaxLength(), false); if(message.hasCharOctetLength())
private Integer getCharOctetLength(ColumnMetadata value) { if (!value.hasCharMaxLength()) { return null; } switch(value.getDataType()) { case "CHARACTER": case "CHARACTER LARGE OBJECT": case "CHARACTER VARYING": case "LONGVARCHAR": case "LONGNVARCHAR": case "NATIONAL CHARACTER": case "NATIONAL CHARACTER LARGE OBJECT": case "NATIONAL CHARACTER VARYING": return value.getCharOctetLength(); default: return null; } }
onChanged(); if (other.hasCharMaxLength()) { setCharMaxLength(other.getCharMaxLength());
if(message.hasDataType()) output.writeString(8, message.getDataType(), false); if(message.hasCharMaxLength()) output.writeInt32(9, message.getCharMaxLength(), false); if(message.hasCharOctetLength())
private Integer getCharOctetLength(ColumnMetadata value) { if (!value.hasCharMaxLength()) { return null; } switch(value.getDataType()) { case "CHARACTER": case "CHARACTER LARGE OBJECT": case "CHARACTER VARYING": case "LONGVARCHAR": case "LONGNVARCHAR": case "NATIONAL CHARACTER": case "NATIONAL CHARACTER LARGE OBJECT": case "NATIONAL CHARACTER VARYING": return value.getCharOctetLength(); default: return null; } }