[hibernate/hibernate-orm] 1184a5: Re-add AvailableSettings.JPA_METAMODEL_GENERATION ...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 1184a5963bfd2bbc4ef2db1fe60d3e6de15584c7
https://github.com/hibernate/hibernate-orm/commit/1184a5963bfd2bbc4ef2db1...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-12-23 (Thu, 23 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/JpaMetaModelPopulationSetting.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/JpaStaticMetaModelPopulationSetting.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractManagedType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/JpaMetamodel.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/ManagedDomainType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPolymorphicRootDescriptor.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelDisabledPopulationTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelEnabledPopulationTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/metamodel/JpaMetamodelskipUnsupportedPopulationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idclass/IdClassHbmTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/paths/SingularAttributeJoinTest.java
M 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/JpaMetamodelDisabledPopulationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/JpaMetamodelEnabledPopulationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/JpaMetamodelIgnoreUnsupportedPopulationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/contributed/EntityHidingTests.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/RuntimeModelSmokeTests.java
Log Message:
-----------
Re-add AvailableSettings.JPA_METAMODEL_GENERATION and re-enable metamodel tests
Commit: 3ea5a066ede573db9b3d743d223985d8762cd100
https://github.com/hibernate/hibernate-orm/commit/3ea5a066ede573db9b3d743...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-12-23 (Thu, 23 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/internal/JpaAttributeConverterImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/EntityDomainResultBuilder.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/ScalarDomainResultBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheDisabledImpl.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/Builders.java
M hibernate-core/src/main/java/org/hibernate/query/results/FetchBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/results/ImplicitAttributeFetchBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/results/ResultBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/results/ResultSetMappingImpl.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/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/CompleteResultBuilderEntityJpa.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderInstantiation.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/AbstractFetchBuilderContainer.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilder.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/DynamicResultBuilder.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/DynamicResultBuilderBasicConverted.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderEntityCalculated.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderInstantiation.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderBasic.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEntity.java
A hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEntityPart.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderPlural.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitModelPartResultBuilderBasic.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitModelPartResultBuilderEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitModelPartResultBuilderEntity.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/NonSelectInterpretationsKey.java
M hibernate-core/src/main/java/org/hibernate/query/sql/spi/SelectInterpretationsKey.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/spi/JdbcValuesMappingProducer.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/QueryStatisticsImpl.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsImpl.java
M hibernate-core/src/main/java/org/hibernate/stat/spi/StatisticsImplementor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/stat/internal/QueryPlanCacheStatisticsTest.java
R hibernate-core/src/test/java/org/hibernate/stat/internal/QueryPlanCacheStatisticsTest.java
Log Message:
-----------
Add query plan cache statistics for native queries and implement proper caching
Compare: https://github.com/hibernate/hibernate-orm/compare/195df690198e...3ea5a06...
3 years
[hibernate/hibernate-orm] 1f42b9: Log first Exception when MappingModelCreationProce...
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 1f42b9badbf86e1fab3112566897cbd8a3f3c0af
https://github.com/hibernate/hibernate-orm/commit/1f42b9badbf86e1fab31125...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
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/MappingModelCreationProcess.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
Log first Exception when MappingModelCreationProcess cannot complete
3 years
[hibernate/hibernate-orm] 779cbe: Fix tests for HANA
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 779cbef20ca577b2727db6f4ed47f050325831b5
https://github.com/hibernate/hibernate-orm/commit/779cbef20ca577b2727db6f...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/AbstractStandardBasicType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/nested/NestedEmbeddableMetadataTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/EnumeratedSmokeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/insertordering/BaseInsertOrderingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/insertordering/InsertOrderingSelfReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/insertordering/InsertOrderingWithSecondaryTable.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/SimpleAttributeBinderTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/AttributeConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/SimpleEmbeddableOverriddenConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/SimpleOverriddenConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/SimpleXmlOverriddenTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/custom/CustomTypeConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/formula/FormulaFromHbmTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/java/ZoneMappingTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/QueryTimeOutTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sql/NativeQueryResultBuilderTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/HANASchemaMigrationTargetScriptCreationTest.java
Log Message:
-----------
Fix tests for HANA
Commit: fec4fb7a85bc35b1b1927f3bb17f0898585de436
https://github.com/hibernate/hibernate-orm/commit/fec4fb7a85bc35b1b1927f3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/internal/OrdinalEnumValueConverter.java
M hibernate-testing/src/main/java/org/hibernate/testing/jdbc/SharedDriverManagerConnectionProviderImpl.java
Log Message:
-----------
Fix connection leak through connection validation code
Compare: https://github.com/hibernate/hibernate-orm/compare/dd0e65c69813...fec4fb7...
3 years