[hibernate/hibernate-orm] 276b7a: HHH-15748 Use JSON DDL type on Oracle 21+ and BLOB...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 276b7a6f95e06b2289dc4891774f52c80ae00d69
https://github.com/hibernate/hibernate-orm/commit/276b7a6f95e06b2289dc489...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-11-25 (Fri, 25 Nov 2022)
Changed paths:
M docker_db.sh
M documentation/src/test/java/org/hibernate/userguide/mapping/basic/JsonMappingTests.java
M gradle/databases.gradle
M gradle/java-module.gradle
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/OracleJsonJdbcType.java
A hibernate-core/src/main/java/org/hibernate/dialect/OracleTypes.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleTypesHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeJavaClassMappings.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JsonBlobJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/jackson/JacksonJsonFormatMapper.java
M hibernate-core/src/main/java/org/hibernate/type/jackson/JacksonXmlFormatMapper.java
M hibernate-core/src/main/java/org/hibernate/type/jakartajson/JsonBJsonFormatMapper.java
M hibernate-core/src/main/java/org/hibernate/type/jaxb/JaxbXmlFormatMapper.java
M migration-guide.adoc
Log Message:
-----------
HHH-15748 Use JSON DDL type on Oracle 21+ and BLOB on 12+
2 years, 1 month
[hibernate/hibernate-orm] c8ffee: HHH-15750 fix bug in Hibernate.isInitialized()
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c8ffee43ef43675cd406853bdb84299a7813694e
https://github.com/hibernate/hibernate-orm/commit/c8ffee43ef43675cd406853...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-25 (Fri, 25 Nov 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
Log Message:
-----------
HHH-15750 fix bug in Hibernate.isInitialized()
it didn't work for EnhancementAsProxyLazinessInterceptor
Commit: 5b5721f64be973f3b4c72a8ce3344379097fec23
https://github.com/hibernate/hibernate-orm/commit/5b5721f64be973f3b4c72a8...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-25 (Fri, 25 Nov 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Annotations.adoc
M documentation/src/main/asciidoc/userguide/chapters/domain/associations.adoc
M documentation/src/test/java/org/hibernate/userguide/associations/OneToOneBidirectionalLazyTest.java
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyCollection.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyCollectionOption.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyToOne.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyToOneOption.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/ToOneBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/ToOneFkSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/ToOne.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/lazytoone/LanyProxylessManyToOneTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/lazytoone/ManyToOneExplicitOptionTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/lazytoone/onetoone/LazyProxylessOneToOneTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/lazytoone/onetoone/OneToOneExplicitOptionTests.java
Log Message:
-----------
HHH-15739 deprecate @LazyToOne and @LazyCollection
and add some docs and cleanups
Compare: https://github.com/hibernate/hibernate-orm/compare/be406f2732d2...5b5721f...
2 years, 1 month
[hibernate/hibernate-orm] 818bb4: Teach CustomRunner to read orm.junit annotations
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 818bb41091baf38c55f11369bdd33ab472912592
https://github.com/hibernate/hibernate-orm/commit/818bb41091baf38c55f1136...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/CustomRunner.java
Log Message:
-----------
Teach CustomRunner to read orm.junit annotations
Commit: c6fa10de6e8baeae700b1c3eb39d7210ed48e864
https://github.com/hibernate/hibernate-orm/commit/c6fa10de6e8baeae700b1c3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ScriptSourceInputFromUrl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/DefaultImportFileExecutionTest.java
Log Message:
-----------
Fix file descriptor leak
Commit: 67d751d81df2445656ff0a451929ce5c33c9e7c3
https://github.com/hibernate/hibernate-orm/commit/67d751d81df2445656ff0a4...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseASELegacySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASESqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/AggregateWindowEmulationQueryTransformer.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractNaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractCompositeIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/MappingModelHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDomainPath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicEntityIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.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/CollectionIdentifierDescriptorImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.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/EntityRowIdMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.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/InverseNonAggregatedIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ColumnReference.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/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleBasicValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEmbeddableValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEntityValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/ResultsHelper.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderBasicPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderEmbeddableValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderEntityValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedConverted.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderCollectionStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/DelayedFetchBuilderBasicPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilderLegacy.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilderStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderAttribute.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderBasic.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MatchingIdSelectionHelper.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
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InPredicateRestrictionProducer.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/ExecuteWithTemporaryTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/ExecuteWithoutIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedInsertHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/UpdateExecutionDelegate.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/DiscriminatedAssociationPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/DiscriminatedAssociationTypePathInterpretation.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EmbeddableValuedExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EntityValuedPathInterpretation.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/SqlExpressionResolver.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/NamedTableReference.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/SyntheticVirtualTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableReference.java
A hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableExpressionResultImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/QueryTimeOutTest.java
Log Message:
-----------
Cleanup embeddable expression handling and resolving of column references
Compare: https://github.com/hibernate/hibernate-orm/compare/43f9cd669438...67d751d...
2 years, 1 month
[hibernate/hibernate-orm] 6658c6: HHH-15669 Fix test failures when using Oracle 21
by Karel Maesen
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 6658c6235fbcaf66fc4e40b3ddb590b5d4cad5be
https://github.com/hibernate/hibernate-orm/commit/6658c6235fbcaf66fc4e40b...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
A hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/oracle/hhh15669/TestStWithinBug.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/SpatialTestDataProvider.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/functions/CommonFunctionTests.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/functions/FunctionTestTemplate.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/functions/RowObjectMapper.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/functions/TestTemplates.java
R hibernate-spatial/src/test/java/org/hibernate/spatial/testing/GeometryEquality.java
R hibernate-spatial/src/test/java/org/hibernate/spatial/testing/JTSGeometryEquality.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/SpatialTestBase.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/datareader/TestSupport.java
R hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/mysql/MySQLGeometryEquality.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/dialects/oracle/OracleSDOTestSupport.java
M hibernate-spatial/src/test/resources/oracle10g/test-sdo-geometry-data-set-2D.xml
Log Message:
-----------
HHH-15669 Fix test failures when using Oracle 21
Rings in Oracle polygons may be shifted depending on how it
is processed. The equality test now takes this into account.
Add test to investigate st_within test failure.
Commit: 43f9cd6694387fe2f517f4fbc3d905b1320f32a3
https://github.com/hibernate/hibernate-orm/commit/43f9cd6694387fe2f517f4f...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2022-11-22 (Tue, 22 Nov 2022)
Changed paths:
M hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/oracle/OracleSQLMMFunctionTests.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/integration/functions/CommonFunctionTests.java
Log Message:
-----------
HHH-15669 Remove @SkipForDialect Oracle 21
Compare: https://github.com/hibernate/hibernate-orm/compare/bf128ddbfa2a...43f9cd6...
2 years, 1 month