| Package | Description |
|---|---|
| org.seasar.doma.jdbc |
Provides JDBC related interfaces and classes.
|
| org.seasar.doma.jdbc.criteria.metamodel |
Provides metamodels used to build the criteria query statements.
|
| org.seasar.doma.jdbc.entity |
Provides the classes that are related to entities.
|
| 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 <ENTITY> AutoBatchDeleteQuery<ENTITY> |
QueryImplementors.createAutoBatchDeleteQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default <ENTITY> AutoBatchInsertQuery<ENTITY> |
QueryImplementors.createAutoBatchInsertQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default <ENTITY> AutoBatchUpdateQuery<ENTITY> |
QueryImplementors.createAutoBatchUpdateQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default <ENTITY> AutoDeleteQuery<ENTITY> |
QueryImplementors.createAutoDeleteQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default <ENTITY> AutoInsertQuery<ENTITY> |
QueryImplementors.createAutoInsertQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default <ENTITY> AutoUpdateQuery<ENTITY> |
QueryImplementors.createAutoUpdateQuery(java.lang.reflect.Method method,
EntityType<ENTITY> entityType) |
default void |
UnknownColumnHandler.handle(Query query,
EntityType<?> entityType,
java.lang.String unknownColumnName)
Handles the unknown column.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntityTypeProxy<ENTITY> |
| Modifier and Type | Method and Description |
|---|---|
EntityType<ENTITY> |
EntityMetamodel.asType() |
| Constructor and Description |
|---|
DefaultPropertyMetamodel(java.lang.Class<?> clazz,
EntityType<?> entityType,
java.lang.String name) |
EntityTypeProxy(EntityType<ENTITY> entityType,
java.lang.String qualifiedTableName) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEntityType<ENTITY> |
| Modifier and Type | Method and Description |
|---|---|
EntityType<E> |
PreDeleteContext.getEntityType()
Returns the entity description.
|
EntityType<E> |
PostUpdateContext.getEntityType()
Returns the entity description.
|
EntityType<E> |
PostInsertContext.getEntityType()
Returns the entity description.
|
EntityType<?> |
PreUpdateContext.getEntityType()
Returns the entity description.
|
EntityType<E> |
PreInsertContext.getEntityType()
Returns the entity description.
|
EntityType<E> |
PostDeleteContext.getEntityType()
Returns the entity description.
|
static <E> EntityType<E> |
EntityTypeFactory.getEntityType(java.lang.Class<E> entityClass,
ClassHelper classHelper)
Creates the entity description.
|
| Modifier and Type | Method and Description |
|---|---|
ENTITY |
VersionPropertyType.increment(EntityType<ENTITY> entityType,
ENTITY entity) |
protected <VALUE> ENTITY |
DefaultPropertyType.modifyIfNecessary(EntityType<ENTITY> entityType,
ENTITY entity,
WrapperVisitor<java.lang.Boolean,VALUE,java.lang.Void,java.lang.RuntimeException> visitor,
VALUE value) |
ENTITY |
GeneratedIdPropertyType.postInsert(EntityType<ENTITY> entityType,
ENTITY entity,
IdGenerationConfig config,
java.sql.Statement statement) |
ENTITY |
GeneratedIdPropertyType.preInsert(EntityType<ENTITY> entityType,
ENTITY entity,
IdGenerationConfig config) |
ENTITY |
VersionPropertyType.setIfNecessary(EntityType<ENTITY> entityType,
ENTITY entity,
java.lang.Number value) |
protected ENTITY |
GeneratedIdPropertyType.setIfNecessary(EntityType<ENTITY> entityType,
ENTITY entity,
java.util.function.Supplier<java.lang.Long> supplier) |
| Modifier and Type | Field and Description |
|---|---|
protected EntityType<?> |
ReservedIdProvider.entityType |
protected EntityType<?> |
IdGenerationConfig.entityType |
| Modifier and Type | Method and Description |
|---|---|
EntityType<?> |
IdGenerationConfig.getEntityType() |
| Constructor and Description |
|---|
IdGenerationConfig(Config config,
EntityType<?> entityType) |
IdGenerationConfig(Config config,
EntityType<?> entityType,
IdProvider idProvider) |
ReservedIdProvider(Config config,
EntityType<?> entityType,
int reservationSize) |
| Modifier and Type | Field and Description |
|---|---|
protected EntityType<E> |
SqlFileDeleteQuery.EntityHandler.entityType |
protected EntityType<ELEMENT> |
SqlFileBatchInsertQuery.EntityHandler.entityType |
EntityType<?> |
UpsertAssemblerContext.entityType |
protected EntityType<E> |
SqlFileInsertQuery.EntityHandler.entityType |
protected EntityType<ELEMENT> |
SqlFileBatchUpdateQuery.EntityHandler.entityType |
protected EntityType<ENTITY> |
AutoModifyQuery.entityType |
protected EntityType<ELEMENT> |
SqlFileBatchDeleteQuery.EntityHandler.entityType |
protected EntityType<?> |
AbstractSelectQuery.entityType |
protected EntityType<ENTITY> |
AutoBatchModifyQuery.entityType |
protected EntityType<E> |
UpdateQueryHelper.entityType |
protected EntityType<E> |
SqlFileUpdateQuery.EntityHandler.entityType |
protected EntityType<E> |
BatchUpdateQueryHelper.entityType |
| 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) |
<E> void |
SqlFileDeleteQuery.setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
<E> void |
SqlFileInsertQuery.setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
abstract <E> void |
SqlFileModifyQuery.setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
<E> void |
SqlFileUpdateQuery.setEntityAndEntityType(java.lang.String name,
E entity,
EntityType<E> entityType) |
void |
AbstractSelectQuery.setEntityType(EntityType<?> entityType) |
void |
SqlFileBatchInsertQuery.setEntityType(EntityType<ELEMENT> entityType) |
void |
SqlFileBatchUpdateQuery.setEntityType(EntityType<ELEMENT> entityType) |
abstract void |
SqlFileBatchModifyQuery.setEntityType(EntityType<ELEMENT> entityType) |
void |
SqlFileBatchDeleteQuery.setEntityType(EntityType<ELEMENT> entityType) |
java.lang.String |
UpsertAssemblerSupport.targetTable(EntityType<?> entityType,
UpsertAssemblerSupport.TableNameType tableNameType) |
| Constructor and Description |
|---|
AutoBatchDeleteQuery(EntityType<ENTITY> entityType) |
AutoBatchInsertQuery(EntityType<ENTITY> entityType) |
AutoBatchModifyQuery(EntityType<ENTITY> entityType) |
AutoBatchPostDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoBatchPostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoBatchPostUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoBatchPreDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoBatchPreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoBatchPreUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoBatchUpdateQuery(EntityType<ENTITY> entityType) |
AutoDeleteQuery(EntityType<ENTITY> entityType) |
AutoInsertQuery(EntityType<ENTITY> entityType) |
AutoModifyQuery(EntityType<ENTITY> entityType) |
AutoPostDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoPostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoPostUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
java.util.List<EntityPropertyType<E,?>> targetPropertyTypes) |
AutoPreDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
AutoPreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
DuplicateKeyType duplicateKeyType) |
AutoPreUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
java.util.List<EntityPropertyType<E,?>> targetPropertyTypes) |
AutoUpdateQuery(EntityType<ENTITY> entityType) |
BatchUpdateQueryHelper(Config config,
EntityType<E> entityType,
java.lang.String[] includedPropertyNames,
java.lang.String[] excludedPropertyNames,
boolean versionIgnored,
boolean optimisticLockExceptionSuppressed) |
EntityHandler(EntityType<ELEMENT> entityType) |
EntityHandler(EntityType<ELEMENT> entityType) |
EntityHandler(EntityType<ELEMENT> entityType) |
EntityHandler(java.lang.String name,
E entity,
EntityType<E> entityType) |
EntityHandler(java.lang.String name,
E entity,
EntityType<E> entityType) |
EntityHandler(java.lang.String name,
E entity,
EntityType<E> entityType) |
SqlFileBatchPostDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFileBatchPostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFileBatchPostUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFileBatchPreDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFileBatchPreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFileBatchPreUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePostDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePostInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePostUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePreDeleteContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePreInsertContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
SqlFilePreUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
UpdateQueryHelper(Config config,
EntityType<E> entityType,
java.lang.String[] includedPropertyNames,
java.lang.String[] excludedPropertyNames,
boolean nullExcluded,
boolean versionIgnored,
boolean optimisticLockExceptionSuppressed,
boolean unchangedPropertyIncluded) |