Uses of Interface
org.seasar.doma.jdbc.Sql
Packages that use Sql
Package
Description
Internal implementation details for the Doma framework.
Provides JDBC related interfaces and classes.
Provides classes to build dynamic SQL statements.
Provides classes and interfaces to execute SQL statements using the command pattern.
Provides criteria query statements.
Provides RDBMS dialects.
Provides classes that are related to identity generation of entity.
Provides query objects that build and execute SQL statements.
Provides classes and interfaces for collecting and managing SQL execution statistics.
-
Uses of Sql in org.seasar.doma.internal.jdbc.util
Methods in org.seasar.doma.internal.jdbc.util with parameters of type SqlModifier and TypeMethodDescriptionstatic CallableStatementJdbcUtil.prepareCall(Connection connection, Sql<?> sql) static PreparedStatementJdbcUtil.prepareStatement(Connection connection, Sql<?> sql) static PreparedStatementJdbcUtil.prepareStatementForAutoGeneratedKeys(Connection connection, Sql<?> sql) static PreparedStatementJdbcUtil.prepareStatementForAutoGeneratedKeysOfFirstColumn(Connection connection, Sql<?> sql) -
Uses of Sql in org.seasar.doma.jdbc
Classes in org.seasar.doma.jdbc that implement SqlModifier and TypeClassDescriptionclassAbstractSql<P extends SqlParameter>A skeletal implementation of theSqlinterface.classA callable SQL.classA prepared SQL.Methods in org.seasar.doma.jdbc with parameters of type SqlModifier and TypeMethodDescriptionprotected StringAbstractJdbcLogger.getSqlText(Sql<?> sql) voidprotected voidAbstractJdbcLogger.logSql(String callerClassName, String callerMethodName, Sql<?> sql, LEVEL level, Supplier<String> messageSupplier) voidLogs an SQL statement.Constructors in org.seasar.doma.jdbc with parameters of type SqlModifierConstructorDescriptionBatchOptimisticLockException(SqlLogType logType, Sql<?> sql) BatchSqlExecutionException(SqlLogType logType, Sql<?> sql, Throwable cause, Throwable rootCause) BatchUniqueConstraintException(SqlLogType logType, Sql<?> sql, Throwable cause) NonSingleColumnException(SqlLogType logType, Sql<?> sql) NonUniqueResultException(SqlLogType logType, Sql<?> sql) NoResultException(SqlLogType logType, Sql<?> sql) OptimisticLockException(SqlLogType logType, Sql<?> sql) ScriptException(Throwable cause, Sql<?> sql, int lineNumber) SqlExecutionException(SqlLogType logType, Sql<?> sql, Throwable cause, Throwable rootCause) UniqueConstraintException(SqlLogType logType, Sql<?> sql, Throwable cause) -
Uses of Sql in org.seasar.doma.jdbc.builder
Methods in org.seasar.doma.jdbc.builder that return SqlModifier and TypeMethodDescriptionSql<?>DeleteBuilder.getSql()Returns the built SQL.Sql<?>InsertBuilder.getSql()Returns the built SQL.Sql<?>MapInsertBuilder.getSql()Sql<?>SelectBuilder.getSql()Returns the built SQL.Sql<?>UpdateBuilder.getSql()Returns the built SQL.Methods in org.seasar.doma.jdbc.builder that return types with arguments of type Sql -
Uses of Sql in org.seasar.doma.jdbc.command
Classes in org.seasar.doma.jdbc.command that implement SqlModifier and TypeClassDescriptionprotected static classA SQL statement in a script. -
Uses of Sql in org.seasar.doma.jdbc.criteria.statement
Classes in org.seasar.doma.jdbc.criteria.statement that implement SqlMethods in org.seasar.doma.jdbc.criteria.statement that return SqlModifier and TypeMethodDescriptionSql<?>AbstractStatement.asSql()Sql<?>Buildable.asSql()Returns the built SQL.Sql<?>EntityqlBatchDeleteStatement.asSql()Sql<?>EntityqlBatchInsertIntermediate.asSql()Sql<?>EntityqlBatchInsertStatement.asSql()Sql<?>EntityqlBatchInsertTerminate.asSql()Sql<?>EntityqlBatchUpdateStatement.asSql()Sql<?>EntityqlMultiInsertIntermediate.asSql()Sql<?>EntityqlMultiInsertReturningStatement.asSql()Sql<?>EntityqlMultiInsertStatement.asSql()Sql<?>EntityqlMultiInsertTerminal.asSql()Sql<?>EmptyWhereClauseException.getSql()Method parameters in org.seasar.doma.jdbc.criteria.statement with type arguments of type SqlConstructors in org.seasar.doma.jdbc.criteria.statement with parameters of type Sql -
Uses of Sql in org.seasar.doma.jdbc.dialect
Methods in org.seasar.doma.jdbc.dialect that return SqlModifier and TypeMethodDescriptionSql<?>Dialect.getIdentityReservationSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired, int reservationSize) Deprecated.Sql<?>PostgresDialect.getIdentityReservationSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired, int reservationSize) Sql<?>StandardDialect.getIdentityReservationSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired, int reservationSize) Sql<?>Dialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) Returns an SQL object to retrieve IDENTITY values that were generated during an insert operation.Sql<?>StandardDialect.getIdentitySelectSql(String catalogName, String schemaName, String tableName, String columnName, boolean isQuoteRequired, boolean isIdColumnQuoteRequired) Sql<?>Dialect.getSequenceNextValSql(String qualifiedSequenceName, long allocationSize) Returns an SQL object to retrieve the next value from a database sequence. -
Uses of Sql in org.seasar.doma.jdbc.id
Methods in org.seasar.doma.jdbc.id that return SqlMethods in org.seasar.doma.jdbc.id with parameters of type SqlModifier and TypeMethodDescriptionprotected longAbstractIdGenerator.getGeneratedValue(IdGenerationConfig config, Sql<?> sql) Executes the SQL and gets a generated identity. -
Uses of Sql in org.seasar.doma.jdbc.query
Methods in org.seasar.doma.jdbc.query that return Sql -
Uses of Sql in org.seasar.doma.jdbc.statistic
Methods in org.seasar.doma.jdbc.statistic with parameters of type SqlModifier and TypeMethodDescriptiondefault <RESULT,EXCEPTION extends Exception>
RESULTStatisticManager.executeSql(Sql<?> sql, ThrowingSupplier<RESULT, EXCEPTION> supplier) Executes SQL and records the execution.voidDefaultStatisticManager.recordSqlExecution(Sql<?> sql, long startTimeNanos, long endTimeNanos) voidStatisticManager.recordSqlExecution(Sql<?> sql, long startTimeNanos, long endTimeNanos) Records the execution of SQL.