Uses of Class
org.seasar.doma.jdbc.id.IdGenerationConfig
Packages that use IdGenerationConfig
Package
Description
Provides classes and interfaces for entity mapping and lifecycle management.
Provides classes that are related to identity generation of entity.
Provides query objects that build and execute SQL statements.
-
Uses of IdGenerationConfig in org.seasar.doma.jdbc.entity
Methods in org.seasar.doma.jdbc.entity with parameters of type IdGenerationConfigModifier and TypeMethodDescriptionbooleanGeneratedIdPropertyType.isAutoGeneratedKeysSupported(IdGenerationConfig config) booleanGeneratedIdPropertyType.isBatchSupported(IdGenerationConfig config) booleanGeneratedIdPropertyType.isIncluded(IdGenerationConfig config) Deprecated.booleanGeneratedIdPropertyType.isIncluded(IdGenerationConfig config, Object idValue) GeneratedIdPropertyType.postInsert(EntityType<ENTITY> entityType, ENTITY entity, IdGenerationConfig config, Statement statement) Retrieves and sets an ID value for an entity after it has been inserted into the database.GeneratedIdPropertyType.postInsert(EntityType<ENTITY> entityType, List<ENTITY> entities, IdGenerationConfig config, Statement statement) Retrieves and sets ID values for multiple entities after they have been inserted into the database.GeneratedIdPropertyType.preInsert(EntityType<ENTITY> entityType, ENTITY entity, IdGenerationConfig config) Generates and sets an ID value for an entity before it is inserted into the database.GeneratedIdPropertyType.preInsert(EntityType<ENTITY> entityType, List<ENTITY> entities, IdGenerationConfig config) Generates and sets ID values for multiple entities before they are inserted into the database.voidGeneratedIdPropertyType.validateGenerationStrategy(IdGenerationConfig config) Validates that the ID generation strategy is supported by the current database dialect. -
Uses of IdGenerationConfig in org.seasar.doma.jdbc.id
Methods in org.seasar.doma.jdbc.id with parameters of type IdGenerationConfigModifier and TypeMethodDescriptionAbstractPreGenerateIdGenerator.generatePostInsert(IdGenerationConfig config, Statement statement) BuiltinIdentityIdGenerator.generatePostInsert(IdGenerationConfig config, Statement statement) IdGenerator.generatePostInsert(IdGenerationConfig config, Statement statement) Generates the identity value after an insert.AbstractPreGenerateIdGenerator.generatePreInsert(IdGenerationConfig config) BuiltinIdentityIdGenerator.generatePreInsert(IdGenerationConfig config) IdGenerator.generatePreInsert(IdGenerationConfig config) Generates the identity value before an insert.BuiltinIdentityIdGenerator.generateValuesPostInsert(IdGenerationConfig config, Statement statement) IdGenerator.generateValuesPostInsert(IdGenerationConfig config, Statement statement) AbstractPreGenerateIdGenerator.generateValuesPreInsert(IdGenerationConfig config, int count) IdGenerator.generateValuesPreInsert(IdGenerationConfig config, int count) protected longAbstractIdGenerator.getGeneratedValue(IdGenerationConfig config, ResultSet resultSet) Retrieves a generated identity from theResultSetobject.protected longAbstractIdGenerator.getGeneratedValue(IdGenerationConfig config, Sql<?> sql) Executes the SQL and gets a generated identity.protected longBuiltinIdentityIdGenerator.getGeneratedValue(IdGenerationConfig config) Retrieves the generated value by using a specific SQL.protected longBuiltinIdentityIdGenerator.getGeneratedValue(IdGenerationConfig config, Statement statement) Retrieves the generated value by usingStatement.getGeneratedKeys().protected AbstractPreGenerateIdGenerator.IdContextAbstractPreGenerateIdGenerator.getIdContext(IdGenerationConfig config) Returns the identity context.protected abstract longAbstractPreGenerateIdGenerator.getNewInitialValue(IdGenerationConfig config) Return the next initial value.protected longBuiltinSequenceIdGenerator.getNewInitialValue(IdGenerationConfig config) protected longBuiltinTableIdGenerator.getNewInitialValue(IdGenerationConfig config) longAbstractPreGenerateIdGenerator.IdContext.getNextValue(IdGenerationConfig config) Returns the next identity value.booleanAbstractPreGenerateIdGenerator.includesIdentityColumn(IdGenerationConfig config) booleanAbstractPreGenerateIdGenerator.includesIdentityColumn(IdGenerationConfig config, Object idValue) booleanBuiltinIdentityIdGenerator.includesIdentityColumn(IdGenerationConfig config) booleanBuiltinIdentityIdGenerator.includesIdentityColumn(IdGenerationConfig config, Object idValue) booleanIdGenerator.includesIdentityColumn(IdGenerationConfig config) Deprecated.default booleanIdGenerator.includesIdentityColumn(IdGenerationConfig config, Object idValue) Determines whether the identity column is included in the SQL INSERT statements based on the given configuration and identity value.protected longBuiltinTableIdGenerator.selectId(IdGenerationConfig config, PreparedSql sql) protected voidAbstractIdGenerator.setupOptions(IdGenerationConfig config, PreparedStatement preparedStatement) Set up options for thepreparedStatementobject.booleanAbstractPreGenerateIdGenerator.supportsAutoGeneratedKeys(IdGenerationConfig config) booleanBuiltinIdentityIdGenerator.supportsAutoGeneratedKeys(IdGenerationConfig config) booleanIdGenerator.supportsAutoGeneratedKeys(IdGenerationConfig config) Whether this generator supportsStatement.getGeneratedKeys().booleanAbstractPreGenerateIdGenerator.supportsBatch(IdGenerationConfig config) booleanBuiltinIdentityIdGenerator.supportsBatch(IdGenerationConfig config) booleanIdGenerator.supportsBatch(IdGenerationConfig config) Whether this generator supports the batch insert.protected voidBuiltinTableIdGenerator.updateId(IdGenerationConfig config, PreparedSql sql) -
Uses of IdGenerationConfig in org.seasar.doma.jdbc.query
Fields in org.seasar.doma.jdbc.query declared as IdGenerationConfigModifier and TypeFieldDescriptionprotected IdGenerationConfigAutoBatchInsertQuery.idGenerationConfigThe configuration for ID generation.protected IdGenerationConfigAutoInsertQuery.idGenerationConfigConfiguration for ID generation, used when the entity has a generated ID property.protected IdGenerationConfigAutoMultiInsertQuery.idGenerationConfigConfiguration for ID generation, used when the entity has a generated ID property.