[hibernate/hibernate-orm] 915da5: HHH-14497 - Drop legacy id-generator settings;
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 915da5228d8ea26ff003dbf6e13b73d3a8150b59
https://github.com/hibernate/hibernate-orm/commit/915da5228d8ea26ff003dbf...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/batch/Batching.adoc
M hibernate-core/src/main/java/org/hibernate/boot/MetadataBuilder.java
M hibernate-core/…
[View More]src/main/java/org/hibernate/boot/internal/IdGeneratorInterpreterImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/NamedAuxiliaryDatabaseObject.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuilderImplementor.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialectTableExporter.java
R hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
R hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
R hibernate-core/src/main/java/org/hibernate/id/SequenceHiLoGenerator.java
R hibernate-core/src/main/java/org/hibernate/id/SequenceIdentityGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.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/id/factory/internal/DefaultIdentifierGeneratorFactory.java
M hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/JpaStaticMetaModelPopulationSetting.java
M hibernate-core/src/main/java/org/hibernate/query/internal/NamedQueryHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UUIDJavaTypeDescriptor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/lob/Document.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/lob/LobWithSequenceIdentityGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/exceptionhandling/BaseJpaOrNativeBootstrapFunctionalTestCase.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Car.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Car.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/MultipleHiLoPerTableGeneratorTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/MultipleHiLoPerTableGeneratorWithRollbackTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Plane.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Plane.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/PooledHiLoSequenceIdentifierTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Radio.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/id/Radio.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceGeneratorTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceHiLoGeneratorNoIncrementTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceHiLoGeneratorTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/id/sequence/LegacySequenceExportTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Db2GenerationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/BaseEntityManagerFunctionalTestCase.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ejb3configuration/InterceptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/QueryLockingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/mapping/UnidirectionalOneToManyIndexColumnTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/transaction/TransactionCommitFailureTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/nationalized/NationalizedLobFieldTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemavalidation/JoinTableWithDefaultSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/util/PropertiesHelperTest.java
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/test/id/sequence/SequenceExportTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/AbstractOneSessionTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/BaseEnversJPAFunctionalTestCase.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/performance/AbstractEntityManagerTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryBasedFunctionalTest.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations
[View Less]
3 years, 1 month
[hibernate/hibernate-orm] 6c4ec9: * Cleanup temporary table handling in dialects
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 6c4ec951823a7bcfe6ec93700740e3553a3b3c0c
https://github.com/hibernate/hibernate-orm/commit/6c4ec951823a7bcfe6ec937...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/…
[View More]community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/selector/internal/StrategySelectorBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANAColumnStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANARowStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/CastingConcatFunction.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyConcatFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SqlFunction.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseConcatFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/StandardTemporaryTableExporter.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTable.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTableColumn.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTableExporter.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTableHelper.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTableKind.java
A hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTableSessionUidColumn.java
M hibernate-core/src/main/java/org/hibernate/id/IdentityGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/OptimizableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceHiLoGenerator.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/id/insert/InsertGeneratedIdentifierDelegate.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DiscriminatedAssociationModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CaseStatementDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ExplicitColumnDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SelfRenderingOrderingExpression.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/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngineOptions.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/internal/MultiTableInsertQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/InsertHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MultiTableSqmMutationConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/SqmMutationStrategyHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/AbstractCteMutationHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteDeleteHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteMutationStrategy.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteStrategy.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteUpdateHandler.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/AfterUseAction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/BeforeUseAction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithIdTableHelper.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithoutIdTableHelper.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/GlobalTemporaryTableStrategy.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTable.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTableColumn.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTableExporter.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTableHelper.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTableSessionUidColumn.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/LocalTemporaryTableStrategy.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/PersistentTableStrategy.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/PhysicalIdTableExporter.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/RestrictedDeleteExecutionDelegate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedDeleteHandler.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedUpdateHandler.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableKeyExpressionCollector.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TempIdTableExporter.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/UpdateExecutionDelegate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/package-info.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineMutationStrategy.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/AfterUseAction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/BeforeUseAction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/ExecuteWithTemporaryTableHelper.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/ExecuteWithoutIdTableHelper.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/GlobalTemporaryTableInsertStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/GlobalTemporaryTableMutationStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/GlobalTemporaryTableStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/LocalTemporaryTableInsertStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/LocalTemporaryTableMutationStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/LocalTemporaryTableStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/PersistentTableInsertStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/PersistentTableMutationStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/PersistentTableStrategy.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedDeleteHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedInsertHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedUpdateHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableKeyExpressionCollector.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/UpdateExecutionDelegate.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/package-info.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/spi/AbstractMutationHandler.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/spi/SqmMultiTableInsertStrategy.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/spi/SqmMultiTableMutationStrategy.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/BasicValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqmParameterInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmCteTable.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmCteTableColumn.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/AbstractSqmInsertStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/SqmInsertStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQueryGroup.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQueryPart.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQuerySpec.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectClause.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AggregateFunctionChecker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/CteTable.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/BinaryArithmeticExpression.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Over.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SelfRenderingSqlFragmentExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/LazyTableGroup.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/ValuesTableGroup.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/ValuesTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/insert/InsertStatement.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/update/Assignable.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcSelect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/filter/DynamicFilterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/flush/NativeCriteriaSyncTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ASTParserLoadingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Animal.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Animal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/BooleanLiteralEntity.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/BooleanLiteralEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/BulkManipulationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Car.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Cat.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Classification.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ClassificationType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ComponentContainer.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ComponentContainer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/CompositeIdEntity.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/CompositeIdEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Constructor.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Constructor.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/CrazyCompositeKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/CrazyIdFieldNames.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Crop.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/DB297SubStringFunctionsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/DeleteQuerySubqueryReferencingTargetPropertyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/DeleteWithSubqueryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Department.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Dog.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/DomesticAnimal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Employee.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/EntityWithArgFunctionAsColumn.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/EntityWithCrazyCompositeKey.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/EntityWithCrazyCompositeKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/EntityWithFunctionAsColumnHolder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/EntityWithNoArgFunctionAsColumn.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Farm.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/FooBarCopy.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/FunctionNameAsColumnTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/FunctionNamesAsColumns.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/HeresAnotherCrazyIdFieldName.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Human.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Image.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Image.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/IndicesTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/IntegerVersioned.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/JoinOnClauseTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Joiner.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/KeyManyToOneEntity.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/KeyManyToOneEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/KeyManyToOneKeyEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Lizard.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Mammal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/MapFunctionExpressionsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/MoreCrazyIdFieldNameStuffEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Name.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Panel.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ParameterCollectionTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/PettingZoo.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Pickup.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Properties.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Reptile.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SUV.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/ScrollableCollectionFetchingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SelectNewEmbeddedIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SimpleAssociatedEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SimpleEntityWithAssociation.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SimpleEntityWithAssociation.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/StateProvince.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/SubQueryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/TimestampVersioned.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Title.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/TreatKeywordTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/TrtPanel.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Truck.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/UpdateJoinedSubclassCorrelationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/VariousKeywordPropertyEntity.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/VariousKeywordPropertyEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Vehicle.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Vehicle.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Versions.hbm.xml
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/WithClauseTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/Zoo.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/Entity1.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/Entity2.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/Entity3.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/GrandChild.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/fetchAndJoin/ToManyFetchAndJoinTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/joinedSubclass/Employee.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/joinedSubclass/JoinedSubclassSubQueryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/joinedSubclass/Person.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/size/WhereClauseOrderBySizeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/size/filter/City.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/size/filter/Region.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/size/filter/WhereAnnotatedOneToManySizeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/InheritanceDeleteBatchTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/BaseEntityManagerFunctionalTestCase.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/literal/AbstractCriteriaLiteralHandlingModeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/literal/CriteriaLiteralHandlingModeAutoTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/literal/CriteriaLiteralHandlingModeBindTest.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/InDbGenerationsWithAnnotationsTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/GeneratedInstantTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/hhh14276/NestedIdClassDerivedIdentifiersTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/hhh14343/NestedIdClassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/pagination/FetchClausePaginationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/OrderByTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/ToOneFetchAndJoinTest.java
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Address.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Animal.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Animal.java
R hibernate-core/src/test/java/org/hibernate/test/hql/BooleanLiteralEntity.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/BooleanLiteralEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Car.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Cat.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Classification.java
R hibernate-core/src/test/java/org/hibernate/test/hql/ClassificationType.java
R hibernate-core/src/test/java/org/hibernate/test/hql/ComponentContainer.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/ComponentContainer.java
R hibernate-core/src/test/java/org/hibernate/test/hql/CompositeIdEntity.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/CompositeIdEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Constructor.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Constructor.java
R hibernate-core/src/test/java/org/hibernate/test/hql/CrazyCompositeKey.java
R hibernate-core/src/test/java/org/hibernate/test/hql/CrazyIdFieldNames.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Crop.java
R hibernate-core/src/test/java/org/hibernate/test/hql/DB297SubStringFunctionsTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/DeleteQuerySubqueryReferencingTargetPropertyTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Department.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Dog.java
R hibernate-core/src/test/java/org/hibernate/test/hql/DomesticAnimal.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Employee.java
R hibernate-core/src/test/java/org/hibernate/test/hql/EntityWithArgFunctionAsColumn.java
R hibernate-core/src/test/java/org/hibernate/test/hql/EntityWithCrazyCompositeKey.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/EntityWithCrazyCompositeKey.java
R hibernate-core/src/test/java/org/hibernate/test/hql/EntityWithFunctionAsColumnHolder.java
R hibernate-core/src/test/java/org/hibernate/test/hql/EntityWithNoArgFunctionAsColumn.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Farm.java
R hibernate-core/src/test/java/org/hibernate/test/hql/FooBarCopy.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/FunctionNameAsColumnTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/FunctionNamesAsColumns.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/HeresAnotherCrazyIdFieldName.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Human.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Image.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Image.java
R hibernate-core/src/test/java/org/hibernate/test/hql/IndicesTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/IntegerVersioned.java
R hibernate-core/src/test/java/org/hibernate/test/hql/JoinOnClauseTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Joiner.java
R hibernate-core/src/test/java/org/hibernate/test/hql/KeyManyToOneEntity.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/KeyManyToOneEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/KeyManyToOneKeyEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Lizard.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Mammal.java
R hibernate-core/src/test/java/org/hibernate/test/hql/MapFunctionExpressionsTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/MoreCrazyIdFieldNameStuffEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Name.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Panel.java
R hibernate-core/src/test/java/org/hibernate/test/hql/ParameterCollectionTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/PettingZoo.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Pickup.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Properties.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Reptile.java
R hibernate-core/src/test/java/org/hibernate/test/hql/SUV.java
R hibernate-core/src/test/java/org/hibernate/test/hql/SelectNewEmbeddedIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/SimpleAssociatedEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/SimpleEntityWithAssociation.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/SimpleEntityWithAssociation.java
R hibernate-core/src/test/java/org/hibernate/test/hql/StateProvince.java
R hibernate-core/src/test/java/org/hibernate/test/hql/SubQueryTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/TimestampVersioned.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Title.java
R hibernate-core/src/test/java/org/hibernate/test/hql/TrtPanel.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Truck.java
R hibernate-core/src/test/java/org/hibernate/test/hql/UpdateJoinedSubclassCorrelationTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/User.java
R hibernate-core/src/test/java/org/hibernate/test/hql/VariousKeywordPropertyEntity.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/VariousKeywordPropertyEntity.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Vehicle.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Vehicle.java
R hibernate-core/src/test/java/org/hibernate/test/hql/Versions.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hql/Zoo.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/Child.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/Entity1.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/Entity2.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/Entity3.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/GrandChild.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/Parent.java
R hibernate-core/src/test/java/org/hibernate/test/hql/fetchAndJoin/ToManyFetchAndJoinTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/Employee.java
R hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassBulkManipTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/JoinedSubclassSubQueryTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/joinedSubclass/Person.java
R hibernate-core/src/test/java/org/hibernate/test/hql/size/WhereClauseOrderBySizeTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/size/filter/City.java
R hibernate-core/src/test/java/org/hibernate/test/hql/size/filter/Region.java
R hibernate-core/src/test/java/org/hibernate/test/hql/size/filter/WhereAnnotatedOneToManySizeTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/BaseEnversJPAFunctionalTestCase.java
M hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryBasedFunctionalTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java
M migration-guide.adoc
Log Message:
-----------
* Cleanup temporary table handling in dialects
* Fix insert handling with respect to version, discriminator and generated identifier insertion
* Introduce SqmMultiTableInsertStrategy to handle multi-table inserts
* Introduce the notion of an "entity table" similar to the "id table" to handle multi-table insertions
* Implement table based and cte based multi-table insertion to support all dialects
* Implement identifier generator optimizer support for multi-table insert
* Fix validation of insert target paths against select item types
* Fix some DML validations
* Implement over-clause support in SQL AST
* Fix multi-valued filter parameter support
[View Less]
3 years, 1 month
[hibernate/hibernate-orm] c959c7: Fix IdentifiableType#getId(Class<Y> type) failing ...
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c959c7656c477a350a48266f2ff718ea77b1dcba
https://github.com/hibernate/hibernate-orm/commit/c959c7656c477a350a48266...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/…
[View More]AbstractJpaMetamodelPopulationTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/AbstractMetamodelSpecificTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Address.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Alias.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Article.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/BaseEmbeddedEntity.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Country.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/CreditCard.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Customer.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/EmbeddedTypeTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Entity1.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Entity2.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Entity3.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Info.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelDisabledPopulationTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelEnabledPopulationTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelskipUnsupportedPopulationTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/LineItem.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/MapEntity.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/MapEntityLocal.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Order.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Phone.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Product.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/ShelfLife.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Spouse.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Thing.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/ThingWithQuantity.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/Translation.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/VersionedEntity.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/AbstractCriteriaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/CriteriaCompilingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/ManipulationCriteriaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/OnKeywordTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/QueryBuilderTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/TreatKeywordTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/AggregationResultTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/CastTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/ExpressionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/ListIndexTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/PredicateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/idclass/IdClassPredicateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/mapjoin/MapJoinTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/paths/AbstractPathImplTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/paths/FetchAndJoinTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/paths/PluralAttributeExpressionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/subquery/CorrelatedSubqueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/subquery/UncorrelatedSubqueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/tuple/TupleCriteriaTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/AbstractJpaMetamodelPopulationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/AbstractMetamodelSpecificTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Alias.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Article.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/BaseEmbeddedEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Country.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/CreditCard.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Customer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/EmbeddedTypeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Entity1.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Entity2.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Entity3.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/LineItem.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/MapEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/MapEntityLocal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Order.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Person.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Phone.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Product.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/ShelfLife.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Spouse.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Thing.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/ThingWithQuantity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/Translation.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/VersionedEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/RootEntityTypeModelTest.java
Log Message:
-----------
Fix IdentifiableType#getId(Class<Y> type) failing for primitive types
[View Less]
3 years, 1 month
[hibernate/hibernate-orm] 012bcd: HHH-14921 Clarify the ability of IdentifierGenerat...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 012bcd1cfb7e4b4f5dd4d45ff5a419ad9274daa5
https://github.com/hibernate/hibernate-orm/commit/012bcd1cfb7e4b4f5dd4d45...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
M …
[View More]hibernate-core/src/main/java/org/hibernate/id/Configurable.java
M hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDHexGenerator.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/id/factory/internal/DefaultIdentifierGeneratorFactory.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
Log Message:
-----------
HHH-14921 Clarify the ability of IdentifierGenerator to be configured and to register exportables
Commit: cc13379c77073d70e89fc90150b2f0bf98c080af
https://github.com/hibernate/hibernate-orm/commit/cc13379c77073d70e89fc90...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/AbstractAuxiliaryDatabaseObject.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MetadataSourceProcessor.java
M hibernate-core/src/main/java/org/hibernate/mapping/AuxiliaryDatabaseObject.java
Log Message:
-----------
HHH-14921 Clarify that org.hibernate.mapping.AuxiliaryDatabaseObject has been replaced with org.hibernate.boot.model.relational.AuxiliaryDatabaseObject
Commit: 16524e2f6747ff0c447e2f7a91ceb7e1d8d780a9
https://github.com/hibernate/hibernate-orm/commit/16524e2f6747ff0c447e2f7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.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/id/enhanced/TableStructure.java
M hibernate-envers/hibernate-envers.gradle
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/reventity/MonotonicRevisionNumberTest.java
Log Message:
-----------
HHH-14921 Remove a few unused SQL generation methods in identifier generators
They are getting in the way of changes related to the default schema
Commit: 0c644fa16d80236caa1cc3ef89ecdeb99c7e41bf
https://github.com/hibernate/hibernate-orm/commit/0c644fa16d80236caa1cc3e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.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
Log Message:
-----------
HHH-14921 Remove unused method PersistentIdentifierGenerator#generatorKey
Commit: b6f833441a4c578f0f83249f8a4e518f63227f16
https://github.com/hibernate/hibernate-orm/commit/b6f833441a4c578f0f83249...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/AuxiliaryDatabaseObject.java
A hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
A hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/identity/GetGeneratedKeysDelegate.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/id/AbstractPostInsertGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/BulkInsertionCapableIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.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/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.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/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceIdentityGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.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/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/id/insert/InsertGeneratedIdentifierDelegate.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardAuxiliaryDatabaseObjectExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.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/id/SequenceHiLoGeneratorNoIncrementTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceHiLoGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.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/idgen/enhanced/auto/AutoGenerationTypeTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/BasicSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/sequence/HiLoSequenceMismatchStrategyTest.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/schemaupdate/SchemaUpdateTableBackedSequenceTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
Log Message:
-----------
HHH-14921 Delay generation of SQL strings by identifier generators until schema export or session factory creation
Commit: 495bd51caa68ee90bf21d14b86edf29e1ecebc92
https://github.com/hibernate/hibernate-orm/commit/495bd51caa68ee90bf21d14...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/unique/InformixUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedName.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialectTableExporter.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DB2UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/spi/JdbcEnvironment.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/PrimaryKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/RelationalModel.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.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/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/ExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ExtractionContext.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/GroupedSchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/IndividuallySchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardAuxiliaryDatabaseObjectExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardIndexExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardSequenceExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardUniqueKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ImprovedExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/Exporter.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/qualfiedTableNaming/QualifiedTableNamingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/jpa/PersistenceUnitOverridesTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hbm/uk/UniqueDelegateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Db2GenerationTest.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/tool/schema/internal/CheckForExistingForeignKeyTest.java
M hibernate-core/src/test/java/org/hibernate/tool/schema/internal/AbstractSchemaMigratorTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/reventity/MonotonicRevisionNumberTest.java
Log Message:
-----------
HHH-14921 Always use SqlStringGenerationContext for generation of SQL strings involving table/sequence names
Commit: 4d5306a82d42e79a9b5eebdd38910dd3bf1450ab
https://github.com/hibernate/hibernate-orm/commit/4d5306a82d42e79a9b5eebd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.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/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/KeyValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/SQLQueryParser.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/DatabaseInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/ExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaValidator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/HibernateSchemaManagementTool.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ImprovedExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ExtractionTool.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schematools/TestExtraPhysicalTableTypes.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/SchemaUpdateTableBackedSequenceTest.java
Log Message:
-----------
HHH-14921 Delay determination of the default catalog/schema until schema management tool or session factory creation
Commit: 944c90061a74167aebcb1e367772c4bb8ca691fc
https://github.com/hibernate/hibernate-orm/commit/944c90061a74167aebcb1e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
A hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-file-level-catalog-and-schema.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-file-level-catalog-and-schema.orm.xml
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-global-catalog-and-schema.orm.xml
Log Message:
-----------
HHH-14921 Test handling of default catalog and schema
Commit: aafacbec478b12e8ae0a0a2b088ebc396b2bf107
https://github.com/hibernate/hibernate-orm/commit/aafacbec478b12e8ae0a0a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14921 Test handling of default catalog and schema when not configured during metadata creation
Commit: 8f1d1c43ce0285c327243687e2f5ceea1511da28
https://github.com/hibernate/hibernate-orm/commit/8f1d1c43ce0285c32724368...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema
Commit: 30e3aa4e7f7c28c4a466e26ff396c3cf7582a866
https://github.com/hibernate/hibernate-orm/commit/30e3aa4e7f7c28c4a466e26...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/Database.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.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/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/JPAXMLOverriddenAnnotationReader.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/JPAXMLOverriddenMetadataProvider.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/XMLContext.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/DatabaseInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.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/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java
Log Message:
-----------
HHH-14922 Delay applying the implicit catalog/schema until schema management tool or session factory creation
This is necessary if we want the default catalog/schema to take
precedence, since the default catalog/schema is applied late,
on schema management tool or session factory creation.
Commit: 37d3b66ce411656c305910cff9d9867d8716c965
https://github.com/hibernate/hibernate-orm/commit/37d3b66ce411656c305910c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14922 Give precedence to default catalog/schema over implicit catalog/schema
Compare: https://github.com/hibernate/hibernate-orm/compare/05d536d3457f...37d3b66...
[View Less]
3 years, 1 month
[hibernate/hibernate-orm] 9d3b3d: HHH-14921 Clarify the ability of IdentifierGenerat...
by Yoann Rodière
Branch: refs/heads/5.6
Home: https://github.com/hibernate/hibernate-orm
Commit: 9d3b3d1c8a71c989fe2168ec7998811939fc56f5
https://github.com/hibernate/hibernate-orm/commit/9d3b3d1c8a71c989fe2168e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
M …
[View More]hibernate-core/src/main/java/org/hibernate/id/Configurable.java
M hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDHexGenerator.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/id/factory/internal/DefaultIdentifierGeneratorFactory.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
Log Message:
-----------
HHH-14921 Clarify the ability of IdentifierGenerator to be configured and to register exportables
Commit: af5afa988dc02d422d8e1591658dfa3112a50dce
https://github.com/hibernate/hibernate-orm/commit/af5afa988dc02d422d8e159...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/AbstractAuxiliaryDatabaseObject.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/MetadataSourceProcessor.java
M hibernate-core/src/main/java/org/hibernate/mapping/AuxiliaryDatabaseObject.java
Log Message:
-----------
HHH-14921 Clarify that org.hibernate.mapping.AuxiliaryDatabaseObject has been replaced with org.hibernate.boot.model.relational.AuxiliaryDatabaseObject
Commit: 0bd228a64017293e04ff73f163892ee16e2695ab
https://github.com/hibernate/hibernate-orm/commit/0bd228a64017293e04ff73f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.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/id/enhanced/TableStructure.java
M hibernate-envers/hibernate-envers.gradle
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/MonotonicRevisionNumberTest.java
Log Message:
-----------
HHH-14921 Remove a few unused SQL generation methods in identifier generators
They are getting in the way of changes related to the default schema
Commit: 9a14200ca2028f005cd129989004bfef1e52c843
https://github.com/hibernate/hibernate-orm/commit/9a14200ca2028f005cd1299...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.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
Log Message:
-----------
HHH-14921 Remove unused method PersistentIdentifierGenerator#generatorKey
Commit: 5b83edfd49f8df348b2356978837d44342df5f8f
https://github.com/hibernate/hibernate-orm/commit/5b83edfd49f8df348b23569...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/AuxiliaryDatabaseObject.java
A hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
A hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/identity/GetGeneratedKeysDelegate.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/hql/internal/ast/HqlSqlWalker.java
M hibernate-core/src/main/java/org/hibernate/id/AbstractPostInsertGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/BulkInsertionCapableIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.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/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/MultipleHiLoPerTableGenerator.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/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceIdentityGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.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/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/id/insert/InsertGeneratedIdentifierDelegate.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardAuxiliaryDatabaseObjectExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/Exporter.java
M hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorNoIncrementTest.java
M hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java
M hibernate-core/src/test/java/org/hibernate/id/enhanced/SequenceStyleConfigUnitTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/auto/NewGeneratorsTests.java
M hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/BasicSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/sequence/HiLoSequenceMismatchStrategyTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/compliance/tck2_2/GeneratedValueTests.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateTableBackedSequenceTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
Log Message:
-----------
HHH-14921 Delay generation of SQL strings by identifier generators until schema export or session factory creation
Commit: 36b001221b8b61f20a5bb81b7e90fff931c4b528
https://github.com/hibernate/hibernate-orm/commit/36b001221b8b61f20a5bb81...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedName.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Teradata14Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DB2UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/InformixUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/spi/JdbcEnvironment.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/AbstractMultiTableBulkIdStrategyImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/MultiTableBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/AbstractCteValuesListBulkIdHandler.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/cte/CteValuesListBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/global/GlobalTemporaryTableBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/InlineIdsInClauseBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/InlineIdsOrClauseBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/inline/InlineIdsSubSelectValueListBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/local/LocalTemporaryTableBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/persistent/PersistentTableBulkIdStrategy.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/PrimaryKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/RelationalModel.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/ExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ExtractionContext.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/GroupedSchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/IndividuallySchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardAuxiliaryDatabaseObjectExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardIndexExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardSequenceExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardUniqueKeyExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ImprovedExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/Exporter.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/jpa/PersistenceUnitOverridesTests.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/hbm/uk/UniqueDelegateTest.java
M hibernate-core/src/test/java/org/hibernate/test/idgen/enhanced/table/Db2GenerationTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/compliance/tck2_2/GeneratedValueTests.java
M hibernate-core/src/test/java/org/hibernate/test/tool/schema/internal/CheckForExistingForeignKeyTest.java
M hibernate-core/src/test/java/org/hibernate/tool/schema/internal/AbstractSchemaMigratorTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/reventity/MonotonicRevisionNumberTest.java
Log Message:
-----------
HHH-14921 Always use SqlStringGenerationContext for generation of SQL strings involving table/sequence names
Commit: a9f1ada94d8f70966dadb5dab639e58176d4b853
https://github.com/hibernate/hibernate-orm/commit/a9f1ada94d8f70966dadb5d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.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/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterConfiguration.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryParser.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/KeyValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/DatabaseInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/ExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaValidator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/HibernateSchemaManagementTool.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ImprovedExtractionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ExtractionTool.java
M hibernate-core/src/test/java/org/hibernate/test/schematools/TestExtraPhysicalTableTypes.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateTableBackedSequenceTest.java
Log Message:
-----------
HHH-14921 Delay determination of the default catalog/schema until schema management tool or session factory creation
Commit: 1ee0e2e338cab26c8af84916afe2500ff565142f
https://github.com/hibernate/hibernate-orm/commit/1ee0e2e338cab26c8af8491...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/DatabaseStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
A hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-file-level-catalog-and-schema.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-file-level-catalog-and-schema.orm.xml
A hibernate-core/src/test/resources/org/hibernate/test/boot/database/qualfiedTableNaming/implicit-global-catalog-and-schema.orm.xml
Log Message:
-----------
HHH-14921 Test handling of default catalog and schema
Commit: 3071f58c217d8933766b75270879a6dba7f1f166
https://github.com/hibernate/hibernate-orm/commit/3071f58c217d8933766b752...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14921 Test handling of default catalog and schema when not configured during metadata creation
Commit: 9b47fcdfa825bc77003e4fb985b02bb2131d82e1
https://github.com/hibernate/hibernate-orm/commit/9b47fcdfa825bc77003e4fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema
Commit: 795d5cd4e98a539790f2f6332e5399e506af8e20
https://github.com/hibernate/hibernate-orm/commit/795d5cd4e98a539790f2f63...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/Database.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.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/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/JPAXMLOverriddenAnnotationReader.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/JPAXMLOverriddenMetadataProvider.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/reflection/internal/XMLContext.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/DatabaseInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java
Log Message:
-----------
HHH-14922 Delay applying the implicit catalog/schema until schema management tool or session factory creation
This is necessary if we want the default catalog/schema to take
precedence, since the default catalog/schema is applied late,
on schema management tool or session factory creation.
Commit: 67e09b12908de27686169ade8d590b5b7ea1f9ef
https://github.com/hibernate/hibernate-orm/commit/67e09b12908de27686169ad...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/test/java/org/hibernate/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
HHH-14922 Give precedence to default catalog/schema over implicit catalog/schema
Compare: https://github.com/hibernate/hibernate-orm/compare/49d2fccbcbb5...67e09b1...
[View Less]
3 years, 1 month