final int precision = getPrecision(type); switch(type.getMinorType()) { case BIT: return 1; // 1 digit
final int precision = Types.getPrecision(rpcDataType); final int scale = Types.getScale(rpcDataType); final int displaySize = Types.getJdbcDisplaySize(rpcDataType);
final int precision = getPrecision(type); switch(type.getMinorType()) { case BIT: return 1; // 1 digit
final int precision = Types.getPrecision(rpcDataType); final int scale = Types.getScale(rpcDataType); final int displaySize = Types.getJdbcDisplaySize(rpcDataType);
builder.setPrecision(Types.getPrecision(field.getMajorType()));