| Package | Description |
|---|---|
| org.seasar.doma.jdbc |
Provides JDBC related interfaces and classes.
|
| org.seasar.doma.jdbc.builder |
Provides classes to build dynamic SQL statements.
|
| org.seasar.doma.jdbc.command |
Provides classes and interfaces to execute SQL statements.
|
| org.seasar.doma.jdbc.criteria.statement |
Provides criteria query statements.
|
| org.seasar.doma.jdbc.dialect |
Provides RDBMS dialects.
|
| org.seasar.doma.jdbc.id |
Provides classes that are related to identity generation of entity.
|
| org.seasar.doma.jdbc.query |
Provides query objects that build SQL statements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSql<P extends SqlParameter>
A skeletal implementation of the
Sql interface. |
class |
CallableSql
A callable SQL.
|
class |
PreparedSql
A prepared SQL.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
AbstractJdbcLogger.getSqlText(Sql<?> sql) |
void |
AbstractJdbcLogger.logSql(java.lang.String callerClassName,
java.lang.String callerMethodName,
Sql<?> sql) |
void |
JdbcLogger.logSql(java.lang.String callerClassName,
java.lang.String callerMethodName,
Sql<?> sql)
Logs an SQL statement.
|
protected void |
AbstractJdbcLogger.logSql(java.lang.String callerClassName,
java.lang.String callerMethodName,
Sql<?> sql,
LEVEL level,
java.util.function.Supplier<java.lang.String> messageSupplier) |
| Constructor and Description |
|---|
BatchOptimisticLockException(SqlLogType logType,
Sql<?> sql) |
BatchSqlExecutionException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
BatchUniqueConstraintException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause) |
NonSingleColumnException(SqlLogType logType,
Sql<?> sql) |
NonUniqueResultException(SqlLogType logType,
Sql<?> sql) |
NoResultException(SqlLogType logType,
Sql<?> sql) |
OptimisticLockException(SqlLogType logType,
Sql<?> sql) |
ScriptException(java.lang.Throwable cause,
Sql<?> sql,
int lineNumber) |
SqlExecutionException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
UniqueConstraintException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Sql<?> |
MapInsertBuilder.getSql() |
Sql<?> |
UpdateBuilder.getSql()
Returns the built SQL.
|
Sql<?> |
SelectBuilder.getSql()
Returns the built SQL.
|
Sql<?> |
DeleteBuilder.getSql()
Returns the built SQL.
|
Sql<?> |
InsertBuilder.getSql()
Returns the built SQL.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends Sql<?>> |
MapBatchInsertBuilder.getSqls()
Returns the built SQL.
|
java.util.List<? extends Sql<?>> |
BatchDeleteExecutor.getSqls()
Returns the built SQL.
|
java.util.List<? extends Sql<?>> |
BatchInsertExecutor.getSqls()
Returns the built SQL.
|
java.util.List<? extends Sql<?>> |
BatchUpdateExecutor.getSqls()
Returns the built SQL.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ScriptCommand.ScriptSql |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptySql |
| Modifier and Type | Method and Description |
|---|---|
Sql<?> |
EntityqlBatchUpdateStatement.asSql() |
Sql<?> |
AbstractStatement.asSql() |
Sql<?> |
Buildable.asSql()
Returns the built SQL.
|
Sql<?> |
EntityqlBatchInsertStatement.asSql() |
Sql<?> |
EntityqlBatchDeleteStatement.asSql() |
Sql<?> |
EmptyWhereClauseException.getSql() |
| Modifier and Type | Method and Description |
|---|---|
SetOperator<ELEMENT> |
SetOperator.peek(java.util.function.Consumer<Sql<?>> consumer) |
STMT |
AbstractStatement.peek(java.util.function.Consumer<Sql<?>> consumer) |
default BUILDABLE |
Buildable.peek(java.util.function.Consumer<Sql<?>> consumer)
Peeks the built SQL.
|
SetOperand<ELEMENT> |
SetOperand.peek(java.util.function.Consumer<Sql<?>> consumer) |
StreamMappable<ELEMENT> |
StreamMappable.peek(java.util.function.Consumer<Sql<?>> consumer) |
default Statement<RESULT> |
Statement.peek(java.util.function.Consumer<Sql<?>> consumer) |
Listable<ELEMENT> |
Listable.peek(java.util.function.Consumer<Sql<?>> consumer) |
| Constructor and Description |
|---|
EmptyWhereClauseException(Sql<?> sql) |
| Modifier and Type | Method and Description |
|---|---|
Sql<?> |
Dialect.getIdentityReservationSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired,
int reservationSize)
Returns an SQL object to reserve identity in the database.
|
Sql<?> |
PostgresDialect.getIdentityReservationSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired,
int reservationSize) |
Sql<?> |
StandardDialect.getIdentityReservationSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired,
int reservationSize) |
Sql<?> |
Dialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired)
Returns an SQL object to get IDENTITY values that are generated in the database.
|
Sql<?> |
StandardDialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired) |
Sql<?> |
Dialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize)
Returns an SQL object to get next sequence values.
|
| Modifier and Type | Method and Description |
|---|---|
protected Sql<?> |
ReservedIdProvider.createSql() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
AbstractIdGenerator.getGeneratedValue(IdGenerationConfig config,
Sql<?> sql)
Executes the SQL and gets a generated identity.
|
| Modifier and Type | Method and Description |
|---|---|
Sql<?> |
AbstractCreateQuery.getSql() |
Sql<?> |
SqlFileScriptQuery.getSql() |
Sql<?> |
Query.getSql() |