Uses of Class
org.seasar.doma.jdbc.PreparedSql
Packages that use PreparedSql
Package
Description
Internal implementation details for the Doma framework.
Provides JDBC related interfaces and classes.
Provides classes and interfaces to execute SQL statements using the command pattern.
Provides the SQL queries and builders.
Provides RDBMS dialects.
Provides classes that are related to identity generation of entity.
Provides query objects that build and execute SQL statements.
-
Uses of PreparedSql in org.seasar.doma.internal.jdbc.sql
Methods in org.seasar.doma.internal.jdbc.sql that return PreparedSql -
Uses of PreparedSql in org.seasar.doma.jdbc
Method parameters in org.seasar.doma.jdbc with type arguments of type PreparedSqlModifier and TypeMethodDescriptiondefault <RESULT> SqlProcessorCommand<RESULT>CommandImplementors.createSqlProcessorCommand(Method method, SqlProcessorQuery query, BiFunction<Config, PreparedSql, RESULT> handler) Creates aSqlProcessorCommandobject -
Uses of PreparedSql in org.seasar.doma.jdbc.command
Fields in org.seasar.doma.jdbc.command declared as PreparedSqlModifier and TypeFieldDescriptionprotected final PreparedSqlModifyCommand.sqlThe prepared SQL statement that will be executed.protected final PreparedSqlModifyReturningCommand.sqlThe SQL to execute.protected final PreparedSqlSelectCommand.sqlThe prepared SQL statement that will be executed.Fields in org.seasar.doma.jdbc.command with type parameters of type PreparedSqlModifier and TypeFieldDescriptionprotected final BiFunction<Config,PreparedSql, RESULT> SqlProcessorCommand.handlerthe handler function that processes the SQLMethods in org.seasar.doma.jdbc.command with parameters of type PreparedSqlModifier and TypeMethodDescriptionprotected voidBatchModifyCommand.bindParameters(PreparedStatement preparedStatement, PreparedSql sql) Binds parameters to the prepared statement.protected int[]BatchModifyCommand.executeBatch(PreparedStatement preparedStatement, PreparedSql sql) Executes the batch operation.protected intBatchInsertCommand.executeUpdate(PreparedStatement preparedStatement, PreparedSql sql) Executes a single update operation.protected voidBatchModifyCommand.log(PreparedSql sql) Logs the SQL statement.protected PreparedStatementBatchModifyCommand.prepareStatement(Connection connection, PreparedSql sql) Prepares a statement for execution.protected voidBatchModifyCommand.validateRows(PreparedStatement preparedStatement, PreparedSql sql, int[] rows) Validates the affected rows count.Method parameters in org.seasar.doma.jdbc.command with type arguments of type PreparedSqlModifier and TypeMethodDescriptionprotected int[]BatchModifyCommand.executeBatch(PreparedStatement preparedStatement, List<PreparedSql> sqls) Executes the batch operation.protected int[]BatchDeleteCommand.executeInternal(PreparedStatement preparedStatement, List<PreparedSql> sqls) Executes the batch delete.protected int[]BatchInsertCommand.executeInternal(PreparedStatement preparedStatement, List<PreparedSql> sqls) Executes the batch insert and generates IDs if necessary.protected abstract int[]BatchModifyCommand.executeInternal(PreparedStatement preparedStatement, List<PreparedSql> sqls) Executes the batch operation internally.protected int[]BatchUpdateCommand.executeInternal(PreparedStatement preparedStatement, List<PreparedSql> sqls) Executes the batch update and increments version numbers.Constructor parameters in org.seasar.doma.jdbc.command with type arguments of type PreparedSqlModifierConstructorDescriptionSqlProcessorCommand(SqlProcessorQuery query, BiFunction<Config, PreparedSql, RESULT> handler) Creates a new instance. -
Uses of PreparedSql in org.seasar.doma.jdbc.criteria.query
Methods in org.seasar.doma.jdbc.criteria.query that return PreparedSqlModifier and TypeMethodDescriptionDeleteBuilder.build()InsertBuilder.build()SelectBuilder.build()SetOperationBuilder.build()UpdateBuilder.build()CriteriaQuery.getSql()Constructors in org.seasar.doma.jdbc.criteria.query with parameters of type PreparedSqlModifierConstructorDescriptionCriteriaQuery(Config config, PreparedSql sql, String className, String methodName) -
Uses of PreparedSql in org.seasar.doma.jdbc.dialect
Methods in org.seasar.doma.jdbc.dialect that return PreparedSqlModifier and TypeMethodDescriptionH212126Dialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) HsqldbDialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) PostgresDialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) SqliteDialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) Db2Dialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) H212126Dialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) HsqldbDialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) MssqlDialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) Oracle11Dialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) PostgresDialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) StandardDialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) -
Uses of PreparedSql in org.seasar.doma.jdbc.id
Fields in org.seasar.doma.jdbc.id declared as PreparedSqlModifier and TypeFieldDescriptionprotected PreparedSqlBuiltinTableIdGenerator.selectSqlprotected PreparedSqlBuiltinTableIdGenerator.updateSqlMethods in org.seasar.doma.jdbc.id with parameters of type PreparedSqlModifier and TypeMethodDescriptionprotected longBuiltinTableIdGenerator.selectId(IdGenerationConfig config, PreparedSql sql) protected voidBuiltinTableIdGenerator.updateId(IdGenerationConfig config, PreparedSql sql) -
Uses of PreparedSql in org.seasar.doma.jdbc.query
Fields in org.seasar.doma.jdbc.query declared as PreparedSqlModifier and TypeFieldDescriptionprotected PreparedSqlAbstractSelectQuery.sqlThe prepared SQL for this query.protected PreparedSqlAutoModifyQuery.sqlThe prepared SQL for this query.protected PreparedSqlSqlFileModifyQuery.sqlThe prepared SQL statement.protected PreparedSqlSqlModifyQuery.sqlThe prepared SQL statement.protected PreparedSqlSqlProcessorQuery.sqlThe prepared SQL statement.Fields in org.seasar.doma.jdbc.query with type parameters of type PreparedSqlModifier and TypeFieldDescriptionprotected List<PreparedSql>AutoBatchModifyQuery.sqlsThe list of SQL statements to be executed in batch.protected List<PreparedSql>SqlBatchModifyQuery.sqlsThe prepared SQL statements for the batch.protected List<PreparedSql>SqlFileBatchModifyQuery.sqlsThe prepared SQL statements for the batch.Methods in org.seasar.doma.jdbc.query that return PreparedSqlModifier and TypeMethodDescriptionAbstractSelectQuery.getSql()Returns the prepared SQL for this select query.AutoBatchModifyQuery.getSql()Returns the first SQL statement in the batch.AutoModifyQuery.getSql()Returns the prepared SQL for this modification query.BatchModifyQuery.getSql()Returns a representative prepared SQL statement for this batch query.ModifyQuery.getSql()Returns the prepared SQL for this modification query.SelectQuery.getSql()Returns the prepared SQL for this select query.SqlBatchModifyQuery.getSql()Returns a representative prepared SQL statement for this batch query.SqlFileBatchModifyQuery.getSql()Returns a representative prepared SQL statement for this batch query.SqlFileModifyQuery.getSql()Returns the prepared SQL for this modification query.SqlModifyQuery.getSql()Returns the prepared SQL for this modification query.SqlProcessorQuery.getSql()Returns the prepared SQL statement.Methods in org.seasar.doma.jdbc.query that return types with arguments of type PreparedSqlModifier and TypeMethodDescriptionAutoBatchModifyQuery.getSqls()Returns all SQL statements in the batch.BatchModifyQuery.getSqls()Returns the list of prepared SQL statements for this batch query.SqlBatchModifyQuery.getSqls()Returns the list of prepared SQL statements for this batch query.SqlFileBatchModifyQuery.getSqls()Returns the list of prepared SQL statements for this batch query.Method parameters in org.seasar.doma.jdbc.query with type arguments of type PreparedSqlModifier and TypeMethodDescriptionprotected voidAbstractSelectQuery.buildSql(BiFunction<ExpressionEvaluator, Function<ExpandNode, List<String>>, PreparedSql> sqlBuilder) Deprecated, for removal: This API element is subject to removal in a future version.This method is scheduled for removal in a future version