[hibernate/hibernate-orm] 2e6902: HHH-17557 native queries return LocalDate and Loca...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 2e6902ddb2e2cc7786c2bcd78b79946a44d90e27
https://github.com/hibernate/hibernate-orm/commit/2e6902ddb2e2cc7786c2bcd...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.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/QuerySettings.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/DateJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/TimeJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/TimestampJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryResultTypeAutoDiscoveryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryWithDatetimesTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/DateArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimeArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimestampArrayTest.java
Log Message:
-----------
HHH-17557 native queries return LocalDate and LocalDateTime instead of java.sql types
... by default, with a setting to recover old behavior.
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 52e185: HHH-15942 introduce QueryFlushMode for specifying ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 52e185b1948dd341150eb1fe204a81d5f3253870
https://github.com/hibernate/hibernate-orm/commit/52e185b1948dd341150eb1f...
Author: Gavin <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/FlushMode.java
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/annotations/FlushModeType.java
M hibernate-core/src/main/java/org/hibernate/annotations/NamedNativeQuery.java
M hibernate-core/src/main/java/org/hibernate/annotations/NamedQuery.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/QueryBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/NamedNativeQueryAnnotation.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/NamedQueryAnnotation.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/FlushModeTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/procedure/ProcedureCall.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureCallImpl.java
M hibernate-core/src/main/java/org/hibernate/query/CommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/MutationQuery.java
M hibernate-core/src/main/java/org/hibernate/query/NativeQuery.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
A hibernate-core/src/main/java/org/hibernate/query/QueryFlushMode.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/SqmQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sql/spi/NativeQueryImplementor.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmSelectionQuery.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/SqmSelectionQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/spi/DelegatingSqmSelectionQueryImplementor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryFlushModeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryQueryFlushModeTest.java
Log Message:
-----------
HHH-15942 introduce QueryFlushMode for specifying whether a query flushes or not
- replaces FlushModeType in the annotation package
- much less confusing when applied to a Query
* what do MANUAL and COMMIT mean for a Query?
* how is AUTO useful for a Query?
- also make Query.getHibernateFlushMode() obey its
documented semantics by returning the session
flush mode instead of null when unset
Commit: 2fc51bd7b2dc0a604aabbd812a8d5369287e13d4
https://github.com/hibernate/hibernate-orm/commit/2fc51bd7b2dc0a604aabbd8...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-15 (Sun, 15 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractCommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/AbstractSqmSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
Log Message:
-----------
attempt to untangle some convoluted logic in Query hierarchy
Compare: https://github.com/hibernate/hibernate-orm/compare/5f8bf125fc9c...2fc51bd...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 5f8bf1: HHH-18619 add support for @ForeignKey(options), @U...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 5f8bf125fc9c203d7c7259ab3c16b3f5e7f20213
https://github.com/hibernate/hibernate-orm/commit/5f8bf125fc9c203d7c7259a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-14 (Sat, 14 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IndexBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/AlterTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/CreateTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/DenormalizedTable.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.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/mapping/ToOne.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/ColumnDefinitions.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/SchemaTruncatorImpl.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
A hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/options/OptionsTest.java
Log Message:
-----------
HHH-18619 add support for @ForeignKey(options), @UniqueConstraint(options), @Index(options)
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 19d589: finally sort out handling of @Id and @Version in q...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 19d5895dd64a4a081ecb383d194af0731348fbe9
https://github.com/hibernate/hibernate-orm/commit/19d5895dd64a4a081ecb383...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-14 (Sat, 14 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/Concrete.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/DataTest.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/IdOperations.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/Thing.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/versioned/SpecialVersioned.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/versioned/SpecialVersionedRepo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/versioned/Versioned.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/versioned/VersionedRepo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/versioned/VersionedTest.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockEntityPersister.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java
Log Message:
-----------
finally sort out handling of @Id and @Version in query validator
also remove 'this' hacks made obsolete by Steve's work on core
Commit: 9f2beca2265f1bcce3132744992d5208f4cb2315
https://github.com/hibernate/hibernate-orm/commit/9f2beca2265f1bcce313274...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-14 (Sat, 14 Sep 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
add a comment
Compare: https://github.com/hibernate/hibernate-orm/compare/d6ab2fd110f0...9f2beca...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 3c161e: test for JPQL 'this' implicit identification variable
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 3c161e0c826816c3afcb53164979e4986728dbde
https://github.com/hibernate/hibernate-orm/commit/3c161e0c826816c3afcb531...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/thisalias/HQLThisTest.java
Log Message:
-----------
test for JPQL 'this' implicit identification variable
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 27042f562fc6fff60082dd07018568f033f13847
https://github.com/hibernate/hibernate-orm/commit/27042f562fc6fff60082dd0...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/ClassLevelGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/FieldLevelGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/pkg/PackageLevelGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/pkg/package-info.java
Log Message:
-----------
test for @SequenceGenerator/@TableGenerator with no name
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: e11ac26cd2a012d4729ad14630b2841688f06c2e
https://github.com/hibernate/hibernate-orm/commit/e11ac26cd2a012d4729ad14...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/EntityResultTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/SimpleEntityWithNamedMappings.java
Log Message:
-----------
test for @EntityResult(lockMode)
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: a82ac08d144b6771190d7741514b5a2b6a6475ca
https://github.com/hibernate/hibernate-orm/commit/a82ac08d144b6771190d774...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedNativeQueryWithResultMappingTest.java
Log Message:
-----------
test for @NamedNativeQuery with result set mapping
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 08bd46670311826b3e7064b6dd0ca7f2d3c660d0
https://github.com/hibernate/hibernate-orm/commit/08bd46670311826b3e7064b...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/ClassLevelGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/FieldLevelGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/pkg/PackageLevelGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedNativeQueryWithResultMappingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/thisalias/HQLThisTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/EntityResultTests.java
Log Message:
-----------
HHH-18498 - Generator on package level does not work when the name is not specified
HHH-18499 - Some new functions in Persistence 3.2 does not work
HHH-18536 - Support implicit "this" alias in HQL
HHH-18537 - Support Session#createNamedSelectionQuery for native-query
Commit: e574f88fd6e3551b153d8ab50bf4f014ea665b59
https://github.com/hibernate/hibernate-orm/commit/e574f88fd6e3551b153d8ab...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SqmPathRegistryImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/thisalias/HQLThisTest.java
Log Message:
-----------
HHH-18536 - Support implicit "this" alias in HQL
Commit: 80b12c46e74cf6abc0f7bdcc9c075598e49c31a5
https://github.com/hibernate/hibernate-orm/commit/80b12c46e74cf6abc0f7bdc...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderEntityJpa.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/EntityResultTests.java
Log Message:
-----------
HHH-18535 - Support jakarta.persistence.EntityResult#lockMode
Commit: 76df41f9bef6991e916b5c6392063bdf906555a1
https://github.com/hibernate/hibernate-orm/commit/76df41f9bef6991e916b5c6...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedNativeQueryWithResultMappingTest.java
Log Message:
-----------
HHH-18537 - Support Session#createNamedSelectionQuery for native-query
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 4b6822a8bcb946d876ef03ab08d0ba222c788840
https://github.com/hibernate/hibernate-orm/commit/4b6822a8bcb946d876ef03a...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorAnnotationHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorParameters.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorStrategies.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdBagBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdBagIdGeneratorResolverSecondPass.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdGeneratorResolver.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdGeneratorResolverSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/StrictIdGeneratorResolverSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/SequenceGeneratorJpaAnnotation.java
M hibernate-core/src/main/java/org/hibernate/boot/models/annotations/internal/TableGeneratorJpaAnnotation.java
M hibernate-core/src/main/java/org/hibernate/boot/models/internal/DomainModelCategorizationCollector.java
M hibernate-core/src/main/java/org/hibernate/boot/models/internal/GlobalRegistrationsImpl.java
A hibernate-core/src/main/java/org/hibernate/boot/models/spi/GlobalRegistrar.java
M hibernate-core/src/main/java/org/hibernate/boot/models/spi/GlobalRegistrations.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/uuid/UuidGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/IdClassAndAssociationsTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/DedicatedSequenceEntity1.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/DedicatedSequenceEntity2.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/package-info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/sub/DedicatedSequenceEntity1.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/sub/DedicatedSequenceEntity2.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generationmappings/sub/package-info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/SimpleIdTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/UnnamedGeneratorTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/ClassLevelGeneratorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/DefaultedGeneratorWithGlobalScopeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/entity/FieldLevelGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/generators/pkg/PackageLevelGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/id/sequences/IdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/GeneratedValueTest.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/HiLoSequenceMismatchStrategyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/identifier/uuid/implicit/ImplicitUuidGenerationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/identifier/uuid/implicit2/Implicit2UuidGenerationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/identifier/uuid/implicit3/Implicit3UuidGenerationTests.java
R local-build-plugins/settings.gradle
Log Message:
-----------
HHH-18498 - Support for unnamed generators
HHH-18593 - Enforce GeneratedValue GenerationType
HHH-18609 - Use UuidGenerator for GenerationType.UUID
Compare: https://github.com/hibernate/hibernate-orm/compare/3c4a340c5eb3...4b6822a...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 4 weeks
[hibernate/hibernate-orm] 3c4a34: HHH-18581 Introduce `supportsBindingNullSqlTypeFor...
by Yanming Zhou
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 3c4a340c5eb30cec8cba464622e6b9990a825beb
https://github.com/hibernate/hibernate-orm/commit/3c4a340c5eb30cec8cba464...
Author: Yanming Zhou <zhouyanming(a)gmail.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
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/MySQLDialect.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/type/descriptor/jdbc/ObjectNullResolvingJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/typedescriptor/NullTest.java
Log Message:
-----------
HHH-18581 Introduce `supportsBindingNullSqlTypeForSetNull()` and `supportsBindingNullForSetObject()` for `Dialect` to optimize binding null
The method `PreparedStatement.getParameterMetaData().getParameterType(int)` call is expensive for some JDBC driver such as pgJDBC, we should avoid it if the driver supports binding `Types.NULL` for `setNull()` or `null` for `setObject()`.
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 4 weeks