Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
package org.seasar.doma.jdbc.query
Provides query objects that build and execute SQL statements.
This package contains interfaces and classes that represent various types of database queries, such as SELECT, INSERT, UPDATE, DELETE, batch operations, and stored procedure/function calls. These query objects are responsible for building SQL statements, binding parameters, and executing the statements against a database.
The main interfaces in this package include:
Query- The base interface for all query typesSelectQuery- For SELECT operationsModifyQuery- For data modification operationsInsertQuery- For INSERT operationsUpdateQuery- For UPDATE operationsDeleteQuery- For DELETE operationsBatchModifyQuery- For batch operationsCreateQuery- For creating database resourcesModuleQuery- For calling database modules
The implementation classes in this package provide concrete functionality for these interfaces, handling SQL generation, parameter binding, and execution according to the specific requirements of each query type.
-
ClassDescriptionAbstractCreateQuery<RESULT>An abstract base class for queries that create database resources.The base abstract class for all query implementations.The base abstract class for all select query implementations.A query implementation for creating a SQL array.AutoBatchDeleteQuery<ENTITY>An auto batch delete query that is executed against an entity class.The context class for post-delete processing in batch operations.The context class for pre-delete processing in batch operations.AutoBatchInsertQuery<ENTITY>An auto batch insert query that is executed against an entity class.The context class for post-insert batch processing.The context class for pre-insert batch processing.AutoBatchModifyQuery<ENTITY>An abstract base class for auto batch modification queries.AutoBatchUpdateQuery<ENTITY>An auto batch update query that is executed against an entity class.A context class for post-update processing in batch update operations.A context class for pre-update processing in batch update operations.AutoDeleteQuery<ENTITY>An auto delete query that is executed against an entity class.Context class for post-delete operations.Context class for pre-delete operations.AutoFunctionQuery<RESULT>An auto function query that calls a database function.AutoInsertQuery<ENTITY>A query implementation for automatically inserting an entity into a database table.A context class for post-insert entity processing.A context class for pre-insert entity processing.AutoModifyQuery<ENTITY>An abstract base class for queries that automatically modify entities in a database.An abstract base class for queries that call database modules.AutoMultiInsertQuery<ENTITY>A query implementation for automatically inserting multiple entities into a database table.A context class for post-insert entity processing.A context class for pre-insert entity processing.An auto procedure query that calls a database stored procedure.AutoUpdateQuery<ENTITY>A query implementation for automatically updating an entity.A context class for post-update processing.A context class for pre-update processing.An interface for batch DELETE queries.An interface for batch INSERT queries.A query that performs batch operations to modify data in a database.An interface for batch UPDATE queries.A helper class for batch update queries.A query that creates a BLOB (Binary Large Object) in the database.A query that creates a CLOB (Character Large Object) in the database.A query that counts the number of rows that would be returned by a SELECT statement.CreateQuery<RESULT>A query that creates a database resource.An interface for assembling DELETE queries.DeleteAssemblerContext<ENTITY>An assembler for delete statements.An interface for DELETE queries.Specifies how to handle duplicate key violations during insert operations.FunctionQuery<RESULT>An interface for database function queries.An interface for assembling INSERT queries.InsertAssemblerContext<ENTITY>An assembler for insert statements.An interface for INSERT queries.Represents a row to be inserted in an INSERT statement.A query that modifies data in a database.A query that calls a database module such as a stored procedure or function.Assemble the multi-row insert query interface.MultiInsertAssemblerContext<ENTITY>An assembler for multi insert statements.A query that creates an NCLOB (National Character Large Object) in the database.An interface for database stored procedure queries.The base interface for all query types.An interface representing an operand in a database query.A parameter operand that contains both a property type and an input parameter.A property operand that references an entity property.A visitor interface for
QueryOperandimplementations.Represents a pair of query operands.An interface that represents properties to be returned from database operations.A class that resolves property names to entity property types for returning clauses.A query that executes SQL scripts.A query for selecting data from a database.A query that performs batch delete operations using SQL statements.A query that performs batch insert operations using SQL statements.An abstract base class for SQL-based batch modification queries.A query that performs batch update operations using SQL statements.A query that executes a SQL DELETE statement.SqlFileBatchDeleteQuery<ELEMENT>A query that performs batch delete operations using an external SQL file.A context for post-delete entity lifecycle callbacks.A context for pre-delete entity lifecycle callbacks.SqlFileBatchInsertQuery<ELEMENT>A query that performs batch insert operations using an external SQL file.A context for post-insert entity lifecycle callbacks.A context for pre-insert entity lifecycle callbacks.SqlFileBatchModifyQuery<ELEMENT>An abstract base class for SQL file-based batch modification queries.SqlFileBatchUpdateQuery<ELEMENT>A query that performs batch update operations using an external SQL file.A context for post-update entity lifecycle callbacks.A context for pre-update entity lifecycle callbacks.A query that deletes data from a database using an external SQL file.A context for post-delete entity lifecycle callbacks.A context for pre-delete entity lifecycle callbacks.A query that inserts data into a database using an external SQL file.A context for post-insert entity lifecycle callbacks.A context for pre-insert entity lifecycle callbacks.An abstract base class for SQL file-based data modification queries.A query that executes a SQL script file.A query that selects data from a database using an external SQL file.A query that updates data in a database using an external SQL file.A context for post-update entity lifecycle callbacks.A context for pre-update entity lifecycle callbacks.A query that executes a SQL INSERT statement.An abstract base class for SQL-based data modification queries.A query that processes SQL files.A query that executes a SQL SELECT statement.A query that executes a SQL UPDATE statement.A query that creates a SQLXML object in the database.An interface for assembling UPDATE queries.UpdateAssemblerContext<ENTITY>An assembler for update statements.An interface for UPDATE queries.An interface for assembling upsert queries.The UpsertAssemblerContext class represents the context for executing an upsert operation in a database.Support class for assembling UPSERT SQL statements.Enum representing different ways to format column names in SQL statements.Default implementation of UpsertAliasConstants that provides standard alias names.Enum representing different ways to format table names in SQL statements.Interface defining constants for table aliases used in UPSERT statements.