284285286287288289290291292293
} finally { reader.close(); } } catch (SQLException e) { throw new DatabaseSQLException(e); } catch (IOException e) { throw new DatabaseException("failed to convert Clob to String", e); } }
317318319320321322323324325326
} finally { in.close(); } } catch (SQLException e) { throw new DatabaseSQLException(e); } catch (IOException e) { throw new DatabaseException("failed to convert Blob to byte-array", e); } }
336337338339340341342343
@Override public InputStream convert(@NotNull Blob value) { try { return value.getBinaryStream(); } catch (SQLException e) { throw new DatabaseSQLException(e); } }
353354355356357358359360
@Override public Reader convert(@NotNull Clob value) { try { return value.getCharacterStream(); } catch (SQLException e) { throw new DatabaseSQLException(e); } }
370371372373374375376377
@Override public Document convert(@NotNull SQLXML value) { try { return (Document) value.getSource(DOMSource.class).getNode(); } catch (SQLException e) { throw new DatabaseSQLException(e); } }