Interface CreateQuery<RESULT>

Type Parameters:
RESULT - the type of the resource to be created
All Superinterfaces:
Query
All Known Implementing Classes:
AbstractCreateQuery, ArrayCreateQuery, BlobCreateQuery, ClobCreateQuery, NClobCreateQuery, SQLXMLCreateQuery

public interface CreateQuery<RESULT> extends Query
A query that creates a database resource.

This interface is used to create JDBC resources such as BLOB, CLOB, Array, etc.

  • Method Details

    • create

      RESULT 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