Methods Summary |
---|
public void | addBatch()
checkState();
try
{
ps.addBatch();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | clearParameters()
checkState();
try
{
ps.clearParameters();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public boolean | execute()
checkTransaction();
try
{
checkConfiguredQueryTimeout();
return ps.execute();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public java.sql.ResultSet | executeQuery()
checkTransaction();
try
{
checkConfiguredQueryTimeout();
ResultSet resultSet = ps.executeQuery();
return registerResultSet(resultSet);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public int | executeUpdate()
checkTransaction();
try
{
checkConfiguredQueryTimeout();
return ps.executeUpdate();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public java.sql.ResultSetMetaData | getMetaData()
checkState();
try
{
return ps.getMetaData();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public java.sql.ParameterMetaData | getParameterMetaData()
checkState();
try
{
return ps.getParameterMetaData();
}
catch (Throwable t)
{
throw checkException(t);
}
|
public java.sql.Statement | getUnderlyingStatement()
checkState();
if (ps instanceof CachedPreparedStatement)
{
return ((CachedPreparedStatement)ps).getUnderlyingPreparedStatement();
}
else
{
return ps;
}
|
public void | setArray(int parameterIndex, java.sql.Array value)
checkState();
try
{
ps.setArray(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setAsciiStream(int parameterIndex, java.io.InputStream stream, int length)
checkState();
try
{
ps.setAsciiStream(parameterIndex, stream, length);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setBigDecimal(int parameterIndex, java.math.BigDecimal value)
checkState();
try
{
ps.setBigDecimal(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setBinaryStream(int parameterIndex, java.io.InputStream stream, int length)
checkState();
try
{
ps.setBinaryStream(parameterIndex, stream, length);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setBlob(int parameterIndex, java.sql.Blob value)
checkState();
try
{
ps.setBlob(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setBoolean(int parameterIndex, boolean value)
checkState();
try
{
ps.setBoolean(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setByte(int parameterIndex, byte value)
checkState();
try
{
ps.setByte(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setBytes(int parameterIndex, byte[] value)
checkState();
try
{
ps.setBytes(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setCharacterStream(int parameterIndex, java.io.Reader reader, int length)
checkState();
try
{
ps.setCharacterStream(parameterIndex, reader, length);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setClob(int parameterIndex, java.sql.Clob value)
checkState();
try
{
ps.setClob(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setDate(int parameterIndex, java.sql.Date value)
checkState();
try
{
ps.setDate(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setDate(int parameterIndex, java.sql.Date value, java.util.Calendar calendar)
checkState();
try
{
ps.setDate(parameterIndex, value, calendar);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setDouble(int parameterIndex, double value)
checkState();
try
{
ps.setDouble(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setFloat(int parameterIndex, float value)
checkState();
try
{
ps.setFloat(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setInt(int parameterIndex, int value)
checkState();
try
{
ps.setInt(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setLong(int parameterIndex, long value)
checkState();
try
{
ps.setLong(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setNull(int parameterIndex, int sqlType)
checkState();
try
{
ps.setNull(parameterIndex, sqlType);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setNull(int parameterIndex, int sqlType, java.lang.String typeName)
checkState();
try
{
ps.setNull(parameterIndex, sqlType, typeName);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setObject(int parameterIndex, java.lang.Object value, int sqlType, int scale)
checkState();
try
{
ps.setObject(parameterIndex, value, sqlType, scale);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setObject(int parameterIndex, java.lang.Object value, int sqlType)
checkState();
try
{
ps.setObject(parameterIndex, value, sqlType);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setObject(int parameterIndex, java.lang.Object value)
checkState();
try
{
ps.setObject(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setRef(int parameterIndex, java.sql.Ref value)
checkState();
try
{
ps.setRef(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setShort(int parameterIndex, short value)
checkState();
try
{
ps.setShort(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setString(int parameterIndex, java.lang.String value)
checkState();
try
{
ps.setString(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setTime(int parameterIndex, java.sql.Time value)
checkState();
try
{
ps.setTime(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setTime(int parameterIndex, java.sql.Time value, java.util.Calendar calendar)
checkState();
try
{
ps.setTime(parameterIndex, value, calendar);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setTimestamp(int parameterIndex, java.sql.Timestamp value)
checkState();
try
{
ps.setTimestamp(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setTimestamp(int parameterIndex, java.sql.Timestamp value, java.util.Calendar calendar)
checkState();
try
{
ps.setTimestamp(parameterIndex, value, calendar);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setURL(int parameterIndex, java.net.URL value)
checkState();
try
{
ps.setURL(parameterIndex, value);
}
catch (Throwable t)
{
throw checkException(t);
}
|
public void | setUnicodeStream(int parameterIndex, java.io.InputStream stream, int length)
checkState();
try
{
ps.setUnicodeStream(parameterIndex, stream, length);
}
catch (Throwable t)
{
throw checkException(t);
}
|