@Override public void setAutoCommit(boolean autocommit) throws OntopConnectionException { try { conn.setAutoCommit(autocommit); } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public void rollBack() throws OntopConnectionException { try { conn.rollback(); } catch (Exception e) { throw new OntopConnectionException(e); } }
Object getRawObject(int column) throws OntopConnectionException { try { Object realValue = rs.getObject(column); return realValue; } catch (Exception e) { throw new OntopConnectionException(e); } } }
@Override public void setFetchSize(int rows) throws OntopConnectionException { try { sqlStatement.setFetchSize(rows); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public void setQueryTimeout(int seconds) throws OntopConnectionException { try { sqlStatement.setQueryTimeout(seconds); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public void commit() throws OntopConnectionException { try { conn.commit(); } catch (Exception e) { throw new OntopConnectionException(e); } }
Object getRawObject(int column) throws OntopConnectionException { try { Object realValue = rs.getObject(column); return realValue; } catch (Exception e) { throw new OntopConnectionException(e); } } }
@Override public boolean isClosed() throws OntopConnectionException { try { isClosed = conn.isClosed(); return isClosed; } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public void close() throws OntopConnectionException { try { rs.close(); } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public void setAutoCommit(boolean autocommit) throws OntopConnectionException { try { conn.setAutoCommit(autocommit); } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public boolean getAutoCommit() throws OntopConnectionException { try { return conn.getAutoCommit(); } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public void close() throws OntopConnectionException { if (set == null) return; try { set.close(); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public int getQueryTimeout() throws OntopConnectionException { try { return sqlStatement.getQueryTimeout(); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public boolean isClosed() throws OntopConnectionException { try { return sqlStatement.isClosed(); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public void getMoreResults() throws OntopConnectionException { try { sqlStatement.getMoreResults(); } catch (SQLException e) { throw new OntopConnectionException(e); } }
public synchronized Connection getSQLPoolConnection() throws OntopConnectionException { try { return connectionPool.getConnection(); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override public void cancel() throws OntopConnectionException { canceled = true; try { QuestStatement.this.executionThread.cancel(); } catch (Exception e) { throw new OntopConnectionException(e); } }
@Override public int getFetchSize() throws OntopConnectionException { try { return rs.getFetchSize(); } catch (Exception e) { throw new OntopConnectionException(e.getMessage()); } }
@Override protected DelegatedIriSQLBindingSet readCurrentRow() throws OntopConnectionException { SQLRowReader rowReader = new SQLRowReader(); try { final List<MainTypeLangValues> cells = rowReader.read(rs, getColumnCount()); return new DelegatedIriSQLBindingSet(cells, signature, columnMap, ontopConstantRetriever); } catch (SQLException e) { throw new OntopConnectionException(e); } }
@Override protected DelegatedIriSQLBindingSet readCurrentRow() throws OntopConnectionException { SQLRowReader rowReader = new SQLRowReader(); try { final List<MainTypeLangValues> cells = rowReader.read(rs, getColumnCount()); return new DelegatedIriSQLBindingSet(cells, signature, columnMap, ontopConstantRetriever, columnMap); } catch (SQLException e) { throw new OntopConnectionException(e); } }