| Package | Description |
|---|---|
| org.seasar.doma.jdbc.criteria.context |
Provides contexts and settings used to build the criteria query statements.
|
| org.seasar.doma.jdbc.entity |
Provides the classes that are related to entities.
|
| org.seasar.doma.jdbc.query |
Provides query objects that build SQL statements.
|
| Modifier and Type | Field and Description |
|---|---|
DuplicateKeyType |
InsertContext.OnDuplicateContext.duplicateKeyType |
| Modifier and Type | Method and Description |
|---|---|
DuplicateKeyType |
PostInsertContext.getDuplicateKeyType()
Retrieves the type of the duplicate key when inserting a new entity.
|
DuplicateKeyType |
PreInsertContext.getDuplicateKeyType()
Retrieves the type of the duplicate key when inserting a new entity.
|
| Modifier and Type | Field and Description |
|---|---|
DuplicateKeyType |
UpsertAssemblerContext.duplicateKeyType |
protected DuplicateKeyType |
AutoInsertQuery.duplicateKeyType |
protected DuplicateKeyType |
AutoBatchInsertQuery.duplicateKeyType |
| Modifier and Type | Method and Description |
|---|---|
static DuplicateKeyType |
DuplicateKeyType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DuplicateKeyType[] |
DuplicateKeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static UpsertAssemblerContext |
UpsertAssemblerContextBuilder.build(org.seasar.doma.internal.jdbc.sql.PreparedSqlBuilder buf,
EntityType<?> entityType,
DuplicateKeyType duplicateKeyType,
Naming naming,
Dialect dialect,
java.util.List<EntityPropertyType<?,?>> keys,
java.util.List<QueryOperandPair> insertValues,
java.util.List<QueryOperandPair> setValues) |
static <ENTITY> UpsertAssemblerContext |
UpsertAssemblerContextBuilder.buildFromEntity(org.seasar.doma.internal.jdbc.sql.PreparedSqlBuilder buf,
EntityType<ENTITY> entityType,
DuplicateKeyType duplicateKeyType,
Naming naming,
Dialect dialect,
java.util.List<EntityPropertyType<ENTITY,?>> idPropertyTypes,
java.util.List<EntityPropertyType<ENTITY,?>> insertPropertyTypes,
ENTITY entity) |
void |
AutoInsertQuery.setDuplicateKeyType(DuplicateKeyType duplicateKeyType) |
void |
AutoBatchInsertQuery.setDuplicateKeyType(DuplicateKeyType duplicateKeyType) |
| Constructor and Description |
|---|
AutoBatchPostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoBatchPreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoPostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoPreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |