Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 216fe0f61548204c19a7f3553b21f0919a48c118
https://github.com/hibernate/hibernate-orm/commit/216fe0f61548204c19a7f35...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Nullability.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/GeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/InDatabaseGeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/InMemoryGeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NoGeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.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/tuple/GeneratedAlwaysValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/GeneratedValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/Generator.java
M hibernate-core/src/main/java/org/hibernate/tuple/SourceGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/GeneratedUuidTests.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditMetadataGenerator.java
Log Message:
-----------
HHH-15800 make Generator free of GenerationTiming
Commit: 95aa852e15407f1636588b5a01a3bf801a628804
https://github.com/hibernate/hibernate-orm/commit/95aa852e15407f1636588b5...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M
documentation/src/test/java/org/hibernate/userguide/mapping/generated/GeneratedTest.java
M hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java
M hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/Generated.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenerationTime.java
M hibernate-core/src/main/java/org/hibernate/annotations/GeneratorType.java
M hibernate-core/src/main/java/org/hibernate/annotations/SQLInsert.java
M hibernate-core/src/main/java/org/hibernate/annotations/SQLUpdate.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/tuple/CurrentTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/GeneratedValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/GenerationTiming.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/CurrentTimestampAnnotationTests.java
Log Message:
-----------
HHH-15800 reverse previous work to standardizing on GenerationTiming
...and go in exact opposite direction to migrate to GenerationTime
Commit: 075b268280869f49fdc61c66bed1f9a7e18511c3
https://github.com/hibernate/hibernate-orm/commit/075b268280869f49fdc61c6...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/AttributeAccessor.java
M hibernate-core/src/main/java/org/hibernate/annotations/AttributeBinderType.java
M hibernate-core/src/main/java/org/hibernate/annotations/CreationTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/Generated.java
M hibernate-core/src/main/java/org/hibernate/annotations/GeneratedColumn.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenericGenerator.java
M hibernate-core/src/main/java/org/hibernate/annotations/IdGeneratorType.java
M hibernate-core/src/main/java/org/hibernate/annotations/Source.java
M hibernate-core/src/main/java/org/hibernate/annotations/TenantId.java
M hibernate-core/src/main/java/org/hibernate/annotations/UpdateTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/ValueGenerationType.java
A hibernate-core/src/main/java/org/hibernate/binder/AttributeBinder.java
A
hibernate-core/src/main/java/org/hibernate/binder/internal/AttributeAccessorBinder.java
A hibernate-core/src/main/java/org/hibernate/binder/internal/TenantIdBinder.java
M
hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTable.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Nullability.java
M
hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M
hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
A hibernate-core/src/main/java/org/hibernate/generator/AnnotationBasedGenerator.java
A hibernate-core/src/main/java/org/hibernate/generator/Generator.java
A hibernate-core/src/main/java/org/hibernate/generator/GeneratorCreationContext.java
A hibernate-core/src/main/java/org/hibernate/generator/InDatabaseGenerator.java
A hibernate-core/src/main/java/org/hibernate/generator/InMemoryGenerator.java
A
hibernate-core/src/main/java/org/hibernate/generator/internal/CurrentTimestampGeneration.java
A
hibernate-core/src/main/java/org/hibernate/generator/internal/GeneratedAlwaysGeneration.java
A
hibernate-core/src/main/java/org/hibernate/generator/internal/GeneratedGeneration.java
A hibernate-core/src/main/java/org/hibernate/generator/internal/SourceGeneration.java
A
hibernate-core/src/main/java/org/hibernate/generator/internal/TenantIdGeneration.java
M
hibernate-core/src/main/java/org/hibernate/id/BulkInsertionCapableIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentityGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
M
hibernate-core/src/main/java/org/hibernate/id/factory/IdentifierGeneratorFactory.java
M
hibernate-core/src/main/java/org/hibernate/id/factory/internal/IdentifierGeneratorUtil.java
M
hibernate-core/src/main/java/org/hibernate/id/factory/internal/StandardIdentifierGeneratorFactory.java
M
hibernate-core/src/main/java/org/hibernate/id/factory/spi/CustomIdGeneratorCreationContext.java
M hibernate-core/src/main/java/org/hibernate/id/factory/spi/StandardGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/insert/BasicSelectingDelegate.java
M hibernate-core/src/main/java/org/hibernate/id/insert/GetGeneratedKeysDelegate.java
M
hibernate-core/src/main/java/org/hibernate/id/insert/InsertGeneratedIdentifierDelegate.java
M hibernate-core/src/main/java/org/hibernate/id/insert/InsertReturningDelegate.java
M
hibernate-core/src/main/java/org/hibernate/id/insert/InsertSelectIdentityInsert.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/mapping/GeneratorCreator.java
M hibernate-core/src/main/java/org/hibernate/mapping/IdentifierGeneratorCreator.java
M hibernate-core/src/main/java/org/hibernate/mapping/KeyValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.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/InMemoryGeneratedValueResolver.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/GeneratedValuesProcessor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.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/query/sqm/internal/QuerySqmImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedInsertHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/Insert.java
R hibernate-core/src/main/java/org/hibernate/tuple/AnnotationBasedGenerator.java
M hibernate-core/src/main/java/org/hibernate/tuple/AnnotationValueGeneration.java
R hibernate-core/src/main/java/org/hibernate/tuple/AttributeAccessorBinder.java
R hibernate-core/src/main/java/org/hibernate/tuple/AttributeBinder.java
M hibernate-core/src/main/java/org/hibernate/tuple/CreationTimestampGeneration.java
R hibernate-core/src/main/java/org/hibernate/tuple/CurrentTimestampGeneration.java
R
hibernate-core/src/main/java/org/hibernate/tuple/GeneratedAlwaysValueGeneration.java
R hibernate-core/src/main/java/org/hibernate/tuple/GeneratedValueGeneration.java
R hibernate-core/src/main/java/org/hibernate/tuple/Generator.java
R hibernate-core/src/main/java/org/hibernate/tuple/GeneratorCreationContext.java
M hibernate-core/src/main/java/org/hibernate/tuple/IdentifierAttribute.java
M hibernate-core/src/main/java/org/hibernate/tuple/IdentifierProperty.java
R hibernate-core/src/main/java/org/hibernate/tuple/InDatabaseGenerator.java
R hibernate-core/src/main/java/org/hibernate/tuple/InMemoryGenerator.java
M hibernate-core/src/main/java/org/hibernate/tuple/PropertyFactory.java
R hibernate-core/src/main/java/org/hibernate/tuple/SourceGeneration.java
R hibernate-core/src/main/java/org/hibernate/tuple/TenantIdBinder.java
R hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/UpdateTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.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-core/src/test/java/org/hibernate/orm/test/hql/BulkManipulationTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/YesNoBinder.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/GeneratedUuidTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tenantid/TenantIdTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/tenantlongid/TenantLongIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tenantuuid/TenantUuidTest.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditMetadataGenerator.java
Log Message:
-----------
HHH-15800 create .generator and .binder packages and move new interfaces to them
Commit: b40d15e5287d79b8efac47306a9395590a9940ea
https://github.com/hibernate/hibernate-orm/commit/b40d15e5287d79b8efac473...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/generator/internal/SourceGeneration.java
Log Message:
-----------
HHH-15782 cleaner impl of <timestamp source="db"/>
Commit: c09664711de97527c92d2905d98d7c098db52418
https://github.com/hibernate/hibernate-orm/commit/c09664711de97527c92d290...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NoGeneratedValueResolver.java
M hibernate-core/src/main/java/org/hibernate/tuple/GenerationTiming.java
Log Message:
-----------
HHH-15800 clean up GenerationTiming
Commit: 0228c3d185b3483f9fd5e321b0215ace9fe63b6a
https://github.com/hibernate/hibernate-orm/commit/0228c3d185b3483f9fd5e32...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/Generated.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenerationTime.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Nullability.java
A hibernate-core/src/main/java/org/hibernate/generator/EventType.java
A hibernate-core/src/main/java/org/hibernate/generator/EventTypeSets.java
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/generator/InMemoryGenerator.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/CurrentTimestampGeneration.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/GeneratedAlwaysGeneration.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/GeneratedGeneration.java
M hibernate-core/src/main/java/org/hibernate/generator/internal/SourceGeneration.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/TenantIdGeneration.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.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/tuple/GenerationTiming.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/CurrentTimestampAnnotationTests.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/GeneratedUuidTests.java
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditMetadataGenerator.java
Log Message:
-----------
HHH-15800 introduce EventType + EventTypeSets in place of the previous "two
booleans" approach
I hope @sebersole likes this better.
re-deprecate GenerationTime since the way forward is EventType
Commit: 239dfa30fac38171c5c45c88cada933d09412d3f
https://github.com/hibernate/hibernate-orm/commit/239dfa30fac38171c5c45c8...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/annotations/ValueGenerationType.java
M
hibernate-core/src/main/java/org/hibernate/collection/spi/PersistentIdentifierBag.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Versioning.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/AbstractReassociateEventListener.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/generator/EventType.java
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/generator/InMemoryGenerator.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/CurrentTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/generator/internal/SourceGeneration.java
M
hibernate-core/src/main/java/org/hibernate/generator/internal/TenantIdGeneration.java
A
hibernate-core/src/main/java/org/hibernate/generator/internal/VersionGeneration.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M
hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/InDatabaseGeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/InMemoryGeneratedValueResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.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/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/GeneratedUuidTests.java
Log Message:
-----------
HHH-15782 use a Generator for seeding/incrementing versions
add javadoc for version generation
Compare:
https://github.com/hibernate/hibernate-orm/compare/1104d01d331d...239dfa3...