| Method from org.apache.commons.dbcp.DelegatingPreparedStatement Detail: |
public void addBatch() throws SQLException {
checkOpen(); try { _stmt.addBatch(); } catch (SQLException e) { handleException(e); }
}
|
public void clearParameters() throws SQLException {
checkOpen(); try { _stmt.clearParameters(); } catch (SQLException e) { handleException(e); }
}
|
public boolean equals(Object obj) {
PreparedStatement delegate = (PreparedStatement) getInnermostDelegate();
if (delegate == null) {
return false;
}
if (obj instanceof DelegatingPreparedStatement) {
DelegatingPreparedStatement s = (DelegatingPreparedStatement) obj;
return delegate.equals(s.getInnermostDelegate());
}
else {
return delegate.equals(obj);
}
}
|
public boolean execute() throws SQLException {
checkOpen(); try { return _stmt.execute(); } catch (SQLException e) { handleException(e); return false; }
}
|
public ResultSet executeQuery() throws SQLException {
checkOpen();
try {
return DelegatingResultSet.wrapResultSet(this,_stmt.executeQuery());
}
catch (SQLException e) {
handleException(e);
return null;
}
}
|
public int executeUpdate() throws SQLException {
checkOpen(); try { return _stmt.executeUpdate(); } catch (SQLException e) { handleException(e); return 0; }
}
|
public ResultSetMetaData getMetaData() throws SQLException {
checkOpen(); try { return _stmt.getMetaData(); } catch (SQLException e) { handleException(e); return null; }
}
|
public ParameterMetaData getParameterMetaData() throws SQLException {
checkOpen(); try { return _stmt.getParameterMetaData(); } catch (SQLException e) { handleException(e); return null; }
}
|
public void setArray(int i,
Array x) throws SQLException {
checkOpen(); try { _stmt.setArray(i,x); } catch (SQLException e) { handleException(e); }
}
|
public void setAsciiStream(int parameterIndex,
InputStream x,
int length) throws SQLException {
checkOpen(); try { _stmt.setAsciiStream(parameterIndex,x,length); } catch (SQLException e) { handleException(e); }
}
|
public void setBigDecimal(int parameterIndex,
BigDecimal x) throws SQLException {
checkOpen(); try { _stmt.setBigDecimal(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setBinaryStream(int parameterIndex,
InputStream x,
int length) throws SQLException {
checkOpen(); try { _stmt.setBinaryStream(parameterIndex,x,length); } catch (SQLException e) { handleException(e); }
}
|
public void setBlob(int i,
Blob x) throws SQLException {
checkOpen(); try { _stmt.setBlob(i,x); } catch (SQLException e) { handleException(e); }
}
|
public void setBoolean(int parameterIndex,
boolean x) throws SQLException {
checkOpen(); try { _stmt.setBoolean(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setByte(int parameterIndex,
byte x) throws SQLException {
checkOpen(); try { _stmt.setByte(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setBytes(int parameterIndex,
byte[] x) throws SQLException {
checkOpen(); try { _stmt.setBytes(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setCharacterStream(int parameterIndex,
Reader reader,
int length) throws SQLException {
checkOpen(); try { _stmt.setCharacterStream(parameterIndex,reader,length); } catch (SQLException e) { handleException(e); }
}
|
public void setClob(int i,
Clob x) throws SQLException {
checkOpen(); try { _stmt.setClob(i,x); } catch (SQLException e) { handleException(e); }
}
|
public void setDate(int parameterIndex,
Date x) throws SQLException {
checkOpen(); try { _stmt.setDate(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setDate(int parameterIndex,
Date x,
Calendar cal) throws SQLException {
checkOpen(); try { _stmt.setDate(parameterIndex,x,cal); } catch (SQLException e) { handleException(e); }
}
|
public void setDelegate(PreparedStatement s) {
super.setDelegate(s);
_stmt = s;
}
|
public void setDouble(int parameterIndex,
double x) throws SQLException {
checkOpen(); try { _stmt.setDouble(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setFloat(int parameterIndex,
float x) throws SQLException {
checkOpen(); try { _stmt.setFloat(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setInt(int parameterIndex,
int x) throws SQLException {
checkOpen(); try { _stmt.setInt(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setLong(int parameterIndex,
long x) throws SQLException {
checkOpen(); try { _stmt.setLong(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setNull(int parameterIndex,
int sqlType) throws SQLException {
checkOpen(); try { _stmt.setNull(parameterIndex,sqlType); } catch (SQLException e) { handleException(e); }
}
|
public void setNull(int paramIndex,
int sqlType,
String typeName) throws SQLException {
checkOpen(); try { _stmt.setNull(paramIndex,sqlType,typeName); } catch (SQLException e) { handleException(e); }
}
|
public void setObject(int parameterIndex,
Object x) throws SQLException {
checkOpen(); try { _stmt.setObject(parameterIndex, x); } catch (SQLException e) { handleException(e); }
}
|
public void setObject(int parameterIndex,
Object x,
int targetSqlType) throws SQLException {
checkOpen(); try { _stmt.setObject(parameterIndex, x, targetSqlType); } catch (SQLException e) { handleException(e); }
}
|
public void setObject(int parameterIndex,
Object x,
int targetSqlType,
int scale) throws SQLException {
checkOpen(); try { _stmt.setObject(parameterIndex, x, targetSqlType, scale); } catch (SQLException e) { handleException(e); }
}
|
public void setRef(int i,
Ref x) throws SQLException {
checkOpen(); try { _stmt.setRef(i,x); } catch (SQLException e) { handleException(e); }
}
|
public void setShort(int parameterIndex,
short x) throws SQLException {
checkOpen(); try { _stmt.setShort(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setString(int parameterIndex,
String x) throws SQLException {
checkOpen(); try { _stmt.setString(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setTime(int parameterIndex,
Time x) throws SQLException {
checkOpen(); try { _stmt.setTime(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setTime(int parameterIndex,
Time x,
Calendar cal) throws SQLException {
checkOpen(); try { _stmt.setTime(parameterIndex,x,cal); } catch (SQLException e) { handleException(e); }
}
|
public void setTimestamp(int parameterIndex,
Timestamp x) throws SQLException {
checkOpen(); try { _stmt.setTimestamp(parameterIndex,x); } catch (SQLException e) { handleException(e); }
}
|
public void setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal) throws SQLException {
checkOpen(); try { _stmt.setTimestamp(parameterIndex,x,cal); } catch (SQLException e) { handleException(e); }
}
|
public void setURL(int parameterIndex,
URL x) throws SQLException {
checkOpen(); try { _stmt.setURL(parameterIndex, x); } catch (SQLException e) { handleException(e); }
}
|
public void setUnicodeStream(int parameterIndex,
InputStream x,
int length) throws SQLException {
checkOpen(); try { _stmt.setUnicodeStream(parameterIndex,x,length); } catch (SQLException e) { handleException(e); }
} Deprecated!
|
public String toString() {
return _stmt.toString();
}
Returns a String representation of this object. |