checkOpen();
public void setWarning(SQLWarning warning) {
this.warnings = warning;
}
<<<<<<< HEAD
@Override
public int getUpdateCount() throws SQLException {
checkOpen();
return updateCount;
}
public void setUpdateCount(int updateCount) {
this.updateCount = updateCount;
}
@Override
public void close() throws SQLException {
this.closed = true;
}
@SuppressWarnings("unchecked")
@Override
public T unwrap(Class iface) throws SQLException {
if (iface == null) {
return null;
}
if (iface.isInstance(this)) {
return (T) this;
}
return null;
}
@Override
public boolean isWrapperFor(Class> iface) throws SQLException {
if (iface == null) {
return false;
}
if (iface.isInstance(this)) {
return true;
}
return false;
}
public boolean isPoolable() throws SQLException {
checkOpen();
return poolable;
}
public void setPoolable(boolean poolable) throws SQLException {
checkOpen();
this.poolable = poolable;
}
public void closeOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
public boolean isCloseOnCompletion() throws SQLException {
throw new SQLFeatureNotSupportedException();
}
@Override
public boolean isClosed() throws SQLException {
return closed;
}
@Override
public boolean getMoreResults() throws SQLException {
checkOpen();
return false;
}
@Override
public void addBatch(String sql) throws SQLException {
checkOpen();
}
@Override
public void clearBatch() throws SQLException {
checkOpen();
}
@Override
public ResultSet getGeneratedKeys() throws SQLException {
checkOpen();
return this.generatedKeys;
}
public void setGeneratedKeys(ResultSet generatedKeys) {
this.generatedKeys = generatedKeys;
}
@Override
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException {
checkOpen();
return 0;
}
@Override
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException {
checkOpen();
return 0;
}
@Override
public int executeUpdate(String sql, String[] columnNames) throws SQLException {
checkOpen();
return 0;
}
@Override
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException {
checkOpen();
return false;
}
@Override
public boolean execute(String sql, int[] columnIndexes) throws SQLException {
checkOpen();
return false;
}
@Override
public boolean execute(String sql, String[] columnNames) throws SQLException {
checkOpen();
return false;
}
@Override
public ResultSet getResultSet() throws SQLException {
return resultSet;
}
@Override
public int[] executeBatch() throws SQLException {
checkOpen();
return new int[0];
}
@Override
public boolean getMoreResults(int current) throws SQLException {
checkOpen();
return false;
}
public void setWarnings(SQLWarning warnings) {
this.warnings = warnings;
}
public void setResultSet(ResultSet resultSet) {
this.resultSet = resultSet;
}
@Override
public boolean execute(String sql) throws SQLException {
checkOpen();
return false;
}
@Override
public ResultSet executeQuery(String sql) throws SQLException {
return null;
}
@Override
public int executeUpdate(String sql) throws SQLException {
return 0;
}
@Override
public void cancel() throws SQLException {
checkOpen();
}
=======
>>>>>>> c9204dc18af0988b10ee8ca582a0111bdfda5662
} |