Exemple #1
0
  @Override
  public String getNullableResult(ResultSet rs, int columnIndex) throws SQLException {
    byte[] bytes = blobTypeHandler.getNullableResult(rs, columnIndex);

    if (bytes == null) {
      return null;
    }

    try {
      return new String(bytes, CHARSET);
    } catch (UnsupportedEncodingException e) {
      return null;
    }
  }