All Downloads are FREE. Search and download functionalities are using the official Maven repository.

patterntesting.runtime.monitor.db.internal.StasiResultSet Maven / Gradle / Ivy

Go to download

PatternTesting Runtime (patterntesting-rt) is the runtime component for the PatternTesting framework. It provides the annotations and base classes for the PatternTesting testing framework (e.g. patterntesting-check, patterntesting-concurrent or patterntesting-exception) but can be also used standalone for classpath monitoring or profiling. It uses AOP and AspectJ to perform this feat.

There is a newer version: 2.4.0
Show newest version
/*
 * $Id: StasiResultSet.java,v 1.3 2014/04/30 20:03:11 oboehm Exp $
 *
 * Copyright (c) 2014 by Oliver Boehm
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * (c)reated 15.04.2014 by oliver ([email protected])
 */

package patterntesting.runtime.monitor.db.internal;

import java.io.*;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.*;
import java.sql.Date;
import java.util.*;

import org.slf4j.*;

import patterntesting.runtime.junit.ObjectTester;
import patterntesting.runtime.log.LogWatch;

/**
 * A simple wrapper for {@link ResultSet} to be able to find resource problems
 * while iterating through a {@link ResultSet}.
 * 

* Why the name "Stasi..."? The Stasi was the official state security service of * Eastern Germany which controls the people (like NSA in the U.S. or KGB in * Russia, see also Wikipedia). * The StasiResultSet controls the embedded {@link ResultSet} - therefore the * name. *

* * @author oliver * @since 1.4.1 (15.04.2014) */ public final class StasiResultSet implements ResultSet { private static final Logger log = LoggerFactory.getLogger(StasiResultSet.class); private final ResultSet resultSet; private final LogWatch logWatch = new LogWatch(); /** * Instantiates a new stasi result set. * * @param rs the rs */ public StasiResultSet(final ResultSet rs) { this.resultSet = rs; } /** * Absolute. * * @param arg0 the arg0 * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#absolute(int) */ public boolean absolute(final int arg0) throws SQLException { return this.resultSet.absolute(arg0); } /** * After last. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#afterLast() */ public void afterLast() throws SQLException { this.resultSet.afterLast(); } /** * Before first. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#beforeFirst() */ public void beforeFirst() throws SQLException { this.resultSet.beforeFirst(); } /** * Cancel row updates. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#cancelRowUpdates() */ public void cancelRowUpdates() throws SQLException { this.resultSet.cancelRowUpdates(); } /** * Clear warnings. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#clearWarnings() */ public void clearWarnings() throws SQLException { this.resultSet.clearWarnings(); } /** * Close. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#close() */ public void close() throws SQLException { this.resultSet.close(); log.debug("{} was closed after {}.", this, logWatch); } /** * Delete row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#deleteRow() */ public void deleteRow() throws SQLException { this.resultSet.deleteRow(); } /** * Find column. * * @param arg0 the arg0 * @return the int * @throws SQLException the SQL exception * @see java.sql.ResultSet#findColumn(java.lang.String) */ public int findColumn(final String arg0) throws SQLException { return this.resultSet.findColumn(arg0); } /** * First. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#first() */ public boolean first() throws SQLException { return this.resultSet.first(); } /** * Gets the array. * * @param arg0 the arg0 * @return the array * @throws SQLException the SQL exception * @see java.sql.ResultSet#getArray(int) */ public Array getArray(final int arg0) throws SQLException { return this.resultSet.getArray(arg0); } /** * Gets the array. * * @param arg0 the arg0 * @return the array * @throws SQLException the SQL exception * @see java.sql.ResultSet#getArray(java.lang.String) */ public Array getArray(final String arg0) throws SQLException { return this.resultSet.getArray(arg0); } /** * Gets the ascii stream. * * @param arg0 the arg0 * @return the ascii stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getAsciiStream(int) */ public InputStream getAsciiStream(final int arg0) throws SQLException { return this.resultSet.getAsciiStream(arg0); } /** * Gets the ascii stream. * * @param arg0 the arg0 * @return the ascii stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getAsciiStream(java.lang.String) */ public InputStream getAsciiStream(final String arg0) throws SQLException { return this.resultSet.getAsciiStream(arg0); } /** * Gets the big decimal. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the big decimal * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBigDecimal(int, int) * @deprecated use {@link #getBigDecimal(int)} */ @Deprecated public BigDecimal getBigDecimal(final int arg0, final int arg1) throws SQLException { return this.resultSet.getBigDecimal(arg0, arg1); } /** * Gets the big decimal. * * @param arg0 the arg0 * @return the big decimal * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBigDecimal(int) */ public BigDecimal getBigDecimal(final int arg0) throws SQLException { return this.resultSet.getBigDecimal(arg0); } /** * Gets the big decimal. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the big decimal * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int) * @deprecated use {@link #getBigDecimal(int)} */ @Deprecated public BigDecimal getBigDecimal(final String arg0, final int arg1) throws SQLException { return this.resultSet.getBigDecimal(arg0, arg1); } /** * Gets the big decimal. * * @param arg0 the arg0 * @return the big decimal * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBigDecimal(java.lang.String) */ public BigDecimal getBigDecimal(final String arg0) throws SQLException { return this.resultSet.getBigDecimal(arg0); } /** * Gets the binary stream. * * @param arg0 the arg0 * @return the binary stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBinaryStream(int) */ public InputStream getBinaryStream(final int arg0) throws SQLException { return this.resultSet.getBinaryStream(arg0); } /** * Gets the binary stream. * * @param arg0 the arg0 * @return the binary stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBinaryStream(java.lang.String) */ public InputStream getBinaryStream(final String arg0) throws SQLException { return this.resultSet.getBinaryStream(arg0); } /** * Gets the blob. * * @param arg0 the arg0 * @return the blob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBlob(int) */ public Blob getBlob(final int arg0) throws SQLException { return this.resultSet.getBlob(arg0); } /** * Gets the blob. * * @param arg0 the arg0 * @return the blob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBlob(java.lang.String) */ public Blob getBlob(final String arg0) throws SQLException { return this.resultSet.getBlob(arg0); } /** * Gets the boolean. * * @param arg0 the arg0 * @return the boolean * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBoolean(int) */ public boolean getBoolean(final int arg0) throws SQLException { return this.resultSet.getBoolean(arg0); } /** * Gets the boolean. * * @param arg0 the arg0 * @return the boolean * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBoolean(java.lang.String) */ public boolean getBoolean(final String arg0) throws SQLException { return this.resultSet.getBoolean(arg0); } /** * Gets the byte. * * @param arg0 the arg0 * @return the byte * @throws SQLException the SQL exception * @see java.sql.ResultSet#getByte(int) */ public byte getByte(final int arg0) throws SQLException { return this.resultSet.getByte(arg0); } /** * Gets the byte. * * @param arg0 the arg0 * @return the byte * @throws SQLException the SQL exception * @see java.sql.ResultSet#getByte(java.lang.String) */ public byte getByte(final String arg0) throws SQLException { return this.resultSet.getByte(arg0); } /** * Gets the bytes. * * @param arg0 the arg0 * @return the bytes * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBytes(int) */ public byte[] getBytes(final int arg0) throws SQLException { return this.resultSet.getBytes(arg0); } /** * Gets the bytes. * * @param arg0 the arg0 * @return the bytes * @throws SQLException the SQL exception * @see java.sql.ResultSet#getBytes(java.lang.String) */ public byte[] getBytes(final String arg0) throws SQLException { return this.resultSet.getBytes(arg0); } /** * Gets the character stream. * * @param arg0 the arg0 * @return the character stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getCharacterStream(int) */ public Reader getCharacterStream(final int arg0) throws SQLException { return this.resultSet.getCharacterStream(arg0); } /** * Gets the character stream. * * @param arg0 the arg0 * @return the character stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getCharacterStream(java.lang.String) */ public Reader getCharacterStream(final String arg0) throws SQLException { return this.resultSet.getCharacterStream(arg0); } /** * Gets the clob. * * @param arg0 the arg0 * @return the clob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getClob(int) */ public Clob getClob(final int arg0) throws SQLException { return this.resultSet.getClob(arg0); } /** * Gets the clob. * * @param arg0 the arg0 * @return the clob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getClob(java.lang.String) */ public Clob getClob(final String arg0) throws SQLException { return this.resultSet.getClob(arg0); } /** * Gets the concurrency. * * @return the concurrency * @throws SQLException the SQL exception * @see java.sql.ResultSet#getConcurrency() */ public int getConcurrency() throws SQLException { return this.resultSet.getConcurrency(); } /** * Gets the cursor name. * * @return the cursor name * @throws SQLException the SQL exception * @see java.sql.ResultSet#getCursorName() */ public String getCursorName() throws SQLException { return this.resultSet.getCursorName(); } /** * Gets the date. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the date * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDate(int, java.util.Calendar) */ public Date getDate(final int arg0, final Calendar arg1) throws SQLException { return this.resultSet.getDate(arg0, arg1); } /** * Gets the date. * * @param arg0 the arg0 * @return the date * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDate(int) */ public Date getDate(final int arg0) throws SQLException { return this.resultSet.getDate(arg0); } /** * Gets the date. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the date * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar) */ public Date getDate(final String arg0, final Calendar arg1) throws SQLException { return this.resultSet.getDate(arg0, arg1); } /** * Gets the date. * * @param arg0 the arg0 * @return the date * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDate(java.lang.String) */ public Date getDate(final String arg0) throws SQLException { return this.resultSet.getDate(arg0); } /** * Gets the double. * * @param arg0 the arg0 * @return the double * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDouble(int) */ public double getDouble(final int arg0) throws SQLException { return this.resultSet.getDouble(arg0); } /** * Gets the double. * * @param arg0 the arg0 * @return the double * @throws SQLException the SQL exception * @see java.sql.ResultSet#getDouble(java.lang.String) */ public double getDouble(final String arg0) throws SQLException { return this.resultSet.getDouble(arg0); } /** * Gets the fetch direction. * * @return the fetch direction * @throws SQLException the SQL exception * @see java.sql.ResultSet#getFetchDirection() */ public int getFetchDirection() throws SQLException { return this.resultSet.getFetchDirection(); } /** * Gets the fetch size. * * @return the fetch size * @throws SQLException the SQL exception * @see java.sql.ResultSet#getFetchSize() */ public int getFetchSize() throws SQLException { return this.resultSet.getFetchSize(); } /** * Gets the float. * * @param arg0 the arg0 * @return the float * @throws SQLException the SQL exception * @see java.sql.ResultSet#getFloat(int) */ public float getFloat(final int arg0) throws SQLException { return this.resultSet.getFloat(arg0); } /** * Gets the float. * * @param arg0 the arg0 * @return the float * @throws SQLException the SQL exception * @see java.sql.ResultSet#getFloat(java.lang.String) */ public float getFloat(final String arg0) throws SQLException { return this.resultSet.getFloat(arg0); } /** * Gets the holdability. * * @return the holdability * @throws SQLException the SQL exception * @see java.sql.ResultSet#getHoldability() */ public int getHoldability() throws SQLException { return this.resultSet.getHoldability(); } /** * Gets the int. * * @param arg0 the arg0 * @return the int * @throws SQLException the SQL exception * @see java.sql.ResultSet#getInt(int) */ public int getInt(final int arg0) throws SQLException { return this.resultSet.getInt(arg0); } /** * Gets the int. * * @param arg0 the arg0 * @return the int * @throws SQLException the SQL exception * @see java.sql.ResultSet#getInt(java.lang.String) */ public int getInt(final String arg0) throws SQLException { return this.resultSet.getInt(arg0); } /** * Gets the long. * * @param arg0 the arg0 * @return the long * @throws SQLException the SQL exception * @see java.sql.ResultSet#getLong(int) */ public long getLong(final int arg0) throws SQLException { return this.resultSet.getLong(arg0); } /** * Gets the long. * * @param arg0 the arg0 * @return the long * @throws SQLException the SQL exception * @see java.sql.ResultSet#getLong(java.lang.String) */ public long getLong(final String arg0) throws SQLException { return this.resultSet.getLong(arg0); } /** * Gets the meta data. * * @return the meta data * @throws SQLException the SQL exception * @see java.sql.ResultSet#getMetaData() */ public ResultSetMetaData getMetaData() throws SQLException { return this.resultSet.getMetaData(); } /** * Gets the n character stream. * * @param arg0 the arg0 * @return the n character stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNCharacterStream(int) */ public Reader getNCharacterStream(final int arg0) throws SQLException { return this.resultSet.getNCharacterStream(arg0); } /** * Gets the n character stream. * * @param arg0 the arg0 * @return the n character stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNCharacterStream(java.lang.String) */ public Reader getNCharacterStream(final String arg0) throws SQLException { return this.resultSet.getNCharacterStream(arg0); } /** * Gets the n clob. * * @param arg0 the arg0 * @return the n clob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNClob(int) */ public NClob getNClob(final int arg0) throws SQLException { return this.resultSet.getNClob(arg0); } /** * Gets the n clob. * * @param arg0 the arg0 * @return the n clob * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNClob(java.lang.String) */ public NClob getNClob(final String arg0) throws SQLException { return this.resultSet.getNClob(arg0); } /** * Gets the n string. * * @param arg0 the arg0 * @return the n string * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNString(int) */ public String getNString(final int arg0) throws SQLException { return this.resultSet.getNString(arg0); } /** * Gets the n string. * * @param arg0 the arg0 * @return the n string * @throws SQLException the SQL exception * @see java.sql.ResultSet#getNString(java.lang.String) */ public String getNString(final String arg0) throws SQLException { return this.resultSet.getNString(arg0); } /** * Gets the object. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the object * @throws SQLException the SQL exception * @see java.sql.ResultSet#getObject(int, java.util.Map) */ public Object getObject(final int arg0, final Map> arg1) throws SQLException { return this.resultSet.getObject(arg0, arg1); } /** * Gets the object. * * @param arg0 the arg0 * @return the object * @throws SQLException the SQL exception * @see java.sql.ResultSet#getObject(int) */ public Object getObject(final int arg0) throws SQLException { return this.resultSet.getObject(arg0); } /** * Gets the object. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the object * @throws SQLException the SQL exception * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map) */ public Object getObject(final String arg0, final Map> arg1) throws SQLException { return this.resultSet.getObject(arg0, arg1); } /** * Gets the object. * * @param arg0 the arg0 * @return the object * @throws SQLException the SQL exception * @see java.sql.ResultSet#getObject(java.lang.String) */ public Object getObject(final String arg0) throws SQLException { return this.resultSet.getObject(arg0); } /** * Gets the ref. * * @param arg0 the arg0 * @return the ref * @throws SQLException the SQL exception * @see java.sql.ResultSet#getRef(int) */ public Ref getRef(final int arg0) throws SQLException { return this.resultSet.getRef(arg0); } /** * Gets the ref. * * @param arg0 the arg0 * @return the ref * @throws SQLException the SQL exception * @see java.sql.ResultSet#getRef(java.lang.String) */ public Ref getRef(final String arg0) throws SQLException { return this.resultSet.getRef(arg0); } /** * Gets the row. * * @return the row * @throws SQLException the SQL exception * @see java.sql.ResultSet#getRow() */ public int getRow() throws SQLException { return this.resultSet.getRow(); } /** * Gets the row id. * * @param arg0 the arg0 * @return the row id * @throws SQLException the SQL exception * @see java.sql.ResultSet#getRowId(int) */ public RowId getRowId(final int arg0) throws SQLException { return this.resultSet.getRowId(arg0); } /** * Gets the row id. * * @param arg0 the arg0 * @return the row id * @throws SQLException the SQL exception * @see java.sql.ResultSet#getRowId(java.lang.String) */ public RowId getRowId(final String arg0) throws SQLException { return this.resultSet.getRowId(arg0); } /** * Gets the sqlxml. * * @param arg0 the arg0 * @return the sqlxml * @throws SQLException the SQL exception * @see java.sql.ResultSet#getSQLXML(int) */ public SQLXML getSQLXML(final int arg0) throws SQLException { return this.resultSet.getSQLXML(arg0); } /** * Gets the sqlxml. * * @param arg0 the arg0 * @return the sqlxml * @throws SQLException the SQL exception * @see java.sql.ResultSet#getSQLXML(java.lang.String) */ public SQLXML getSQLXML(final String arg0) throws SQLException { return this.resultSet.getSQLXML(arg0); } /** * Gets the short. * * @param arg0 the arg0 * @return the short * @throws SQLException the SQL exception * @see java.sql.ResultSet#getShort(int) */ public short getShort(final int arg0) throws SQLException { return this.resultSet.getShort(arg0); } /** * Gets the short. * * @param arg0 the arg0 * @return the short * @throws SQLException the SQL exception * @see java.sql.ResultSet#getShort(java.lang.String) */ public short getShort(final String arg0) throws SQLException { return this.resultSet.getShort(arg0); } /** * Gets the statement. * * @return the statement * @throws SQLException the SQL exception * @see java.sql.ResultSet#getStatement() */ public Statement getStatement() throws SQLException { return this.resultSet.getStatement(); } /** * Gets the string. * * @param arg0 the arg0 * @return the string * @throws SQLException the SQL exception * @see java.sql.ResultSet#getString(int) */ public String getString(final int arg0) throws SQLException { return this.resultSet.getString(arg0); } /** * Gets the string. * * @param arg0 the arg0 * @return the string * @throws SQLException the SQL exception * @see java.sql.ResultSet#getString(java.lang.String) */ public String getString(final String arg0) throws SQLException { return this.resultSet.getString(arg0); } /** * Gets the time. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the time * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTime(int, java.util.Calendar) */ public Time getTime(final int arg0, final Calendar arg1) throws SQLException { return this.resultSet.getTime(arg0, arg1); } /** * Gets the time. * * @param arg0 the arg0 * @return the time * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTime(int) */ public Time getTime(final int arg0) throws SQLException { return this.resultSet.getTime(arg0); } /** * Gets the time. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the time * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar) */ public Time getTime(final String arg0, final Calendar arg1) throws SQLException { return this.resultSet.getTime(arg0, arg1); } /** * Gets the time. * * @param arg0 the arg0 * @return the time * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTime(java.lang.String) */ public Time getTime(final String arg0) throws SQLException { return this.resultSet.getTime(arg0); } /** * Gets the timestamp. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the timestamp * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar) */ public Timestamp getTimestamp(final int arg0, final Calendar arg1) throws SQLException { return this.resultSet.getTimestamp(arg0, arg1); } /** * Gets the timestamp. * * @param arg0 the arg0 * @return the timestamp * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTimestamp(int) */ public Timestamp getTimestamp(final int arg0) throws SQLException { return this.resultSet.getTimestamp(arg0); } /** * Gets the timestamp. * * @param arg0 the arg0 * @param arg1 the arg1 * @return the timestamp * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTimestamp(java.lang.String, java.util.Calendar) */ public Timestamp getTimestamp(final String arg0, final Calendar arg1) throws SQLException { return this.resultSet.getTimestamp(arg0, arg1); } /** * Gets the timestamp. * * @param arg0 the arg0 * @return the timestamp * @throws SQLException the SQL exception * @see java.sql.ResultSet#getTimestamp(java.lang.String) */ public Timestamp getTimestamp(final String arg0) throws SQLException { return this.resultSet.getTimestamp(arg0); } /** * Gets the type. * * @return the type * @throws SQLException the SQL exception * @see java.sql.ResultSet#getType() */ public int getType() throws SQLException { return this.resultSet.getType(); } /** * Gets the url. * * @param arg0 the arg0 * @return the url * @throws SQLException the SQL exception * @see java.sql.ResultSet#getURL(int) */ public URL getURL(final int arg0) throws SQLException { return this.resultSet.getURL(arg0); } /** * Gets the url. * * @param arg0 the arg0 * @return the url * @throws SQLException the SQL exception * @see java.sql.ResultSet#getURL(java.lang.String) */ public URL getURL(final String arg0) throws SQLException { return this.resultSet.getURL(arg0); } /** * Gets the unicode stream. * * @param arg0 the arg0 * @return the unicode stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getUnicodeStream(int) * @deprecated use normal encoding */ @Deprecated public InputStream getUnicodeStream(final int arg0) throws SQLException { return this.resultSet.getUnicodeStream(arg0); } /** * Gets the unicode stream. * * @param arg0 the arg0 * @return the unicode stream * @throws SQLException the SQL exception * @see java.sql.ResultSet#getUnicodeStream(java.lang.String) * @deprecated use normal encoding */ @Deprecated public InputStream getUnicodeStream(final String arg0) throws SQLException { return this.resultSet.getUnicodeStream(arg0); } /** * Gets the warnings. * * @return the warnings * @throws SQLException the SQL exception * @see java.sql.ResultSet#getWarnings() */ public SQLWarning getWarnings() throws SQLException { return this.resultSet.getWarnings(); } /** * Insert row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#insertRow() */ public void insertRow() throws SQLException { this.resultSet.insertRow(); } /** * Checks if is after last. * * @return true, if is after last * @throws SQLException the SQL exception * @see java.sql.ResultSet#isAfterLast() */ public boolean isAfterLast() throws SQLException { return this.resultSet.isAfterLast(); } /** * Checks if is before first. * * @return true, if is before first * @throws SQLException the SQL exception * @see java.sql.ResultSet#isBeforeFirst() */ public boolean isBeforeFirst() throws SQLException { return this.resultSet.isBeforeFirst(); } /** * Checks if is closed. * * @return true, if is closed * @throws SQLException the SQL exception * @see java.sql.ResultSet#isClosed() */ public boolean isClosed() throws SQLException { return this.resultSet.isClosed(); } /** * Checks if is first. * * @return true, if is first * @throws SQLException the SQL exception * @see java.sql.ResultSet#isFirst() */ public boolean isFirst() throws SQLException { return this.resultSet.isFirst(); } /** * Checks if is last. * * @return true, if is last * @throws SQLException the SQL exception * @see java.sql.ResultSet#isLast() */ public boolean isLast() throws SQLException { return this.resultSet.isLast(); } /** * Checks if is wrapper for. * * @param arg0 the arg0 * @return true, if is wrapper for * @throws SQLException the SQL exception * @see java.sql.Wrapper#isWrapperFor(java.lang.Class) */ public boolean isWrapperFor(final Class arg0) throws SQLException { return this.resultSet.isWrapperFor(arg0); } /** * Last. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#last() */ public boolean last() throws SQLException { return this.resultSet.last(); } /** * Move to current row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#moveToCurrentRow() */ public void moveToCurrentRow() throws SQLException { this.resultSet.moveToCurrentRow(); } /** * Move to insert row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#moveToInsertRow() */ public void moveToInsertRow() throws SQLException { this.resultSet.moveToInsertRow(); } /** * Next. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#next() */ public boolean next() throws SQLException { return this.resultSet.next(); } /** * Previous. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#previous() */ public boolean previous() throws SQLException { return this.resultSet.previous(); } /** * Refresh row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#refreshRow() */ public void refreshRow() throws SQLException { this.resultSet.refreshRow(); } /** * Relative. * * @param arg0 the arg0 * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#relative(int) */ public boolean relative(final int arg0) throws SQLException { return this.resultSet.relative(arg0); } /** * Row deleted. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#rowDeleted() */ public boolean rowDeleted() throws SQLException { return this.resultSet.rowDeleted(); } /** * Row inserted. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#rowInserted() */ public boolean rowInserted() throws SQLException { return this.resultSet.rowInserted(); } /** * Row updated. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#rowUpdated() */ public boolean rowUpdated() throws SQLException { return this.resultSet.rowUpdated(); } /** * Sets the fetch direction. * * @param arg0 the new fetch direction * @throws SQLException the SQL exception * @see java.sql.ResultSet#setFetchDirection(int) */ public void setFetchDirection(final int arg0) throws SQLException { this.resultSet.setFetchDirection(arg0); } /** * Sets the fetch size. * * @param arg0 the new fetch size * @throws SQLException the SQL exception * @see java.sql.ResultSet#setFetchSize(int) */ public void setFetchSize(final int arg0) throws SQLException { this.resultSet.setFetchSize(arg0); } /** * Unwrap. * * @param the generic type * @param arg0 the arg0 * @return the t * @throws SQLException the SQL exception * @see java.sql.Wrapper#unwrap(java.lang.Class) */ public T unwrap(final Class arg0) throws SQLException { return this.resultSet.unwrap(arg0); } /** * Update array. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateArray(int, java.sql.Array) */ public void updateArray(final int arg0, final Array arg1) throws SQLException { this.resultSet.updateArray(arg0, arg1); } /** * Update array. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array) */ public void updateArray(final String arg0, final Array arg1) throws SQLException { this.resultSet.updateArray(arg0, arg1); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int) */ public void updateAsciiStream(final int arg0, final InputStream arg1, final int arg2) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1, arg2); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, long) */ public void updateAsciiStream(final int arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1, arg2); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream) */ public void updateAsciiStream(final int arg0, final InputStream arg1) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, int) */ public void updateAsciiStream(final String arg0, final InputStream arg1, final int arg2) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1, arg2); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, long) */ public void updateAsciiStream(final String arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1, arg2); } /** * Update ascii stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream) */ public void updateAsciiStream(final String arg0, final InputStream arg1) throws SQLException { this.resultSet.updateAsciiStream(arg0, arg1); } /** * Update big decimal. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal) */ public void updateBigDecimal(final int arg0, final BigDecimal arg1) throws SQLException { this.resultSet.updateBigDecimal(arg0, arg1); } /** * Update big decimal. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, java.math.BigDecimal) */ public void updateBigDecimal(final String arg0, final BigDecimal arg1) throws SQLException { this.resultSet.updateBigDecimal(arg0, arg1); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int) */ public void updateBinaryStream(final int arg0, final InputStream arg1, final int arg2) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1, arg2); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, long) */ public void updateBinaryStream(final int arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1, arg2); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream) */ public void updateBinaryStream(final int arg0, final InputStream arg1) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, int) */ public void updateBinaryStream(final String arg0, final InputStream arg1, final int arg2) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1, arg2); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, long) */ public void updateBinaryStream(final String arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1, arg2); } /** * Update binary stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream) */ public void updateBinaryStream(final String arg0, final InputStream arg1) throws SQLException { this.resultSet.updateBinaryStream(arg0, arg1); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob) */ public void updateBlob(final int arg0, final Blob arg1) throws SQLException { this.resultSet.updateBlob(arg0, arg1); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(int, java.io.InputStream, long) */ public void updateBlob(final int arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateBlob(arg0, arg1, arg2); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(int, java.io.InputStream) */ public void updateBlob(final int arg0, final InputStream arg1) throws SQLException { this.resultSet.updateBlob(arg0, arg1); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob) */ public void updateBlob(final String arg0, final Blob arg1) throws SQLException { this.resultSet.updateBlob(arg0, arg1); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream, long) */ public void updateBlob(final String arg0, final InputStream arg1, final long arg2) throws SQLException { this.resultSet.updateBlob(arg0, arg1, arg2); } /** * Update blob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBlob(java.lang.String, java.io.InputStream) */ public void updateBlob(final String arg0, final InputStream arg1) throws SQLException { this.resultSet.updateBlob(arg0, arg1); } /** * Update boolean. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBoolean(int, boolean) */ public void updateBoolean(final int arg0, final boolean arg1) throws SQLException { this.resultSet.updateBoolean(arg0, arg1); } /** * Update boolean. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean) */ public void updateBoolean(final String arg0, final boolean arg1) throws SQLException { this.resultSet.updateBoolean(arg0, arg1); } /** * Update byte. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateByte(int, byte) */ public void updateByte(final int arg0, final byte arg1) throws SQLException { this.resultSet.updateByte(arg0, arg1); } /** * Update byte. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateByte(java.lang.String, byte) */ public void updateByte(final String arg0, final byte arg1) throws SQLException { this.resultSet.updateByte(arg0, arg1); } /** * Update bytes. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBytes(int, byte[]) */ public void updateBytes(final int arg0, final byte[] arg1) throws SQLException { this.resultSet.updateBytes(arg0, arg1); } /** * Update bytes. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[]) */ public void updateBytes(final String arg0, final byte[] arg1) throws SQLException { this.resultSet.updateBytes(arg0, arg1); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int) */ public void updateCharacterStream(final int arg0, final Reader arg1, final int arg2) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1, arg2); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, long) */ public void updateCharacterStream(final int arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1, arg2); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader) */ public void updateCharacterStream(final int arg0, final Reader arg1) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, int) */ public void updateCharacterStream(final String arg0, final Reader arg1, final int arg2) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1, arg2); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, long) */ public void updateCharacterStream(final String arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1, arg2); } /** * Update character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader) */ public void updateCharacterStream(final String arg0, final Reader arg1) throws SQLException { this.resultSet.updateCharacterStream(arg0, arg1); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(int, java.sql.Clob) */ public void updateClob(final int arg0, final Clob arg1) throws SQLException { this.resultSet.updateClob(arg0, arg1); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(int, java.io.Reader, long) */ public void updateClob(final int arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateClob(arg0, arg1, arg2); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(int, java.io.Reader) */ public void updateClob(final int arg0, final Reader arg1) throws SQLException { this.resultSet.updateClob(arg0, arg1); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob) */ public void updateClob(final String arg0, final Clob arg1) throws SQLException { this.resultSet.updateClob(arg0, arg1); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader, long) */ public void updateClob(final String arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateClob(arg0, arg1, arg2); } /** * Update clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateClob(java.lang.String, java.io.Reader) */ public void updateClob(final String arg0, final Reader arg1) throws SQLException { this.resultSet.updateClob(arg0, arg1); } /** * Update date. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateDate(int, java.sql.Date) */ public void updateDate(final int arg0, final Date arg1) throws SQLException { this.resultSet.updateDate(arg0, arg1); } /** * Update date. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date) */ public void updateDate(final String arg0, final Date arg1) throws SQLException { this.resultSet.updateDate(arg0, arg1); } /** * Update double. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateDouble(int, double) */ public void updateDouble(final int arg0, final double arg1) throws SQLException { this.resultSet.updateDouble(arg0, arg1); } /** * Update double. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateDouble(java.lang.String, double) */ public void updateDouble(final String arg0, final double arg1) throws SQLException { this.resultSet.updateDouble(arg0, arg1); } /** * Update float. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateFloat(int, float) */ public void updateFloat(final int arg0, final float arg1) throws SQLException { this.resultSet.updateFloat(arg0, arg1); } /** * Update float. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateFloat(java.lang.String, float) */ public void updateFloat(final String arg0, final float arg1) throws SQLException { this.resultSet.updateFloat(arg0, arg1); } /** * Update int. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateInt(int, int) */ public void updateInt(final int arg0, final int arg1) throws SQLException { this.resultSet.updateInt(arg0, arg1); } /** * Update int. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateInt(java.lang.String, int) */ public void updateInt(final String arg0, final int arg1) throws SQLException { this.resultSet.updateInt(arg0, arg1); } /** * Update long. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateLong(int, long) */ public void updateLong(final int arg0, final long arg1) throws SQLException { this.resultSet.updateLong(arg0, arg1); } /** * Update long. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateLong(java.lang.String, long) */ public void updateLong(final String arg0, final long arg1) throws SQLException { this.resultSet.updateLong(arg0, arg1); } /** * Update n character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader, long) */ public void updateNCharacterStream(final int arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateNCharacterStream(arg0, arg1, arg2); } /** * Update n character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNCharacterStream(int, java.io.Reader) */ public void updateNCharacterStream(final int arg0, final Reader arg1) throws SQLException { this.resultSet.updateNCharacterStream(arg0, arg1); } /** * Update n character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader, long) */ public void updateNCharacterStream(final String arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateNCharacterStream(arg0, arg1, arg2); } /** * Update n character stream. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNCharacterStream(java.lang.String, java.io.Reader) */ public void updateNCharacterStream(final String arg0, final Reader arg1) throws SQLException { this.resultSet.updateNCharacterStream(arg0, arg1); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(int, java.sql.NClob) */ public void updateNClob(final int arg0, final NClob arg1) throws SQLException { this.resultSet.updateNClob(arg0, arg1); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(int, java.io.Reader, long) */ public void updateNClob(final int arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateNClob(arg0, arg1, arg2); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(int, java.io.Reader) */ public void updateNClob(final int arg0, final Reader arg1) throws SQLException { this.resultSet.updateNClob(arg0, arg1); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(java.lang.String, java.sql.NClob) */ public void updateNClob(final String arg0, final NClob arg1) throws SQLException { this.resultSet.updateNClob(arg0, arg1); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader, long) */ public void updateNClob(final String arg0, final Reader arg1, final long arg2) throws SQLException { this.resultSet.updateNClob(arg0, arg1, arg2); } /** * Update n clob. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNClob(java.lang.String, java.io.Reader) */ public void updateNClob(final String arg0, final Reader arg1) throws SQLException { this.resultSet.updateNClob(arg0, arg1); } /** * Update n string. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNString(int, java.lang.String) */ public void updateNString(final int arg0, final String arg1) throws SQLException { this.resultSet.updateNString(arg0, arg1); } /** * Update n string. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNString(java.lang.String, java.lang.String) */ public void updateNString(final String arg0, final String arg1) throws SQLException { this.resultSet.updateNString(arg0, arg1); } /** * Update null. * * @param arg0 the arg0 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNull(int) */ public void updateNull(final int arg0) throws SQLException { this.resultSet.updateNull(arg0); } /** * Update null. * * @param arg0 the arg0 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateNull(java.lang.String) */ public void updateNull(final String arg0) throws SQLException { this.resultSet.updateNull(arg0); } /** * Update object. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int) */ public void updateObject(final int arg0, final Object arg1, final int arg2) throws SQLException { this.resultSet.updateObject(arg0, arg1, arg2); } /** * Update object. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateObject(int, java.lang.Object) */ public void updateObject(final int arg0, final Object arg1) throws SQLException { this.resultSet.updateObject(arg0, arg1); } /** * Update object. * * @param arg0 the arg0 * @param arg1 the arg1 * @param arg2 the arg2 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, int) */ public void updateObject(final String arg0, final Object arg1, final int arg2) throws SQLException { this.resultSet.updateObject(arg0, arg1, arg2); } /** * Update object. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object) */ public void updateObject(final String arg0, final Object arg1) throws SQLException { this.resultSet.updateObject(arg0, arg1); } /** * Update ref. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateRef(int, java.sql.Ref) */ public void updateRef(final int arg0, final Ref arg1) throws SQLException { this.resultSet.updateRef(arg0, arg1); } /** * Update ref. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref) */ public void updateRef(final String arg0, final Ref arg1) throws SQLException { this.resultSet.updateRef(arg0, arg1); } /** * Update row. * * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateRow() */ public void updateRow() throws SQLException { this.resultSet.updateRow(); } /** * Update row id. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateRowId(int, java.sql.RowId) */ public void updateRowId(final int arg0, final RowId arg1) throws SQLException { this.resultSet.updateRowId(arg0, arg1); } /** * Update row id. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateRowId(java.lang.String, java.sql.RowId) */ public void updateRowId(final String arg0, final RowId arg1) throws SQLException { this.resultSet.updateRowId(arg0, arg1); } /** * Update sqlxml. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateSQLXML(int, java.sql.SQLXML) */ public void updateSQLXML(final int arg0, final SQLXML arg1) throws SQLException { this.resultSet.updateSQLXML(arg0, arg1); } /** * Update sqlxml. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateSQLXML(java.lang.String, java.sql.SQLXML) */ public void updateSQLXML(final String arg0, final SQLXML arg1) throws SQLException { this.resultSet.updateSQLXML(arg0, arg1); } /** * Update short. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateShort(int, short) */ public void updateShort(final int arg0, final short arg1) throws SQLException { this.resultSet.updateShort(arg0, arg1); } /** * Update short. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateShort(java.lang.String, short) */ public void updateShort(final String arg0, final short arg1) throws SQLException { this.resultSet.updateShort(arg0, arg1); } /** * Update string. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateString(int, java.lang.String) */ public void updateString(final int arg0, final String arg1) throws SQLException { this.resultSet.updateString(arg0, arg1); } /** * Update string. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String) */ public void updateString(final String arg0, final String arg1) throws SQLException { this.resultSet.updateString(arg0, arg1); } /** * Update time. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateTime(int, java.sql.Time) */ public void updateTime(final int arg0, final Time arg1) throws SQLException { this.resultSet.updateTime(arg0, arg1); } /** * Update time. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time) */ public void updateTime(final String arg0, final Time arg1) throws SQLException { this.resultSet.updateTime(arg0, arg1); } /** * Update timestamp. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp) */ public void updateTimestamp(final int arg0, final Timestamp arg1) throws SQLException { this.resultSet.updateTimestamp(arg0, arg1); } /** * Update timestamp. * * @param arg0 the arg0 * @param arg1 the arg1 * @throws SQLException the SQL exception * @see java.sql.ResultSet#updateTimestamp(java.lang.String, java.sql.Timestamp) */ public void updateTimestamp(final String arg0, final Timestamp arg1) throws SQLException { this.resultSet.updateTimestamp(arg0, arg1); } /** * Was null. * * @return true, if successful * @throws SQLException the SQL exception * @see java.sql.ResultSet#wasNull() */ public boolean wasNull() throws SQLException { return this.resultSet.wasNull(); } /** * A toString implementation which supports and logging. * * @return the string * @see java.lang.Object#toString() */ @Override public String toString() { try { if (!ObjectTester.hasToStringDefaultImpl(this.resultSet)) { return this.resultSet.toString(); } StringBuffer buf = new StringBuffer(this.resultSet.isClosed() ? "" : "open "); buf.append(this.resultSet.getClass().getSimpleName()); return buf.toString(); } catch (SQLException ex) { log.trace("Cannot get SQL state.", ex); return this.resultSet.toString(); } catch (Throwable t) { log.debug(this.resultSet.getClass().getName() + ".toString() failed.", t); return "strange ResultSet (" + t + ")"; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy