| Package | Description |
|---|---|
| org.seasar.doma.jdbc |
Provides JDBC related interfaces and classes.
|
| org.seasar.doma.jdbc.command |
Provides classes and interfaces to execute SQL statements.
|
| org.seasar.doma.jdbc.criteria.query |
Provides the SQL queries and builders.
|
| 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 | Method and Description |
|---|---|
default <RESULT> SqlProcessorCommand<RESULT> |
CommandImplementors.createSqlProcessorCommand(java.lang.reflect.Method method,
SqlProcessorQuery query,
java.util.function.BiFunction<Config,PreparedSql,RESULT> handler)
Creates a
SqlProcessorCommand object |
| Modifier and Type | Field and Description |
|---|---|
protected PreparedSql |
SelectCommand.sql |
protected PreparedSql |
ModifyCommand.sql |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.BiFunction<Config,PreparedSql,RESULT> |
SqlProcessorCommand.handler |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BatchModifyCommand.bindParameters(java.sql.PreparedStatement preparedStatement,
PreparedSql sql) |
protected int[] |
BatchModifyCommand.executeBatch(java.sql.PreparedStatement preparedStatement,
PreparedSql sql) |
protected int |
BatchInsertCommand.executeUpdate(java.sql.PreparedStatement preparedStatement,
PreparedSql sql) |
protected void |
BatchModifyCommand.log(PreparedSql sql) |
protected java.sql.PreparedStatement |
BatchModifyCommand.prepareStatement(java.sql.Connection connection,
PreparedSql sql) |
protected void |
BatchModifyCommand.validateRows(java.sql.PreparedStatement preparedStatement,
PreparedSql sql,
int[] rows) |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
BatchModifyCommand.executeBatch(java.sql.PreparedStatement preparedStatement,
java.util.List<PreparedSql> sqls) |
protected int[] |
BatchDeleteCommand.executeInternal(java.sql.PreparedStatement preparedStatement,
java.util.List<PreparedSql> sqls) |
protected int[] |
BatchUpdateCommand.executeInternal(java.sql.PreparedStatement preparedStatement,
java.util.List<PreparedSql> sqls) |
protected int[] |
BatchInsertCommand.executeInternal(java.sql.PreparedStatement preparedStatement,
java.util.List<PreparedSql> sqls) |
protected abstract int[] |
BatchModifyCommand.executeInternal(java.sql.PreparedStatement preparedStatement,
java.util.List<PreparedSql> sqls) |
| Constructor and Description |
|---|
SqlProcessorCommand(SqlProcessorQuery query,
java.util.function.BiFunction<Config,PreparedSql,RESULT> handler) |
| Modifier and Type | Method and Description |
|---|---|
PreparedSql |
UpdateBuilder.build() |
PreparedSql |
SetOperationBuilder.build() |
PreparedSql |
SelectBuilder.build() |
PreparedSql |
DeleteBuilder.build() |
PreparedSql |
InsertBuilder.build() |
PreparedSql |
CriteriaQuery.getSql() |
| Constructor and Description |
|---|
CriteriaQuery(Config config,
PreparedSql sql,
java.lang.String className,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
PreparedSql |
H212126Dialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired) |
PreparedSql |
PostgresDialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired) |
PreparedSql |
SqliteDialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired) |
PreparedSql |
HsqldbDialect.getIdentitySelectSql(java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String columnName,
boolean isQuoteRequired,
boolean isIdColumnQuoteRequired) |
PreparedSql |
MssqlDialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
H212126Dialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
Db2Dialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
PostgresDialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
Oracle11Dialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
HsqldbDialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
PreparedSql |
StandardDialect.getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize) |
| Modifier and Type | Field and Description |
|---|---|
protected PreparedSql |
BuiltinTableIdGenerator.selectSql |
protected PreparedSql |
BuiltinTableIdGenerator.updateSql |
| Modifier and Type | Method and Description |
|---|---|
protected long |
BuiltinTableIdGenerator.selectId(IdGenerationConfig config,
PreparedSql sql) |
protected void |
BuiltinTableIdGenerator.updateId(IdGenerationConfig config,
PreparedSql sql) |
| Modifier and Type | Field and Description |
|---|---|
protected PreparedSql |
SqlModifyQuery.sql |
protected PreparedSql |
AutoModifyQuery.sql |
protected PreparedSql |
AbstractSelectQuery.sql |
protected PreparedSql |
SqlFileModifyQuery.sql |
protected PreparedSql |
SqlProcessorQuery.sql |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<PreparedSql> |
SqlFileBatchModifyQuery.sqls |
protected java.util.List<PreparedSql> |
AutoBatchModifyQuery.sqls |
protected java.util.List<PreparedSql> |
SqlBatchModifyQuery.sqls |
| Modifier and Type | Method and Description |
|---|---|
PreparedSql |
SqlModifyQuery.getSql() |
PreparedSql |
AutoModifyQuery.getSql() |
PreparedSql |
SqlFileBatchModifyQuery.getSql() |
PreparedSql |
SelectQuery.getSql() |
PreparedSql |
AbstractSelectQuery.getSql() |
PreparedSql |
BatchModifyQuery.getSql() |
PreparedSql |
SqlFileModifyQuery.getSql() |
PreparedSql |
AutoBatchModifyQuery.getSql() |
PreparedSql |
SqlProcessorQuery.getSql() |
PreparedSql |
ModifyQuery.getSql() |
PreparedSql |
SqlBatchModifyQuery.getSql() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PreparedSql> |
SqlFileBatchModifyQuery.getSqls() |
java.util.List<PreparedSql> |
BatchModifyQuery.getSqls() |
java.util.List<PreparedSql> |
AutoBatchModifyQuery.getSqls() |
java.util.List<PreparedSql> |
SqlBatchModifyQuery.getSqls() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSelectQuery.buildSql(java.util.function.BiFunction<org.seasar.doma.internal.expr.ExpressionEvaluator,java.util.function.Function<org.seasar.doma.internal.jdbc.sql.node.ExpandNode,java.util.List<java.lang.String>>,PreparedSql> sqlBuilder) |