Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 993aae6095810a49ea77b2ded2c50d86aa4e548d
https://github.com/hibernate/hibernate-orm/commit/993aae6095810a49ea77b2d...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/locking/Locking.adoc
M documentation/src/test/java/org/hibernate/userguide/locking/VersionSourceTest.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.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/CurrentTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/annotations/Source.java
M hibernate-core/src/main/java/org/hibernate/annotations/SourceType.java
M hibernate-core/src/main/java/org/hibernate/annotations/UpdateTimestamp.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultRefreshEventListener.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateCoordinatorStandard.java
M hibernate-core/src/main/java/org/hibernate/tuple/CreationTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/TimestampGenerators.java
M hibernate-core/src/main/java/org/hibernate/tuple/UpdateTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/main/java/org/hibernate/type/DbTimestampType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DbTimestampJavaType.java
Log Message:
-----------
HHH-15774 @CurrentTimestamp takes over from @Source
... and make value generation work better with version properties.
Commit: 84be9faf7098bd8fb71030a774c39d41af4409fc
https://github.com/hibernate/hibernate-orm/commit/84be9faf7098bd8fb71030a...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
Log Message:
-----------
remove weird getCurrentTimestampSelectString() on PostgresPlusDialect
... which was causing tests to fail... but why *now* I have no clue!
Commit: 457872dbdd83f92924aaa41d0f2a6e5a8dacd449
https://github.com/hibernate/hibernate-orm/commit/457872dbdd83f92924aaa41...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/ondelete/toone/ToOneOnDeleteTest.java
Log Message:
-----------
skip a test on TiDB
as requested by @beikov
Commit: e908d4c8f69ded8afe0cff683c3403965551313b
https://github.com/hibernate/hibernate-orm/commit/e908d4c8f69ded8afe0cff6...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
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/UpdateTimestamp.java
Log Message:
-----------
@CreationTimestamp should not be declared @Inherited
Commit: 366a89ae71124dfba175247bcc4abb5a60200bc5
https://github.com/hibernate/hibernate-orm/commit/366a89ae71124dfba175247...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/LegacyBasicTypeResolution.adoc
M hibernate-core/src/main/java/org/hibernate/annotations/Source.java
A hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/TimestampAttributeSourceImpl.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/VersionAttributeSourceImpl.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/VersionAttributeSource.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
R hibernate-core/src/main/java/org/hibernate/type/DbTimestampType.java
M hibernate-core/src/main/java/org/hibernate/type/StandardBasicTypes.java
R
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DbTimestampJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/various/TimestampTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/version/db/User.hbm.xml
Log Message:
-----------
reimplement @Source in an elegant way using the ValueGeneration machinery
... and finally delete two of my least-favorite classes!
Compare:
https://github.com/hibernate/hibernate-orm/compare/a9ac98b364cc...366a89a...