GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface CallableStatement
extends PreparedStatement
Fields inherited from interface java.sql.Statement | |
CLOSE_ALL_RESULTS , CLOSE_CURRENT_RESULT , EXECUTE_FAILED , KEEP_CURRENT_RESULT , NO_GENERATED_KEYS , RETURN_GENERATED_KEYS , SUCCESS_NO_INFO |
Method Summary | |
Array |
|
Array | |
BigDecimal |
|
BigDecimal |
|
BigDecimal |
|
Blob |
|
Blob | |
boolean |
|
boolean |
|
byte |
|
byte | |
byte[] |
|
byte[] | |
Clob |
|
Clob | |
Date |
|
Date | |
Date | |
Date | |
double |
|
double | |
float |
|
float | |
int |
|
int | |
long |
|
long | |
Object |
|
Object |
|
Object | |
Object | |
Ref |
|
Ref | |
short |
|
short | |
String |
|
String | |
Time |
|
Time | |
Time | |
Time | |
Timestamp |
|
Timestamp |
|
Timestamp |
|
Timestamp |
|
URL |
|
URL | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
void |
|
void | |
boolean |
|
Methods inherited from interface java.sql.PreparedStatement | |
addBatch , clearParameters , execute , executeQuery , executeUpdate , getMetaData , getParameterMetaData , setArray , setAsciiStream , setBigDecimal , setBinaryStream , setBlob , setBoolean , setByte , setBytes , setCharacterStream , setClob , setDate , setDate , setDouble , setFloat , setInt , setLong , setNull , setNull , setObject , setObject , setObject , setRef , setShort , setString , setTime , setTime , setTimestamp , setTimestamp , setURL , setUnicodeStream |
public Array getArray(int index) throws SQLException
This method returns the value of the specified parameter as a JavaArray
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
Array
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Array getArray(String name) throws SQLException
This method returns the value of the specified parameter as a JavaArray
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
Array
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public BigDecimal getBigDecimal(int index) throws SQLException
This method returns the value of the specified parameter as a JavaBigDecimal
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
BigDecimal
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public BigDecimal getBigDecimal(int index, int scale) throws SQLException
Deprecated. Use getBigDecimal(int index) or getBigDecimal(String name) instead.
This method returns the value of the specified parameter as a JavaBigDecimal
.
- Parameters:
index
- The index of the parameter to return.scale
- The number of digits to the right of the decimal to return.
- Returns:
- The parameter value as a
BigDecimal
.
- Throws:
SQLException
- If an error occurs.
public BigDecimal getBigDecimal(String name) throws SQLException
This method returns the value of the specified parameter as a JavaBigDecimal
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
BigDecimal
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Blob getBlob(int index) throws SQLException
This method returns the value of the specified parameter as a JavaBlob
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
Blob
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Blob getBlob(String name) throws SQLException
This method returns the value of the specified parameter as a JavaBlob
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
Blob
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public boolean getBoolean(int index) throws SQLException
This method returns the value of the specified parameter as a Javaboolean
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
boolean
.
- Throws:
SQLException
- If an error occurs.
public boolean getBoolean(String name) throws SQLException
This method returns the value of the specified parameter as a Javaboolean
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
boolean
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public byte getByte(int index) throws SQLException
This method returns the value of the specified parameter as a Javabyte
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
byte
.
- Throws:
SQLException
- If an error occurs.
public byte getByte(String name) throws SQLException
This method returns the value of the specified parameter as a Javabyte
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
byte
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public byte[] getBytes(int index) throws SQLException
This method returns the value of the specified parameter as a Java byte array.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a byte array
- Throws:
SQLException
- If an error occurs.
public byte[] getBytes(String name) throws SQLException
This method returns the value of the specified parameter as a Javabyte
array.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
byte[]
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Clob getClob(int index) throws SQLException
This method returns the value of the specified parameter as a JavaClob
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
Clob
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Clob getClob(String name) throws SQLException
This method returns the value of the specified parameter as a JavaClob
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
Clob
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Date getDate(int index) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Date
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Date
.
- Throws:
SQLException
- If an error occurs.
public Date getDate(int index, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Date
.
- Parameters:
index
- The index of the parameter to return.cal
- TheCalendar
to use for timezone and locale.
- Returns:
- The parameter value as a
java.sql.Date
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Date getDate(String name) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Date
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Date
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Date getDate(String name, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Date
.
- Parameters:
name
- The name of the parameter to return.cal
- TheCalendar
to use for timezone and locale.
- Returns:
- The parameter value as a
java.sql.Date
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public double getDouble(int index) throws SQLException
This method returns the value of the specified parameter as a Javadouble
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
double
.
- Throws:
SQLException
- If an error occurs.
public double getDouble(String name) throws SQLException
This method returns the value of the specified parameter as a Javadouble
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
double
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public float getFloat(int index) throws SQLException
This method returns the value of the specified parameter as a Javafloat
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
float
.
- Throws:
SQLException
- If an error occurs.
public float getFloat(String name) throws SQLException
This method returns the value of the specified parameter as a Javafloat
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
float
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public int getInt(int index) throws SQLException
This method returns the value of the specified parameter as a Javaint
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
int
.
- Throws:
SQLException
- If an error occurs.
public int getInt(String name) throws SQLException
This method returns the value of the specified parameter as a Javaint
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
int
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public long getLong(int index) throws SQLException
This method returns the value of the specified parameter as a Javalong
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
long
.
- Throws:
SQLException
- If an error occurs.
public long getLong(String name) throws SQLException
This method returns the value of the specified parameter as a Javalong
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
long
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Object getObject(int index) throws SQLException
This method returns the value of the specified parameter as a JavaObject
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as an
Object
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Object getObject(int index, Map> map) throws SQLException
This method returns the value of the specified parameter as a JavaObject
.
- Parameters:
index
- The index of the parameter to return.map
- The mapping to use for conversion from SQL to Java types.
- Returns:
- The parameter value as an
Object
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Object getObject(String name) throws SQLException
This method returns the value of the specified parameter as a JavaObject
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
Object
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Object getObject(String name, Map> map) throws SQLException
This method returns the value of the specified parameter as a JavaObject
using the specified mapping for conversion from SQL to Java types.
- Parameters:
name
- The name of the parameter to return.map
- The mapping to use for conversion from SQL to Java types.
- Returns:
- The parameter value as an
Object
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Ref getRef(int index) throws SQLException
This method returns the value of the specified parameter as a JavaRef
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
Ref
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Ref getRef(String name) throws SQLException
This method returns the value of the specified parameter as a JavaRef
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
Ref
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public short getShort(int index) throws SQLException
This method returns the value of the specified parameter as a Javashort
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
short
.
- Throws:
SQLException
- If an error occurs.
public short getShort(String name) throws SQLException
This method returns the value of the specified parameter as a Javashort
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
short
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public String getString(int index) throws SQLException
This method returns the value of the specified parameter as a JavaString
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
String
.
- Throws:
SQLException
- If an error occurs.
public String getString(String name) throws SQLException
This method returns the value of the specified parameter as a JavaString
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
String
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Time getTime(int index) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Time
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Time
.
- Throws:
SQLException
- If an error occurs.
public Time getTime(int index, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Time
.
- Parameters:
index
- The index of the parameter to return.cal
- TheCalendar
to use for timezone and locale.
- Returns:
- The parameter value as a
java.sql.Time
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Time getTime(String name) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Time
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Time
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Time getTime(String name, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Time
.
- Parameters:
name
- The name of the parameter to return.cal
- TheCalendar
to use for timezone and locale.
- Returns:
- The parameter value as a
java.sql.Time
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Timestamp getTimestamp(int index) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Timestamp
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Timestamp
.
- Throws:
SQLException
- If an error occurs.
public Timestamp getTimestamp(int index, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Timestamp
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Timestamp
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public Timestamp getTimestamp(String name) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Timestamp
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
java.sql.Timestamp
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public Timestamp getTimestamp(String name, Calendar cal) throws SQLException
This method returns the value of the specified parameter as a Javajava.sql.Timestamp
.
- Parameters:
name
- The name of the parameter to return.cal
- TheCalendar
to use for timezone and locale.
- Returns:
- The parameter value as a
java.sql.Timestamp
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public URL getURL(int index) throws SQLException
This method returns the value of the specified parameter as a Javajava.net.URL
.
- Parameters:
index
- The index of the parameter to return.
- Returns:
- The parameter value as a
URL
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public URL getURL(String name) throws SQLException
This method returns the value of the specified parameter as a Javajava.net.URL
.
- Parameters:
name
- The name of the parameter to return.
- Returns:
- The parameter value as a
java.net.URL
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void registerOutParameter(int index, int sqlType) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type.
- Parameters:
index
- The index of the parameter to register as output.sqlType
- The SQL type value fromTypes
.
- Throws:
SQLException
- If an error occurs.
public void registerOutParameter(int index, int sqlType, int scale) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type and scale.
- Parameters:
index
- The index of the parameter to register as output.sqlType
- The SQL type value fromTypes
.scale
- The scale of the value that will be returned.
- Throws:
SQLException
- If an error occurs.
public void registerOutParameter(int index, int sqlType, String typeName) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type.
- Parameters:
index
- The index of the parameter to register as output.sqlType
- The SQL type value fromTypes
.typeName
- The user defined data type name.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.2
public void registerOutParameter(String name, int sqlType) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type.
- Parameters:
name
- The name of the parameter to register as output.sqlType
- The SQL type value fromTypes
.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void registerOutParameter(String name, int sqlType, int scale) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type. This version of registerOutParameter is used for NUMERIC or DECIMAL types.
- Parameters:
name
- The name of the parameter to register as output.sqlType
- The SQL type value fromTypes
.scale
- Number of digits to the right of the decimal point.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void registerOutParameter(String name, int sqlType, String typeName) throws SQLException
This method registers the specified parameter as an output parameter of the specified SQL type. This version of registerOutParameter is used for user-named or REF types. If the type of the output parameter does not have such a type, the typeName argument is ignored.
- Parameters:
name
- The name of the parameter to register as output.sqlType
- The SQL type value fromTypes
.typeName
- The SQL structured type name.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setAsciiStream(String name, InputStream stream, int count) throws SQLException
This method sets the specified parameter from the given Java ASCIIInputStream
value.
- Parameters:
name
- The name of the parameter value to set.stream
- The stream from which the parameter value is read.count
- The number of bytes in the stream.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setBigDecimal(String name, BigDecimal value) throws SQLException
This method sets the specified parameter from the given JavaBigDecimal
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setBinaryStream(String name, InputStream stream, int count) throws SQLException
This method sets the specified parameter from the given Java binaryInputStream
value.
- Parameters:
name
- The name of the parameter value to set.stream
- The stream from which the parameter value is read.count
- The number of bytes in the stream.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setBoolean(String name, boolean value) throws SQLException
This method sets the specified parameter from the given Javaboolean
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setByte(String name, byte value) throws SQLException
This method sets the specified parameter from the given Javabyte
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setBytes(String name, byte[] value) throws SQLException
This method sets the specified parameter from the given Javabyte
array value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setCharacterStream(String name, Reader reader, int count) throws SQLException
This method sets the specified parameter from the given Java characterReader
value.
- Parameters:
name
- The name of the parameter value to set.reader
- The reader from which the parameter value is read.count
- The number of characters in the stream.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setDate(String name, Date value) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Date
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setDate(String name, Date value, Calendar cal) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Date
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.cal
- TheCalendar
to use for timezone and locale.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setDouble(String name, double value) throws SQLException
This method sets the specified parameter from the given Javadouble
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setFloat(String name, float value) throws SQLException
This method sets the specified parameter from the given Javafloat
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setInt(String name, int value) throws SQLException
This method sets the specified parameter from the given Javaint
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setLong(String name, long value) throws SQLException
This method sets the specified parameter from the given Javalong
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setNull(String name, int sqlType) throws SQLException
This method populates the specified parameter with a SQL NULL value for the specified type.
- Parameters:
name
- The name of the parameter to set.sqlType
- The SQL type identifier of the parameter fromTypes
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setNull(String name, int sqlType, String typeName) throws SQLException
This method populates the specified parameter with a SQL NULL value for the specified type.
- Parameters:
name
- The name of the parameter to set.sqlType
- The SQL type identifier of the parameter fromTypes
typeName
- The name of the data type, for user defined types.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setObject(String name, Object value) throws SQLException
This method sets the specified parameter from the given JavaObject
value. The default object type to SQL type mapping will be used.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setObject(String name, Object value, int sqlType) throws SQLException
This method sets the specified parameter from the given JavaObject
value. The specified SQL object type will be used.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.sqlType
- The SQL type to use for the parameter, fromTypes
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
- See Also:
Types
public void setObject(String name, Object value, int sqlType, int scale) throws SQLException
This method sets the specified parameter from the given JavaObject
value. The specified SQL object type will be used.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.sqlType
- The SQL type to use for the parameter, fromTypes
scale
- The scale of the value, for numeric values only.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
- See Also:
Types
public void setShort(String name, short value) throws SQLException
This method sets the specified parameter from the given Javashort
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setString(String name, String value) throws SQLException
This method sets the specified parameter from the given JavaString
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setTime(String name, Time value) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Time
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setTime(String name, Time value, Calendar cal) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Time
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.cal
- TheCalendar
to use for timezone and locale.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setTimestamp(String name, Timestamp value) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Timestamp
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setTimestamp(String name, Timestamp value, Calendar cal) throws SQLException
This method sets the specified parameter from the given Javajava.sql.Timestamp
value.
- Parameters:
name
- The name of the parameter value to set.value
- The value of the parameter.cal
- TheCalendar
to use for timezone and locale.
- Throws:
SQLException
- If an error occurs.
- Since:
- 1.4
public void setURL(String name, URL value) throws SQLException
This method sets the value of the specified parameter to the specifiedjava.net.URL
- Parameters:
name
- The name of the parameter to set.value
- The value the parameter.
- Since:
- 1.4
public boolean wasNull() throws SQLException
This method tests whether the value of the last parameter that was fetched was actually a SQL NULL value.
- Returns:
true
if the last parameter fetched was a NULL,false
otherwise.
- Throws:
SQLException
- If an error occurs.
GNU Classpath (0.95) |