Class BlobCreateQuery

All Implemented Interfaces:
CreateQuery<Blob>, Query

public class BlobCreateQuery extends AbstractCreateQuery<Blob>
A query that creates a BLOB (Binary Large Object) in the database.

This class extends AbstractCreateQuery to provide functionality for creating BLOB objects. It uses the JDBC connection's createBlob method to create a new empty BLOB instance.

  • Constructor Details

    • BlobCreateQuery

      public BlobCreateQuery()
  • Method Details

    • create

      public Blob create(Connection connection) throws SQLException
      Creates a database resource using the given connection.
      Parameters:
      connection - the JDBC connection
      Returns:
      the created resource
      Throws:
      SQLException - if a database access error occurs