| 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.context |
Provides contexts and settings used to build the criteria query statements.
|
| org.seasar.doma.jdbc.criteria.query |
Provides the SQL queries and builders.
|
| org.seasar.doma.jdbc.criteria.statement |
Provides criteria query statements.
|
| org.seasar.doma.jdbc.query |
Provides query objects that build SQL statements.
|
| Modifier and Type | Field and Description |
|---|---|
protected SqlLogType |
AbstractSql.sqlLogType |
| Modifier and Type | Method and Description |
|---|---|
default SqlLogType |
Config.getExceptionSqlLogType()
Returns the SQL log type that determines the SQL log format in exceptions.
|
SqlLogType |
AbstractSql.getSqlLogType() |
SqlLogType |
Sql.getSqlLogType()
Returns the type of the SQL log.
|
static SqlLogType |
SqlLogType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlLogType[] |
SqlLogType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
JdbcException.choiceSql(SqlLogType logType,
java.lang.String rawSql,
java.lang.String formattedSql)
Chooses the SQL string for logging depending on the log type
|
| Constructor and Description |
|---|
AbstractSql(SqlKind kind,
java.lang.CharSequence rawSql,
java.lang.CharSequence formattedSql,
java.lang.String sqlFilePath,
java.util.List<? extends P> parameters,
SqlLogType sqlLogType,
java.util.function.Function<java.lang.String,java.lang.String> commenter) |
BatchOptimisticLockException(SqlLogType logType,
Sql<?> sql) |
BatchOptimisticLockException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String sqlFilePath) |
BatchSqlExecutionException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
BatchSqlExecutionException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String sqlFilePath,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
BatchUniqueConstraintException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause) |
BatchUniqueConstraintException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String sqlFilePath,
java.lang.Throwable cause) |
CallableSql(SqlKind kind,
java.lang.CharSequence rawSql,
java.lang.CharSequence formattedSql,
java.util.List<? extends SqlParameter> parameters,
SqlLogType sqlLogType,
java.util.function.Function<java.lang.String,java.lang.String> converter) |
NonSingleColumnException(SqlLogType logType,
Sql<?> sql) |
NonSingleColumnException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
NonUniqueResultException(SqlLogType logType,
Sql<?> sql) |
NonUniqueResultException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
NoResultException(SqlLogType logType,
Sql<?> sql) |
NoResultException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
OptimisticLockException(SqlLogType logType,
Sql<?> sql) |
OptimisticLockException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
PreparedSql(SqlKind kind,
java.lang.CharSequence rawSql,
java.lang.CharSequence formattedSql,
java.lang.String sqlFilePath,
java.util.List<? extends InParameter<?>> parameters,
SqlLogType sqlLogType) |
PreparedSql(SqlKind kind,
java.lang.CharSequence rawSql,
java.lang.CharSequence formattedSql,
java.lang.String sqlFilePath,
java.util.List<? extends InParameter<?>> parameters,
SqlLogType sqlLogType,
java.util.function.Function<java.lang.String,java.lang.String> commenter) |
ResultMappingException(SqlLogType logType,
java.lang.String entityClassName,
java.util.List<java.lang.String> unmappedPropertyNames,
java.util.List<java.lang.String> expectedColumnNames,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
SqlExecutionException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
SqlExecutionException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath,
java.lang.Throwable cause,
java.lang.Throwable rootCause) |
UniqueConstraintException(SqlLogType logType,
Sql<?> sql,
java.lang.Throwable cause) |
UniqueConstraintException(SqlLogType logType,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath,
java.lang.Throwable cause) |
UnknownColumnException(SqlLogType logType,
java.lang.String columnName,
java.lang.String expectedPropertyName,
java.lang.String entityClassName,
SqlKind kind,
java.lang.String rawSql,
java.lang.String formattedSql,
java.lang.String sqlFilePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
MapBatchInsertBuilder.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
MapInsertBuilder.sqlLogType(SqlLogType sqlLogType) |
void |
UpdateBuilder.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
BatchDeleteExecutor.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
BatchInsertExecutor.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
SelectBuilder.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
DeleteBuilder.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
BatchUpdateExecutor.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
void |
InsertBuilder.sqlLogType(SqlLogType sqlLogType)
Sets the SQL log format.
|
| Constructor and Description |
|---|
ScriptSql(java.lang.String rawSql,
java.lang.String sqlFilePath,
SqlLogType sqlLogType,
java.util.function.Function<java.lang.String,java.lang.String> converter) |
| Modifier and Type | Method and Description |
|---|---|
SqlLogType |
Settings.getSqlLogType()
Returns the SQL log type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Settings.setSqlLogType(SqlLogType sqlLogType)
Sets the SQL log type.
|
| Modifier and Type | Method and Description |
|---|---|
SqlLogType |
CriteriaQuery.getSqlLogType() |
| Constructor and Description |
|---|
DeleteBuilder(Config config,
DeleteContext context,
java.util.function.Function<java.lang.String,java.lang.String> commenter,
SqlLogType sqlLogType) |
InsertBuilder(Config config,
InsertContext context,
java.util.function.Function<java.lang.String,java.lang.String> commenter,
SqlLogType sqlLogType) |
SelectBuilder(Config config,
SelectContext context,
java.util.function.Function<java.lang.String,java.lang.String> commenter,
SqlLogType sqlLogType) |
SetOperationBuilder(Config config,
SetOperationContext<?> context,
java.util.function.Function<java.lang.String,java.lang.String> commenter,
SqlLogType sqlLogType) |
UpdateBuilder(Config config,
UpdateContext context,
java.util.function.Function<java.lang.String,java.lang.String> commenter,
SqlLogType sqlLogType) |
| Modifier and Type | Method and Description |
|---|---|
SqlLogType |
EmptySql.getSqlLogType() |
| Modifier and Type | Field and Description |
|---|---|
protected SqlLogType |
SqlModifyQuery.sqlLogType |
protected SqlLogType |
SqlFileScriptQuery.sqlLogType |
protected SqlLogType |
AutoModifyQuery.sqlLogType |
protected SqlLogType |
SqlFileBatchModifyQuery.sqlLogType |
protected SqlLogType |
AbstractSelectQuery.sqlLogType |
protected SqlLogType |
AutoModuleQuery.sqlLogType |
protected SqlLogType |
SqlFileModifyQuery.sqlLogType |
protected SqlLogType |
AutoBatchModifyQuery.sqlLogType |
protected SqlLogType |
SqlBatchModifyQuery.sqlLogType |
| Modifier and Type | Method and Description |
|---|---|
SqlLogType |
SqlModifyQuery.getSqlLogType() |
SqlLogType |
SqlFileScriptQuery.getSqlLogType() |
SqlLogType |
ScriptQuery.getSqlLogType() |
SqlLogType |
AutoModifyQuery.getSqlLogType() |
SqlLogType |
SqlFileBatchModifyQuery.getSqlLogType() |
SqlLogType |
SelectQuery.getSqlLogType() |
SqlLogType |
AbstractSelectQuery.getSqlLogType() |
SqlLogType |
BatchModifyQuery.getSqlLogType() |
SqlLogType |
ModuleQuery.getSqlLogType() |
SqlLogType |
AutoModuleQuery.getSqlLogType() |
SqlLogType |
SqlFileModifyQuery.getSqlLogType() |
SqlLogType |
AutoBatchModifyQuery.getSqlLogType() |
SqlLogType |
ModifyQuery.getSqlLogType() |
SqlLogType |
SqlBatchModifyQuery.getSqlLogType() |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlModifyQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
SqlFileScriptQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
AutoModifyQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
SqlFileBatchModifyQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
AbstractSelectQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
AutoModuleQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
SqlFileModifyQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
AutoBatchModifyQuery.setSqlLogType(SqlLogType sqlLogType) |
void |
SqlBatchModifyQuery.setSqlLogType(SqlLogType sqlLogType) |