FileDocCategorySizeDatePackage
WrappedCallableStatement.javaAPI DocJBoss 4.2.122417Fri Jul 13 21:01:14 BST 2007org.jboss.resource.adapter.jdbc

WrappedCallableStatement

public class WrappedCallableStatement extends WrappedPreparedStatement implements CallableStatement
WrappedCallableStatement
author
David Jencks
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
private final CallableStatement
cs
Constructors Summary
public WrappedCallableStatement(WrappedConnection lc, CallableStatement cs)

      super(lc, cs);
      this.cs = cs;
   
Methods Summary
public java.sql.ArraygetArray(int parameterIndex)

      checkState();
      try
      {
         return cs.getArray(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.ArraygetArray(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getArray(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.math.BigDecimalgetBigDecimal(int parameterIndex, int scale)

deprecated

      checkState();
      try
      {
         return cs.getBigDecimal(parameterIndex, scale);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.math.BigDecimalgetBigDecimal(int parameterIndex)

      checkState();
      try
      {
         return cs.getBigDecimal(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.math.BigDecimalgetBigDecimal(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getBigDecimal(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.BlobgetBlob(int parameterIndex)

      checkState();
      try
      {
         return cs.getBlob(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.BlobgetBlob(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getBlob(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public booleangetBoolean(int parameterIndex)

      checkState();
      try
      {
         return cs.getBoolean(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public booleangetBoolean(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getBoolean(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public bytegetByte(int parameterIndex)

      checkState();
      try
      {
         return cs.getByte(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public bytegetByte(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getByte(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public byte[]getBytes(int parameterIndex)

      checkState();
      try
      {
         return cs.getBytes(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public byte[]getBytes(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getBytes(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.ClobgetClob(int parameterIndex)

      checkState();
      try
      {
         return cs.getClob(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.ClobgetClob(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getClob(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.DategetDate(int parameterIndex)

      checkState();
      try
      {
         return cs.getDate(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.DategetDate(int parameterIndex, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getDate(parameterIndex, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.DategetDate(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getDate(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.DategetDate(java.lang.String parameterName, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getDate(parameterName, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public doublegetDouble(int parameterIndex)

      checkState();
      try
      {
         return cs.getDouble(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public doublegetDouble(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getDouble(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public floatgetFloat(int parameterIndex)

      checkState();
      try
      {
         return cs.getFloat(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public floatgetFloat(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getFloat(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public intgetInt(int parameterIndex)

      checkState();
      try
      {
         return cs.getInt(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public intgetInt(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getInt(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public longgetLong(int parameterIndex)

      checkState();
      try
      {
         return cs.getLong(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public longgetLong(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getLong(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.ObjectgetObject(int parameterIndex)

      checkState();
      try
      {
         return cs.getObject(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.ObjectgetObject(int parameterIndex, java.util.Map typeMap)

      checkState();
      try
      {
         return cs.getObject(parameterIndex, typeMap);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.ObjectgetObject(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getObject(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.ObjectgetObject(java.lang.String parameterName, java.util.Map typeMap)

      checkState();
      try
      {
         return cs.getObject(parameterName, typeMap);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.RefgetRef(int parameterIndex)

      checkState();
      try
      {
         return cs.getRef(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.RefgetRef(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getRef(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public shortgetShort(int parameterIndex)

      checkState();
      try
      {
         return cs.getShort(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public shortgetShort(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getShort(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.StringgetString(int parameterIndex)

     checkState();
     try
      {
         return cs.getString(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.lang.StringgetString(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getString(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimegetTime(int parameterIndex)

      checkState();
      try
      {
         return cs.getTime(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimegetTime(int parameterIndex, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getTime(parameterIndex, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimegetTime(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getTime(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimegetTime(java.lang.String parameterName, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getTime(parameterName, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimestampgetTimestamp(int parameterIndex)

      checkState();
      try
      {
         return cs.getTimestamp(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimestampgetTimestamp(int parameterIndex, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getTimestamp(parameterIndex, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimestampgetTimestamp(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getTimestamp(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.sql.TimestampgetTimestamp(java.lang.String parameterName, java.util.Calendar calendar)

      checkState();
      try
      {
         return cs.getTimestamp(parameterName, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.net.URLgetURL(int parameterIndex)

     checkState();
     try
      {
         return cs.getURL(parameterIndex);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public java.net.URLgetURL(java.lang.String parameterName)

      checkState();
      try
      {
         return cs.getURL(parameterName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(int parameterIndex, int sqlType)

      checkState();
      try
      {
         cs.registerOutParameter(parameterIndex, sqlType);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(int parameterIndex, int sqlType, int scale)

      checkState();
      try
      {
         cs.registerOutParameter(parameterIndex, sqlType, scale);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(int parameterIndex, int sqlType, java.lang.String typeName)

      checkState();
      try
      {
         cs.registerOutParameter(parameterIndex, sqlType, typeName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(java.lang.String parameterName, int sqlType)

      checkState();
      try
      {
         cs.registerOutParameter(parameterName, sqlType);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(java.lang.String parameterName, int sqlType, int scale)

      checkState();
      try
      {
         cs.registerOutParameter(parameterName, sqlType, scale);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidregisterOutParameter(java.lang.String parameterName, int sqlType, java.lang.String typeName)

      checkState();
      try
      {
         cs.registerOutParameter(parameterName, sqlType, typeName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream stream, int length)

      checkState();
      try
      {
         cs.setAsciiStream(parameterName, stream, length);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetBigDecimal(java.lang.String parameterName, java.math.BigDecimal value)

      checkState();
      try
      {
         cs.setBigDecimal(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream stream, int length)

      checkState();
      try
      {
         cs.setBinaryStream(parameterName, stream, length);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetBoolean(java.lang.String parameterName, boolean value)

      checkState();
      try
      {
         cs.setBoolean(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetByte(java.lang.String parameterName, byte value)

      checkState();
      try
      {
         cs.setByte(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetBytes(java.lang.String parameterName, byte[] value)

      checkState();
      try
      {
         cs.setBytes(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length)

      checkState();
      try
      {
         cs.setCharacterStream(parameterName, reader, length);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetDate(java.lang.String parameterName, java.sql.Date value)

      checkState();
      try
      {
         cs.setDate(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetDate(java.lang.String parameterName, java.sql.Date value, java.util.Calendar calendar)

      checkState();
      try
      {
         cs.setDate(parameterName, value, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetDouble(java.lang.String parameterName, double value)

      checkState();
      try
      {
         cs.setDouble(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetFloat(java.lang.String parameterName, float value)

      checkState();
      try
      {
         cs.setFloat(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetInt(java.lang.String parameterName, int value)

      checkState();
      try
      {
         cs.setInt(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetLong(java.lang.String parameterName, long value)

      checkState();
      try
      {
         cs.setLong(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetNull(java.lang.String parameterName, int value)

      checkState();
      try
      {
         cs.setNull(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetNull(java.lang.String parameterName, int sqlType, java.lang.String typeName)

      checkState();
      try
      {
         cs.setNull(parameterName, sqlType, typeName);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetObject(java.lang.String parameterName, java.lang.Object value, int sqlType, int scale)

      checkState();
      try
      {
         cs.setObject(parameterName, value, sqlType, scale);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetObject(java.lang.String parameterName, java.lang.Object value, int sqlType)

      checkState();
      try
      {
         cs.setObject(parameterName, value, sqlType);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetObject(java.lang.String parameterName, java.lang.Object value)

      checkState();
      try
      {
         cs.setObject(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetShort(java.lang.String parameterName, short value)

      checkState();
      try
      {
         cs.setShort(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetString(java.lang.String parameterName, java.lang.String value)

      checkState();
      try
      {
         cs.setString(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetTime(java.lang.String parameterName, java.sql.Time value)

      checkState();
      try
      {
         cs.setTime(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetTime(java.lang.String parameterName, java.sql.Time value, java.util.Calendar calendar)

      checkState();
      try
      {
         cs.setTime(parameterName, value, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp value)

      checkState();
      try
      {
         cs.setTimestamp(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp value, java.util.Calendar calendar)

      checkState();
      try
      {
         cs.setTimestamp(parameterName, value, calendar);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public voidsetURL(java.lang.String parameterName, java.net.URL value)

      checkState();
      try
      {
         cs.setURL(parameterName, value);
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }
   
public booleanwasNull()

      checkState();
      try
      {
         return cs.wasNull();
      }
      catch (Throwable t)
      {
         throw checkException(t);
      }