Skip to Main Content
JDBC Pocket Reference
book

JDBC Pocket Reference

by Donald Bales
January 2003
Intermediate to advanced content levelIntermediate to advanced
176 pages
5h 3m
English
O'Reilly Media, Inc.
Content preview from JDBC Pocket Reference
CallableStatement
48
|
JDBC Pocket Reference
BigDecimal getBigDecimal(int parameterIndex)
BigDecimal getBigDecimal(String parameterName)
Returns a value as a java.math.BigDecimal. (Java 1.2/1.4)
Blob getBlob(int parameterIndex)
Blob getBlob(String parameterName)
Returns a Blob locator, not the BLOB value. Use the Blob’s
getBinaryStream( ) method to retrieve the BLOB value using
an
InputStream, or use its setBinaryStream( ) method to write
the BLOB value using an
OutputStream. (Java 1.2/1.4)
boolean getBoolean(int parameterIndex)
boolean getBoolean(String parameterName)
Returns a value as a boolean. (Java 1.4)
byte getByte(int parameterIndex)
byte getByte(String parameterName)
Returns a value as a byte. (Java 1.4)
byte[ ] getBytes(int parameterIndex)
byte[ ] getBytes(String parameterName)
Returns a value as a byte array. (Java 1.4)
Clob getClob(int parameterIndex)
Clob getClob(String parameterName)
Returns a Clob locator, not the CLOB value. Use the Clob’s
getCharacterStream( ) method to retrieve the CLOB value
using a
Reader, or use its setCharacterStream( ) method to
write the CLOB value using a
Writer. (Java 1.2/1.4)
Date getDate(int parameterIndex)
Date getDate(String parameterName)
Returns a value as a java.sql.Date. (Java 1.4)
Date getDate(int parameterIndex, Calendar calendar)
Returns the value as a java.sql.Date for the specified
Calendar. (Java 1.2/1.4)
double getDouble(int parameterIndex)
double getDouble(String ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Couchbase Server, Second Edition

Pro Couchbase Server, Second Edition

David Ostrovsky, Mohammed Haji, Yaniv Rodenski
Pro Couchbase Server

Pro Couchbase Server

David Ostrovsky, Yaniv Rodenski

Publisher Resources

ISBN: 9780596528713