Exemplo n.º 1
0
 public void convertToRawBytes(byte[] rawBytes, int offset, ConvTable ccsidConverter) // @P0C
     throws SQLException {
   try {
     typeConverter_.toBytes(value_, rawBytes, offset);
   } catch (ExtendedIllegalArgumentException e) {
     JDError.throwSQLException(this, JDError.EXC_DATA_TYPE_MISMATCH, e);
   }
 }
Exemplo n.º 2
0
 public void convertFromRawBytes(
     byte[] rawBytes, int offset, ConvTable ccsidConverter, boolean ignoreConversionErrors) // @P0C
     throws SQLException {
   value_ = ((BigDecimal) typeConverter_.toObject(rawBytes, offset));
 }