How to convert a string to java.sql.blob

Uses of Interface
java.sql.Blob

  • PackageDescription
    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.
    javax.sql.rowset
    Standard interfaces and base classes for JDBC implementations.
    javax.sql.rowset.serial
    Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
    • Uses of Blob in java.sql

      Modifier and TypeMethod and Description
      Connection.
      Constructs an object that implements the interface.
      CallableStatement.
      Retrieves the value of the designated JDBC parameter as an object in the Java programming language.
      ResultSet.
      Retrieves the value of the designated column in the current row of this object as an object in the Java programming language.
      CallableStatement.
      Retrieves the value of a JDBC parameter as an object in the Java programming language.
      ResultSet.
      Retrieves the value of the designated column in the current row of this object as an object in the Java programming language.
      SQLInput.
      Reads an SQL value from the stream and returns it as an object in the Java programming language.
      Modifier and TypeMethod and Description
      Blob.
      Retrieves the byte position in the value designated by this object at which begins.
      PreparedStatement.
      Sets the designated parameters to the given object.
      CallableStatement.
      Sets the designated parameters to the given object.
      ResultSet.
      Updates the designated column with a value.
      ResultSet.
      Updates the designated column with a value.
      SQLOutput.
      Writes an SQL value to the stream.
    • Uses of Blob in javax.sql

      Modifier and TypeMethod and Description
      RowSet.
      Sets the designated parameter in this object's command with the given value.
      RowSet.
      Sets the designated parameters to the given object.
    • Uses of Blob in javax.sql.rowset

      Modifier and TypeMethod and Description
      BaseRowSet.
      Sets the designated parameters to the given object in the Java programming language.
      BaseRowSet.
      Sets the designated parameters to the given object.
    • Uses of Blob in javax.sql.rowset.serial

      Modifier and TypeClass and Description
      A serialized mapping in the Java programming language of an SQL value.
      Modifier and TypeMethod and Description
      SQLInputImpl.
      Retrieves the value at the head of this object as an object in the Java programming language.
      Modifier and TypeMethod and Description
      SerialBlob.
      Returns the position in this object where the given object begins, starting the search at the specified position.
      SQLOutputImpl.
      Writes an object in the Java programming language to this object.
      Constructor and Description
      Constructs an object that is a serialized version of the given object.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2021, Oracle and / or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.