Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 3e6fcdeda3a8d04f249e4bbe0c12cbda29c0d8e3
https://github.com/hibernate/hibernate-orm/commit/3e6fcdeda3a8d04f249e4bb...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/GeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractSingularAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualEmbeddedAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/AbstractMutationCoordinator.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/InsertCoordinator.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateCoordinatorStandard.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlExpressionResolver.java
A
hibernate-core/src/main/java/org/hibernate/sql/model/ast/builder/ColumnValuesTableMutationBuilder.java
M
hibernate-core/src/main/java/org/hibernate/sql/model/ast/builder/RestrictedTableMutationBuilder.java
M
hibernate-core/src/main/java/org/hibernate/sql/model/ast/builder/TableDeleteBuilder.java
M
hibernate-core/src/main/java/org/hibernate/sql/model/ast/builder/TableInsertBuilder.java
M
hibernate-core/src/main/java/org/hibernate/sql/model/ast/builder/TableUpdateBuilder.java
M
hibernate-core/src/main/java/org/hibernate/tuple/AbstractNonIdentifierAttribute.java
M hibernate-core/src/main/java/org/hibernate/tuple/BaselineAttributeInformation.java
M
hibernate-core/src/main/java/org/hibernate/tuple/InDatabaseValueGenerationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/tuple/InMemoryValueGenerationStrategy.java
M hibernate-core/src/main/java/org/hibernate/tuple/NonIdentifierAttribute.java
M hibernate-core/src/main/java/org/hibernate/tuple/PropertyFactory.java
M hibernate-core/src/main/java/org/hibernate/tuple/StandardProperty.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
A hibernate-core/src/main/java/org/hibernate/tuple/ValueGenerationStrategy.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditMetadataGenerator.java
Log Message:
-----------
unify new ValueGenerationStrategy interfaces with existing ValueGeneration stuff
- introduce ValueGenerationStrategy to abstract over IMVGS and IDVGS
- make ValueGeneration a mixin of IMVGS with IDVGS
- make IDVGS accept a Dialect for SQL fragment generation
(it was based on an obsolete version of ValueGeneration)
- adapt all the code which only handled single-column value generation
to handle multiple columns, as introduced by IDVGS
Still to do: the whole AnnotationValueGeneration stuff still requires the use
of the mixin interface, and you can't use IMVGS or IDVGS directly. That bit is
going to require a bit more thinking about backward compatibility.