[hibernate/hibernate-orm] 31b162: HHH-14506 - IdentifierGenerator changes
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 31b1627baabae9554e372a8c324220f2ad56d142
https://github.com/hibernate/hibernate-orm/commit/31b1627baabae9554e372a8...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M hibernate-core/hibernate-core.gradle
M hibernate-core/src/main/java/org/hibernate/boot/model/naming/Identifier.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
A hibernate-core/src/main/java/org/hibernate/id/OptimizableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/HibernateSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cacheable/CacheableHbmXmlTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/bag/BagElementNullBasicTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/idbag/IdBagElementNullBasicTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/list/ListElementNullBasicTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/MapElementNullBasicTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/map/PersistentMapTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/set/SetElementNullBasicTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/EntityGraphUsingFetchGraphTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/enhanced/SequenceStyleConfigUnitTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyWithoutSequenceGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/IdGeneratorNameScopingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/increment/BigIntegerIncrementGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/increment/Entity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/increment/Mapping.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/sequence/BigIntegerSequenceGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/sequence/BigIntegerSequenceGeneratorZeroScaleTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/sequence/Entity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/sequence/Mapping.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/biginteger/sequence/ZeroScaleMapping.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/HiloOptimizerConcurrencyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/auto/AutoGenerationTypeTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/Basic.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/BasicForcedTableSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/Entity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/HiLo.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/HiLoForcedTableSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/Pooled.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/forcedtable/PooledForcedTableSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/Basic.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/BasicSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/Dedicated.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/Entity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/HiLo.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/HiLoSequenceMismatchStrategyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/HiLoSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/Pooled.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/PooledSequenceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Basic.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/BasicTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Db2GenerationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Entity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/HiLo.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/HiLoTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Pooled.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/PooledTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/foreign/ForeignGeneratorJtaTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/foreign/ForeignGeneratorResourceLocalTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/IdentityInsertSoleColumnTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/hhh10429/CustomIdentityGenerator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/hhh10429/IdentityGeneratorExtendsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/hhh9983/SaveEntityTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/joinedSubClass/JoinedSubclassHierarchyWithIdentityGenerationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/joinedSubClass/Sub.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/joinedSubClass/Super.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/cascade/DetachAndContainsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/compliance/tck2_2/GeneratedValueTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/mapping/DefaultCascadeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/mapping/UnidirectionalOneToManyIndexColumnTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/increment/BigIntegerIncrementGeneratorTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/increment/Entity.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/increment/Mapping.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/sequence/BigIntegerSequenceGeneratorTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/sequence/BigIntegerSequenceGeneratorZeroScaleTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/sequence/Entity.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/sequence/Mapping.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/biginteger/sequence/ZeroScaleMapping.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/auto/NewGeneratorsTests.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/Basic.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/BasicForcedTableSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/Entity.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/HiLo.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/HiLoForcedTableSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/Pooled.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/forcedtable/PooledForcedTableSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/Basic.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/BasicSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/Dedicated.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/Entity.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/HiLo.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/HiLoSequenceMismatchStrategyTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/HiLoSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/Pooled.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/PooledSequenceTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/Basic.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/BasicTableTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/Db2GenerationTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/Entity.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/HiLo.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/HiLoTableTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/Pooled.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/PooledTableTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/concurrent/HiloOptimizerConcurrencyTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/foreign/ForeignGeneratorJtaTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/foreign/ForeignGeneratorResourceLocalTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/IdentityInsertSoleColumnTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/hhh10429/CustomIdentityGenerator.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/hhh10429/IdentityGeneratorExtendsTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/hhh9983/SaveEntityTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/joinedSubClass/JoinedSubclassHierarchyWithIdentityGenerationTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/joinedSubClass/Sub.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/identity/joinedSubClass/Super.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/namescope/IdGeneratorNamesGlobalScopeTest.java
R hibernate-core/src/test/java/org/hibernate/test/idgen/namescope/IdGeneratorNamesLocalScopeTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/jta/TestingJtaPlatformImpl.java
A hibernate-testing/src/main/java/org/hibernate/testing/jta/TestingJtaTransactionCoordinatorBuilder.java
Log Message:
-----------
HHH-14506 - IdentifierGenerator changes
- HHH-14491 - Apply default allocation/increment size for @GeneratedValue(AUTO)
- HHH-14492 - Prefer sequence-per-entity (hierarchy) by default
- HHH-14497 - Drop `hibernate.id.new_generator_mappings` & `hibernate.model.generator_name_as_sequence_name`
- enabled existing tests and convert to JUnit5
3 years, 9 months
[hibernate/hibernate-search] b0a725: HSEARCH-4190 Adding missing @Override annotations ...
by Yoann Rodière
Branch: refs/heads/5.11
Home: https://github.com/hibernate/hibernate-search
Commit: b0a725a8e9a61178118eae4deff864255f6fc914
https://github.com/hibernate/hibernate-search/commit/b0a725a8e9a61178118e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Adding missing @Override annotations in Jenkinsfile
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 34c724ef0dd3fede05e66fa988241e57f0d38325
https://github.com/hibernate/hibernate-search/commit/34c724ef0dd3fede05e6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Run Elasticsearch in JDK11 by default in the Jenkinsfile
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 87b1c715698f031b762bb508d600cf254ae370ce
https://github.com/hibernate/hibernate-search/commit/87b1c715698f031b762b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Fix a bug in Jenkinsfile where the Elasticsearch Maven profile wasn't correctly set
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 5d781b6b2c4561ff0e7346d8ca374b1142353f6e
https://github.com/hibernate/hibernate-search/commit/5d781b6b2c4561ff0e73...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
M README.md
M integrationtest/wildfly/pom.xml
M jenkins/performance-elasticsearch.groovy
M jenkins/performance-orm.groovy
M pom.xml
Log Message:
-----------
HSEARCH-4190 Remove the need for explicitly specifying that the Elasticsearch server is provided when running tests
If test.elasticsearch.host.url is set, the server is provided. If it's
not, then it's not provided.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 4ce307a58177f416c9981f6e12de03786bada89d
https://github.com/hibernate/hibernate-search/commit/4ce307a58177f416c998...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Jenkinsfile: distinguish testing conditions for build environments from the fact that an environment is the default one
Commit: c2acfd40f6a25dfec7baeff9535e7689aecddd86
https://github.com/hibernate/hibernate-search/commit/c2acfd40f6a25dfec7ba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Always test Eclipse compilation before merging
Commit: 52a4c3ce557d4ad6996be24ccc2bec98430566d2
https://github.com/hibernate/hibernate-search/commit/52a4c3ce557d4ad6996b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4190 Jenkinsfile: remove ignored "defaultValue" attribute for the "ENVIRONMENT_SET" parameter
The first value is the default one.
Commit: a17439ce8e2f078e1bcad3d1eec6d6e29b89bbe2
https://github.com/hibernate/hibernate-search/commit/a17439ce8e2f078e1bca...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4189 Test Hibernate Search against JDK 17
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 8b1cc6fdf502b056abab6747c18e40361da23ac6
https://github.com/hibernate/hibernate-search/commit/8b1cc6fdf502b056abab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4189 Stop testing Hibernate Search against JDK14
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: f3137b5855db7b021b6b961e05c9d8c97f4084dd
https://github.com/hibernate/hibernate-search/commit/f3137b5855db7b021b6b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-17 (Wed, 17 Mar 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4189 Disable JDK17 tests until we upgrade to a Byteman version that supports JDK17
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/4114f7a1e372...f313...
3 years, 9 months