JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Interface
java.sql.Blob

Packages that use Blob
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
javax.sql Provides the API for server side data source access and processing from the JavaTM programming language. 
 

Uses of Blob in java.sql
 

Methods in java.sql that return Blob
 Blob SQLInput.readBlob()
          Reads an SQL BLOB value from the stream and returns it as a Blob object in the Java programming language.
 Blob CallableStatement.getBlob(int i)
          Retrieves the value of the designated JDBC BLOB parameter as a Blob object in the Java programming language.
 Blob CallableStatement.getBlob(String parameterName)
          Retrieves the value of a JDBC BLOB parameter as a Blob object in the Java programming language.
 Blob ResultSet.getBlob(int i)
          Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language.
 Blob ResultSet.getBlob(String colName)
          Retrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language.
 

Methods in java.sql with parameters of type Blob
 void SQLOutput.writeBlob(Blob x)
          Writes an SQL BLOB value to the stream.
 long Blob.position(Blob pattern, long start)
          Retrieves the byte position in the BLOB value designated by this Blob object at which pattern begins.
 void PreparedStatement.setBlob(int i, Blob x)
          Sets the designated parameter to the given Blob object.
 void ResultSet.updateBlob(int columnIndex, Blob x)
          Updates the designated column with a java.sql.Blob value.
 void ResultSet.updateBlob(String columnName, Blob x)
          Updates the designated column with a java.sql.Blob value.
 

Uses of Blob in javax.sql
 

Methods in javax.sql with parameters of type Blob
 void RowSet.setBlob(int i, Blob x)
          Sets the designated parameter in this RowSet object's command with the given Blob value.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.