-
Methods in java.sql that return Blob
| Modifier and Type |
Method |
Description |
Blob |
Connection.createBlob() |
Returns a new empty Blob.
|
Blob |
CallableStatement.getBlob(int parameterIndex) |
Gets the value of a specified JDBC BLOB parameter as a
java.sql.Blob.
|
Blob |
CallableStatement.getBlob(String parameterName) |
Gets the value of a specified JDBC BLOB parameter as a
java.sql.Blob.
|
Blob |
ResultSet.getBlob(int columnIndex) |
Gets the value of a column specified by column index as a
java.sql.Blob object.
|
Blob |
ResultSet.getBlob(String columnName) |
Gets the value of a column specified by column name, as a
java.sql.Blob object.
|
Blob |
SQLInput.readBlob() |
Returns the next attribute in the stream in the form of a
java.sql.Blob.
|
Methods in java.sql with parameters of type Blob
| Modifier and Type |
Method |
Description |
long |
Blob.position(Blob pattern,
long start) |
Search for the position in this Blob at which a specified pattern
begins, starting at a specified position within the Blob.
|
void |
CallableStatement.setBlob(String parameterName,
Blob blob) |
Sets the named parameter to the given blob.
|
void |
PreparedStatement.setBlob(int parameterIndex,
Blob theBlob) |
Sets the value of a specified parameter to the given Blob object.
|
void |
ResultSet.updateBlob(int columnIndex,
Blob x) |
Updates a column specified by a column index with a java.sql.Blob
value.
|
void |
ResultSet.updateBlob(String columnName,
Blob x) |
Updates a column specified by a column name with a java.sql.Blob
value.
|
void |
SQLOutput.writeBlob(Blob theBlob) |
Write an SQL Blob value into the output stream.
|
-
Methods in javax.sql with parameters of type Blob
| Modifier and Type |
Method |
Description |
void |
RowSet.setBlob(int parameterIndex,
Blob theBlob) |
Sets the value of the specified parameter in the RowSet command
to the supplied Blob value.
|
void |
RowSet.setBlob(String parameterName,
Blob theBlob) |
Sets the value of the specified parameter in the RowSet command with the
value of a supplied java.sql.Blob.
|
-