[hibernate/hibernate-orm] dcd7eb: clean up some warnings
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: dcd7ebbb5648968228c21de6db7070e52da9ac69
https://github.com/hibernate/hibernate-orm/commit/dcd7ebbb5648968228c21de...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metadata/ClassMetadata.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/CompositeElementPropertyMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/Queryable.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/internal/StandardTableExporter.java
Log Message:
-----------
clean up some warnings
use Metadata instead of deprecated Mapping
(I'm not sure that's really an improvement)
Commit: 5a549ea5b4d8b4fd55be456293093e686764fc3a
https://github.com/hibernate/hibernate-orm/commit/5a549ea5b4d8b4fd55be456...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/type/BasicType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/inheritance/singletable/DuplicatedDiscriminatorValueTest.java
Log Message:
-----------
fix initialization of SingleTableEntityPersister to be eager
Compare: https://github.com/hibernate/hibernate-orm/compare/d2b740ce5b4a...5a549ea...
2 years, 10 months
[hibernate/hibernate-validator] c8f7bf: HV-1872 Test Hibernate Validator against OpenJDK 19
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-validator
Commit: c8f7bf5a12ee11aab7bbf19cf8afd05d49c84bfa
https://github.com/hibernate/hibernate-validator/commit/c8f7bf5a12ee11aab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HV-1872 Test Hibernate Validator against OpenJDK 19
Commit: e7d9f3076e56fe6305b15bff16efa5d72f5d9cd6
https://github.com/hibernate/hibernate-validator/commit/e7d9f3076e56fe630...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1873 Upgrade to forbiddenapis 3.2
Commit: 5101d2e078f35f7ab80fcf3dc02b35e73e70b124
https://github.com/hibernate/hibernate-validator/commit/5101d2e078f35f7ab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M pom.xml
Log Message:
-----------
HV-1873 Ensure we forbid unsafe/deprecated/internal APIs for ALL target JDKs
Commit: 8ed05f71e569b2a9d2fefcaf2c14187443f55be8
https://github.com/hibernate/hibernate-validator/commit/8ed05f71e569b2a9d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M cdi/src/main/java/org/hibernate/validator/cdi/internal/InheritedMethodsHelper.java
M cdi/src/main/java/org/hibernate/validator/cdi/internal/ValidatorFactoryBean.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/AbstractConfigurationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ServiceLoaderBasedConstraintMappingContributor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryConfigurationHelper.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/resolver/TraversableResolvers.java
M engine/src/main/java/org/hibernate/validator/internal/engine/scripting/DefaultScriptEvaluatorFactory.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ValueExtractorManager.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/ExecutableHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/annotation/AnnotationDescriptor.java
M engine/src/main/java/org/hibernate/validator/internal/util/annotation/AnnotationFactory.java
M engine/src/main/java/org/hibernate/validator/internal/util/annotation/AnnotationProxy.java
M engine/src/main/java/org/hibernate/validator/internal/xml/XmlParserHelper.java
M engine/src/main/java/org/hibernate/validator/internal/xml/config/ResourceLoaderHelper.java
M engine/src/main/java/org/hibernate/validator/internal/xml/config/ValidationBootstrapParameters.java
M engine/src/main/java/org/hibernate/validator/internal/xml/config/ValidationXmlParser.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ClassLoadingHelper.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstraintTypeStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/MappingXmlParser.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/resourceloading/PlatformResourceBundleLocator.java
Log Message:
-----------
HV-1873 Suppress forbiddenapis errors on Security Manager uses
Compare: https://github.com/hibernate/hibernate-validator/compare/6dd400276f24...8...
2 years, 10 months
[hibernate/hibernate-orm] d2b740: Jrenaat 6.0 deprecation removals (#4718)
by Jan Schatteman
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: d2b740ce5b4a04fcf8a27cf0db505060f1533a1a
https://github.com/hibernate/hibernate-orm/commit/d2b740ce5b4a04fcf8a27cf...
Author: Jan Schatteman <jrenaat(a)users.noreply.github.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/bootstrap/Bootstrap.adoc
M hibernate-core/src/main/java/org/hibernate/DuplicateMappingException.java
M hibernate-core/src/main/java/org/hibernate/InstantiationException.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/internal/stax/JpaOrmXmlEventReader.java
R hibernate-core/src/main/java/org/hibernate/boot/jaxb/internal/stax/LocalSchema.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/CollectionCacheInvalidator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/WrappedNClob.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/JdbcCoordinator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlStatementLogger.java
M hibernate-core/src/main/java/org/hibernate/event/internal/PostDeleteEventListenerStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/PostInsertEventListenerStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/PostUpdateEventListenerStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/event/spi/AbstractPreDatabaseOperationEvent.java
M hibernate-core/src/main/java/org/hibernate/event/spi/PostActionEventListener.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
R hibernate-core/src/main/java/org/hibernate/integrator/spi/ServiceContributingIntegrator.java
M hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/LoadEntityWithElementCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/event/entity/MergeListPreAndPostPersistTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/event/entity/MergeListPreAndPostPersistWithIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/events/LegacyPostCommitListenerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/events/PostCommitListenerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sharedSession/SessionWithSharedConnectionTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/EnversPostDeleteEventListenerImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/EnversPostInsertEventListenerImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/EnversPostUpdateEventListenerImpl.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/basic/RegisterUserEventListenersTest.java
Log Message:
-----------
Jrenaat 6.0 deprecation removals (#4718)
* Removed deprecated org.hibernate.boot.jaxb.internal.stax.LocalSchema
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Remove some deprecations from org.hibernate.engine.jdbc
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Remove deprecated misspelled method in PostActionEventListener
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Remove deprecated getSource() from AbstractPreDatabaseOperationEvent
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Privatize deprecated buildOptimizer method in OptimizerFactory
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Remove deprecated ServiceContributingIntegrator
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
* Remove some more deprecated features
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
2 years, 10 months
[hibernate/hibernate-orm] 0ad579: Implement SQM copying for JPA Criteria API uses
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 0ad5796ffdc90cf85c21f17477b7c48ad63f7687
https://github.com/hibernate/hibernate-orm/commit/0ad5796ffdc90cf85c21f17...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
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/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/JpaComplianceImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/MutableJpaComplianceImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/spi/JpaCompliance.java
M hibernate-core/src/main/java/org/hibernate/jpa/spi/MutableJpaCompliance.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/DiscriminatorSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/IllegalMutationQueryException.java
M hibernate-core/src/main/java/org/hibernate/query/IllegalSelectQueryException.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/FullyQualifiedReflectivePathTerminal.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractSelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmAggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/ConcreteSqmSelectQueryPlan.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/internal/SqmUtil.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/AbstractSqmDmlStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/AbstractSqmRestrictedDmlStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/AbstractSqmStatement.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmCopyContext.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmQuery.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/SqmTypedNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmCteStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/cte/SqmSearchClauseSpecification.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/delete/SqmDeleteStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmAttributeJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/NonAggregatedCompositeSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmAnyValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBagJoin.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBasicValuedEntityTypePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBasicValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedBagJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedCrossJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedEntityJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedPluralPartJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedRoot.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedRootJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedSetJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmCorrelatedSingularJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmElementAggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEmbeddedValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEntityValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmIndexAggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmIndexedCollectionAccessPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMapEntryReference.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPluralPartJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPluralValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSetJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSingularJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedBagJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedCrossJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedEntityJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedPluralPartJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedRoot.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSetJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSingularJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/AbstractSqmExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/JpaCriteriaParameter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmAliasedNodeRef.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmAny.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmBinaryArithmetic.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmByUnit.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCaseSearched.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCaseSimple.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCastTarget.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCoalesce.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCollation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCollectionSize.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmDistinct.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmDurationUnit.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmEnumLiteral.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmEvery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmExtractUnit.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmFieldLiteral.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmFormat.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmJpaCriteriaParameterWrapper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteral.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteralEntityType.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteralNull.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmModifiedSubQueryExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmNamedParameter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmParameter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmParameterizedEntityType.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmPositionalParameter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmSelfRenderingExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmStar.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmSummarization.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmToDuration.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmTrimSpecification.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmTuple.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmUnaryOperation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/ValueBindJpaCriteriaParameter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmCrossJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmEntityJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmFromClause.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmRoot.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/SqmInsertSelectStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/SqmInsertValuesStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/insert/SqmValues.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/jpa/AbstractJpaTupleElement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmAndPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmBetweenPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmBooleanExpressionPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmComparisonPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmEmptinessPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmExistsPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmGroupedPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmInListPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmInSubQueryPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmLikePredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmMemberOfPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmNegatedPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmNullnessPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmOrPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmWhereClause.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/AbstractSqmSelectQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiationArgument.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmJpaCompoundSelection.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmOrderByClause.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/query/sqm/tree/select/SqmSelectStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectableNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelection.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSortSpecification.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSubQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/update/SqmAssignment.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/update/SqmSetClause.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/update/SqmUpdateStatement.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/JpaComplianceStub.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/compliance/CriteriaDeleteTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/function/OrderByFragmentFunction.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryExtension.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java
M migration-guide.adoc
Log Message:
-----------
Implement SQM copying for JPA Criteria API uses
2 years, 10 months
[hibernate/hibernate-orm] af42f3: Allow controlling whether selection item deduplica...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: af42f3a76cd316cb3995da4c7f61933c47142aac
https://github.com/hibernate/hibernate-orm/commit/af42f3a76cd316cb3995da4...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixSqmToSqlAstConverter.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/IngresSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/ConcreteSqmSelectQueryPlan.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/MultiTableSqmMutationConverter.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/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/SqmTranslatorFactory.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslatorFactory.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqlAstQueryPartProcessingStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/StandardSqmTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CaseSearchedExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/AbstractJdbcOperation.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcSelect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/ast/CriteriaEntityGraphTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/ast/HqlEntityGraphTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/EntityJoinTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/ast/SmokeTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/results/AbstractResultTests.java
Log Message:
-----------
Allow controlling whether selection item deduplication should happen and disable deduplication in subqueries. Remove some dead code and fix a possible NPE. Expose some JdbcOperation fields for libraries to make it easy to produce a derived operation.
Commit: ce5951a948b0eac78375d8b1616c94426f760210
https://github.com/hibernate/hibernate-orm/commit/ce5951a948b0eac78375d8b...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/InferenceTest.java
Log Message:
-----------
Fix type inference for binary arithmetic expressions
Commit: cd555de724a7466aabedc2271d035594f6381a67
https://github.com/hibernate/hibernate-orm/commit/cd555de724a7466aabedc22...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
Log Message:
-----------
Fix NPE for unbound parameters due to wrong type determination
Commit: afdedb0fc538187d67c297f34719597ae1a39428
https://github.com/hibernate/hibernate-orm/commit/afdedb0fc538187d67c297f...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
Log Message:
-----------
Avoid rendering unnecessary parenthesis for junctions
Commit: 1e823386f605712caaaae87dbc96cabcc65a0806
https://github.com/hibernate/hibernate-orm/commit/1e823386f605712caaaae87...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
Log Message:
-----------
Support FK column access optimization also for associations in embeddables of an element collection
Commit: de0dd8cda30f1f1d27bc57dbeac3f25492c7c137
https://github.com/hibernate/hibernate-orm/commit/de0dd8cda30f1f1d27bc57d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/query/spi/SimpleHqlInterpretationImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/DomainParameterXref.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/exec/ParameterTest.java
Log Message:
-----------
Copy DomainParameterXref on demand instead of recreating to avoid instance mismatch with ParameterMetadata
Compare: https://github.com/hibernate/hibernate-orm/compare/ef391bf64452...de0dd8c...
2 years, 10 months