[hibernate/hibernate-orm] e51345: HHH-11483 Build Envers model using JAXB
by Chris Cranford
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: e513453aa482e1249485efa793fa34e5d7886f90
https://github.com/hibernate/hibernate-orm/commit/e513453aa482e1249485efa...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/hibernate-envers.gradle
A hibernate-envers/src/main/java/org/hibernate/envers/DateTimeFormatter.java
M hibernate-envers/src/main/java/org/hibernate/envers/DefaultRevisionEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/EnversMappingException.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/AbstractModifiedColumnNamingStrategy.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/AdditionalJaxbMappingProducerImpl.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/EnversMetadataBuildingContextImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/EnversService.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/EnversServiceImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/ImprovedModifiedColumnNamingStrategy.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/LegacyModifiedColumnNamingStrategy.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/ModifiedColumnNameResolver.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/AbstractIdentifier.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Attribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/AttributeContainer.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/BasicAttribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Bindable.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Cloneable.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Column.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/ColumnContainer.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/CompositeIdentifier.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/ConfigParameterContainer.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/DiscriminatorPersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/DiscriminatorType.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Formula.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Identifier.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/IdentifierRelation.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Join.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/JoinAwarePersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/JoinedSubclassPersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Key.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Keyable.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/ManyToOneAttribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/PersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/PluralAttribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/RootPersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/Selection.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/SetAttribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/SimpleIdentifier.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/SingularAttribute.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/SubclassPersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/TypeSpecification.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/model/UnionSubclassPersistentEntity.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/registry/classloading/ClassLoaderAccessHelper.java
A hibernate-envers/src/main/java/org/hibernate/envers/boot/spi/EnversMetadataBuildingContext.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/spi/ModifiedColumnNamingStrategy.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/Configuration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/EnversSettings.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/AuditEntitiesConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/ClassesAuditingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/EntitiesConfigurator.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/GlobalConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/MappingCollector.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/RevisionInfoConfiguration.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/RevisionInfoConfigurationResult.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/XMLHelper.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AbstractCollectionMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AbstractMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditEntityConfigurationRegistry.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditEntityNameRegister.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AuditMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/BasicMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/CollectionMappedByResolver.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/CollectionMetadataContext.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/CollectionMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/ColumnNameIterator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/ComponentMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/EntityMappingData.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/EntityXmlMappingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/IdMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/InheritanceType.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/JoinColumnCollectionMetadataGenerator.java
R hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/MetadataTools.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/MiddleTableCollectionMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/PersistentEntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/QueryGeneratorBuilder.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/RevisionInfoHelper.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/ToOneRelationMetadataGenerator.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/ValueMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AnnotationsMetadataReader.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditJoinTableData.java
A hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditOverrideData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditedPropertiesHolder.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditedPropertiesReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/ClassAuditingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/ComponentAuditedPropertiesReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/ComponentAuditingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/DynamicProperty.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/PersistentPropertiesSource.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/PropertyAuditingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/SequenceIdRevisionEntity.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversCollectionEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/EnversPreCollectionRemoveEventListenerImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/IdMappingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/PropertyData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/AbstractCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/BasicCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/CommonCollectionMapperData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/ListCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/MapCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/MiddleComponentData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/MiddleIdData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/SortedMapCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/SortedSetCollectionMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/ToOneIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/component/MiddleMapElementNotKeyComponentMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/component/MiddleMapKeyIdComponentMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/component/MiddleSimpleComponentMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/AbstractRelationQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/OneAuditEntityQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/OneEntityQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/ThreeEntityQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/TwoEntityOneAuditedQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/TwoEntityQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/reader/AuditReaderImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/RevisionInfoNumberReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/RevisionInfoQueryCreator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/synchronization/work/AbstractAuditWorkUnit.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/synchronization/work/DelWorkUnit.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/synchronization/work/PersistentCollectionChangeWorkUnit.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AggregatedAuditExpression.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/internal/CriteriaTools.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/internal/IdentifierEqAuditExpression.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/internal/RevisionTypeAuditExpression.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/AbstractAuditQuery.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/AuditAssociationQueryImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/EntitiesAtRevisionQuery.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/EntitiesModifiedAtRevisionQuery.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/RevisionsOfEntityQuery.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/EntityPropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/ModifiedFlagPropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/OriginalIdPropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/PropertyNameGetter.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/RevisionNumberPropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/RevisionPropertyPropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/property/RevisionTypePropertyName.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/order/AuditOrder.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/order/internal/PropertyAuditOrder.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/projection/AuditProjection.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/projection/internal/EntityAuditProjection.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/projection/internal/PropertyAuditProjection.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/AuditStrategy.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/internal/DefaultAuditStrategy.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/internal/ValidityAuditStrategy.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/spi/AuditStrategy.java
A hibernate-envers/src/main/java/org/hibernate/envers/strategy/spi/AuditStrategyContext.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/spi/MappingContext.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/ExtendedEnumTypeTest.java
Log Message:
-----------
HHH-11483 Build Envers model using JAXB
Commit: 85388ec48f396201fe8afe9e304bb0c4dd2e159c
https://github.com/hibernate/hibernate-orm/commit/85388ec48f396201fe8afe9...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/Audited.java
R hibernate-envers/src/main/java/org/hibernate/envers/ModificationStore.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/RevisionInfoConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/AbstractCollectionMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/IdMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/JoinColumnCollectionMetadataGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AnnotationsMetadataReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditedPropertiesReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/ComponentAuditedPropertiesReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/PropertyAuditingData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/PropertyData.java
Log Message:
-----------
HHH-11469 Remove deprecated ModificationStore
Commit: 5ccaba123bea3458cf2fde726fc60f2d7967275d
https://github.com/hibernate/hibernate-orm/commit/5ccaba123bea3458cf2fde7...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/EnversRunner.java
Log Message:
-----------
HHH-10925 Allow ignoring tests based on strategy
Commit: 267a1cdb4696fb2e4319a0386a9e23210715cf14
https://github.com/hibernate/hibernate-orm/commit/267a1cdb4696fb2e4319a03...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/UnspecifiedEnumTypeTest.java
Log Message:
-----------
HHH-10912 Only run with default audit strategy
Commit: 1abf044f2e2d7a8038af0d8c75db14eb2997bd58
https://github.com/hibernate/hibernate-orm/commit/1abf044f2e2d7a8038af0d8...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/AuditReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/RevisionInfoConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/exception/RevisionDoesNotExistException.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/PropertyData.java
A hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/RevisionTimestampData.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/reader/AuditReaderImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/DefaultRevisionInfoGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/DefaultTrackingModifiedEntitiesRevisionInfoGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/RevisionInfoQueryCreator.java
A hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/RevisionTimestampValueResolver.java
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/entities/reventity/CustomLocalDateTimeRevEntity.java
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/reventity/LocalDateTimeTest.java
Log Message:
-----------
HHH-10496 Allow RevisionTimestamp to be java.time.LocalDateTime
Commit: 205f0ce9bfca6f1e700731dfc78774fec8df0d70
https://github.com/hibernate/hibernate-orm/commit/205f0ce9bfca6f1e700731d...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/envers/Envers.adoc
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/Configuration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/EnversSettings.java
M hibernate-envers/src/main/java/org/hibernate/envers/strategy/internal/ValidityAuditStrategy.java
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/strategy/RevisionEndNumericTypeTest.java
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/strategy/RevisionEndTimestampTypeTest.java
Log Message:
-----------
HHH-6210 Added config option to allow revend timestamp fields to be long data types
Commit: f379d51504388a302b0fa4241b9f5b8c21f05e76
https://github.com/hibernate/hibernate-orm/commit/f379d51504388a302b0fa42...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditOverrideData.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditedPropertiesReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/ComponentAuditedPropertiesReader.java
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/superclass/auditoverride/EmbeddableTest.java
Log Message:
-----------
HHH-9228 HHH-9229 Fix audited/auditoverride for embeddables and mappedsuperclass
Commit: 26c3a1f32bdec3cc3af2492c143f53418390da6e
https://github.com/hibernate/hibernate-orm/commit/26c3a1f32bdec3cc3af2492...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-11-26 (Fri, 26 Nov 2021)
Changed paths:
A hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/AuditStrategyRegistrationProvider.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/Configuration.java
M hibernate-envers/src/main/resources/META-INF/services/org.hibernate.boot.registry.selector.StrategyRegistrationProvider
A hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/strategy/AuditStraegySelectorTest.java
Log Message:
-----------
HHH-12077 Support short-naming of audit strategies
Compare: https://github.com/hibernate/hibernate-orm/compare/ce6850bdfaba...26c3a1f...
3 years, 1 month
[hibernate/hibernate-orm] ce6850: Remove 'statementInspectorClass' from @Jpa and ref...
by Jan Schatteman
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: ce6850bdfabad5bb33d47dd6bc5209e3e1c7be14
https://github.com/hibernate/hibernate-orm/commit/ce6850bdfabad5bb33d47dd...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NamedQueryCommentTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/onetoone/OneToOneMapsIdJoinColumnTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/InClauseParameterPaddingCriteriaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/InClauseParameterPaddingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/MaxInExpressionParameterPaddingTest.java
A hibernate-testing/src/main/java/org/hibernate/testing/orm/jdbc/DefaultSQLStatementInspectorSettingProvider.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/AbstractEntityManagerFactoryScope.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/EntityManagerFactoryScope.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/Jpa.java
Log Message:
-----------
Remove 'statementInspectorClass' from @Jpa and refactor its usage to use
a @SettingProvider
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
3 years, 1 month
[hibernate/hibernate-search] 5cdbd7: HSEARCH-4370 Avoid deadlocks with Oracle in event ...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 5cdbd786fe35089cced0ec8cd64de0d6b6ea6190
https://github.com/hibernate/hibernate-search/commit/5cdbd786fe35089cced0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentRepositoryMockingHelper.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkPulseExpectations.java
Log Message:
-----------
HSEARCH-4370 Avoid deadlocks with Oracle in event processing when updating self agent and deleting expired agents in the same transaction
Commit: f46f230c6834ce7da93b58ce1b695d1cd684f9be
https://github.com/hibernate/hibernate-search/commit/f46f230c6834ce7da93b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java
Log Message:
-----------
HSEARCH-4370 Avoid unexpected agent expiration in OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT
Compare: https://github.com/hibernate/hibernate-search/compare/62cbb48367f7...f46f...
3 years, 1 month
[hibernate/hibernate-orm] 92e843: Re-enable additional tests
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 92e8436014f25d0359c0d9108fc463038c9cab53
https://github.com/hibernate/hibernate-orm/commit/92e8436014f25d0359c0d91...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/dynamicmap/DynamicMapTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/dynamicmap/Test.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/strategyselectors/DefaultDialectSelectorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/strategyselectors/JtaPlatformSelectorTest.java
R hibernate-core/src/test/java/org/hibernate/test/dynamicmap/DynamicMapTest.java
R hibernate-core/src/test/java/org/hibernate/test/dynamicmap/Test.hbm.xml
M hibernate-core/src/test/java/org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java
R hibernate-core/src/test/java/org/hibernate/test/strategyselectors/DefaultDialectSelectorTest.java
R hibernate-core/src/test/java/org/hibernate/test/strategyselectors/JtaPlatformSelectorTest.java
Log Message:
-----------
Re-enable additional tests
Commit: da05181c3ad02e97a160703f274355911d71900a
https://github.com/hibernate/hibernate-orm/commit/da05181c3ad02e97a160703...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M migration-guide.adoc
Log Message:
-----------
Update migration-guide.adoc
Commit: acd78256eb69da356db40e68926118a17f8666ae
https://github.com/hibernate/hibernate-orm/commit/acd78256eb69da356db40e6...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmJdbcExecutionContextAdapter.java
M hibernate-core/src/test/java/org/hibernate/test/stats/StatsTest.java
Log Message:
-----------
Fix statistics for native query
Commit: 36fa3fca8e3a3b3809963975184190860e3a295d
https://github.com/hibernate/hibernate-orm/commit/36fa3fca8e3a3b380996397...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/Query.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stream/basic/BasicStreamTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stream/basic/JpaStreamTest.java
R hibernate-core/src/test/java/org/hibernate/test/stream/basic/BasicStreamTest.java
R hibernate-core/src/test/java/org/hibernate/test/stream/basic/JpaStreamTest.java
M migration-guide.adoc
Log Message:
-----------
Re-enabled stream tests
Commit: 9766b05ebabaf702f4a4759cf823d970dcee1d79
https://github.com/hibernate/hibernate-orm/commit/9766b05ebabaf702f4a4759...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/A.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/AImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/B.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/BImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/CloudType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/Government.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/HbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/HbmWithIdentityTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/PreParsedHbmXmlTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/PrimeMinister.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/Sky.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/Z.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/hbm/ZImpl.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/A.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/AImpl.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/B.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/BImpl.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/CloudType.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/Government.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/HbmTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/HbmWithIdentityTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/PreParsedHbmXmlTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/PrimeMinister.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/Sky.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/Z.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/xml/hbm/ZImpl.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/annotations/xml/hbm/A.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/orm/test/annotations/xml/hbm/B.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/orm/test/annotations/xml/hbm/CloudType.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/orm/test/annotations/xml/hbm/Government.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/orm/test/annotations/xml/hbm/pre-parsed-hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/hbm/A.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/hbm/B.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/hbm/CloudType.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/hbm/Government.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/hbm/pre-parsed-hbm.xml
Log Message:
-----------
Re-enable additional tests
Commit: 492d391e732ff3dc70b3e08599f611f8d2389fd7
https://github.com/hibernate/hibernate-orm/commit/492d391e732ff3dc70b3e08...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/dataTypes/BasicOperationsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/dataTypes/Grade.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/dataTypes/SomeEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/dataTypes/SomeOtherEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundLogicalOneToOneTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundOneToOneNonInsertableNonUpdateableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/OneToOneNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/NativeQueryWithParenthesesTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/Claim.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/EwtAssessmentExtension.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/Extension.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/GapAssessmentExtension.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/HbmMappingJoinClassTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/Settlement.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/SettlementExtension.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/SettlementStatus.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/SettlementTask.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/Task.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12076/TaskStatus.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12225/Contract.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12225/HQLTypeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12225/Vehicle.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12225/VehicleContract.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh12225/VehicleTrackContract.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hhh13712/HHH13712Test.java
R hibernate-core/src/test/java/org/hibernate/query/NativeQueryWithParenthesesTest.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/Claim.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/EwtAssessmentExtension.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/Extension.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/GapAssessmentExtension.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/HbmMappingJoinClassTest.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/Settlement.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/SettlementExtension.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/SettlementStatus.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/SettlementTask.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/Task.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12076/TaskStatus.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12225/Contract.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12225/HQLTypeTest.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12225/Vehicle.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12225/VehicleContract.java
R hibernate-core/src/test/java/org/hibernate/query/hhh12225/VehicleTrackContract.java
R hibernate-core/src/test/java/org/hibernate/query/hhh13712/HHH13712Test.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/dataTypes/BasicOperationsTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/dataTypes/Grade.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/dataTypes/SomeEntity.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/dataTypes/SomeOtherEntity.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/NotFoundLogicalOneToOneTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/NotFoundOneToOneNonInsertableNonUpdateableTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/NotFoundTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/OneToOneNotFoundTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/query/hhh12225/Contract.hbm.xml
A hibernate-core/src/test/resources/org/hibernate/orm/test/query/hhh12225/Vehicle.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/Claim.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/EwtAssessmentExtension.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/Extension.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/GapAssessmentExtension.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/Settlement.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/SettlementExtension.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/SettlementTask.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/Task.hbm.xml
M hibernate-core/src/test/resources/org/hibernate/query/hhh12076/TaskStatus.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/query/hhh12225/Contract.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/query/hhh12225/Vehicle.hbm.xml
Log Message:
-----------
Re-enable additional tests
Commit: cc43aaefb9385c108a34f65c42de6d9f453e89d7
https://github.com/hibernate/hibernate-orm/commit/cc43aaefb9385c108a34f65...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/OneToManyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/Parent.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Continent.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Continent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Continent2.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Country.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/ExplicitQueryStatsMaxSizeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Locality.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/Province.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/QueryStatsMaxSizeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/SessionStatsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/State.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/StatisticsWithNoCachingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/StatisticsWithNoQueryCachingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/stats/StatsTest.java
R hibernate-core/src/test/java/org/hibernate/test/onetomany/Child.java
R hibernate-core/src/test/java/org/hibernate/test/onetomany/OneToManyTest.java
R hibernate-core/src/test/java/org/hibernate/test/onetomany/Parent.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/onetomany/Parent.java
R hibernate-core/src/test/java/org/hibernate/test/stats/Continent.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/stats/Continent.java
R hibernate-core/src/test/java/org/hibernate/test/stats/Continent2.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/stats/Country.java
R hibernate-core/src/test/java/org/hibernate/test/stats/ExplicitQueryStatsMaxSizeTest.java
R hibernate-core/src/test/java/org/hibernate/test/stats/Locality.java
R hibernate-core/src/test/java/org/hibernate/test/stats/Province.java
R hibernate-core/src/test/java/org/hibernate/test/stats/QueryStatsMaxSizeTest.java
R hibernate-core/src/test/java/org/hibernate/test/stats/SessionStatsTest.java
R hibernate-core/src/test/java/org/hibernate/test/stats/State.java
R hibernate-core/src/test/java/org/hibernate/test/stats/StatisticsWithNoCachingTest.java
R hibernate-core/src/test/java/org/hibernate/test/stats/StatisticsWithNoQueryCachingTest.java
R hibernate-core/src/test/java/org/hibernate/test/stats/StatsTest.java
Log Message:
-----------
Re-enable additional tests
Compare: https://github.com/hibernate/hibernate-orm/compare/7f574f4a2a45...cc43aae...
3 years, 1 month
[hibernate/hibernate-orm] cbcec7: * Handle quoted identifiers in HQL and the Orderin...
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: cbcec73d4fa4ca0845d0f8ca620dcdc02cd91b17
https://github.com/hibernate/hibernate-orm/commit/cbcec73d4fa4ca0845d0f8c...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-25 (Thu, 25 Nov 2021)
Changed paths:
M docker_db.sh
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/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/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/ordering/OrderingLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/ordering/OrderingParser.g4
M hibernate-core/src/main/java/org/hibernate/boot/model/naming/Identifier.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.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/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASESqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/AvgFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CountFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CurrentFunction.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/NormalizingIdentifierHelperImpl.java
A hibernate-core/src/main/java/org/hibernate/internal/util/QuotingHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CollectionPart.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/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/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.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/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/TranslationContext.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/CollectionPartPath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ColumnReference.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FkDomainPathContinuation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/OrderingSpecification.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ParseTreeVisitor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/PathConsumer.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/PluralAttributePath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/RootSequencePart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SelfRenderingOrderingExpression.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SequencePart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AnyMappingSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/DiscriminatorSqmPath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
R hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPropertyNames.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/query/hql/internal/BasicDotIdentifierConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/DomainPathPart.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPathConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QuerySplitter.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SqmPathRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/SqmPathRegistry.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryHelper.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingsImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/ResultSetMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedStandard.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/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/DynamicResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/StrictJpaComplianceViolation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/internal/AggregatedNonSelectQueryPlanImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/AggregatedSelectQueryPlanImpl.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/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/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/idtable/ExecuteWithIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTable.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/RestrictedDeleteExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TempIdTableExporter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineDeleteHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/spi/SqmCreationHelper.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/EntityValuedPathInterpretation.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/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/SqmBasicValuedSimplePath.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/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/SqmIndexedCollectionAccessPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxElementPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxIndexPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinElementPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinIndexPath.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/SqmPluralValuedSimplePath.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/from/SqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/jpa/ParameterCollector.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/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/result/internal/OutputsImpl.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/delete/DeleteStatement.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/ExistsPredicate.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/caching/internal/QueryCachePutManagerEnabledImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiation.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesResultSetImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/ResultSetAccess.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/spi/JdbcValuesMetadata.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaTypeDescriptor.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/QuotedIdentifierTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/ProposedGeneratedTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/manytomany/ManyToManyHqlMemberOfQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/onetomany/OneToManyBidirectionalTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/onetomany/OneToManyHqlMemberOfQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/InsertUpdateTests.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/FunctionNameAsColumnTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/size/WhereClauseOrderBySizeTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/size/filter/WhereAnnotatedOneToManySizeTest.java
M migration-guide.adoc
Log Message:
-----------
* Handle quoted identifiers in HQL and the Ordering parser
* Switch from the "expression" to "expressionOrPredicate" rule in the HQL grammar where it makes sense as required by some HQL tests
* Cleanup parser rule ordering to allow more keywords in the identifier rule
* Implement literal support for Ordering parser
* Add special AvgFunction as needed by H2, HSQL, DB2, SQL Server and Sybase that casts arguments to double if necessary
* Fix wrong deduplication of order by fragments in case a plural attribute is fetched multiple times
* Implement support for de-referencing any-valued mappings in HQL
* Avoid unnecessary entity subtypes in polymorphic splitted queries if a base type also matches the requested type
* Implement pagination support for polymorphic splitted queries
* Cleanup path part resolving by removing lots of duplicate code
* Aligh HQL parsing expectations to the expected behavior of 5.x
* Add method to `JavaType` that allows determining if a type is can be widened to another which is used for arithmetic type resolving
* Implement validations for fetch owner checking
* Fix issues with the id table creation due to lacking column lengths in the column DDL type
* Fix issues and add some optimizations related to multi-table delete handling
* Add the notion of a special "implicit" alias to avoid generating a unique alias for unaliased or implicit HQL joins
* Properly implement multiple bag fetch validation
* Make sure filter predicates are applied for all plural attribute joins
* Fix some issues with undecidable parameter type inference
* Fix some issues with negated SQM predicates not being converted to the proper SQL AST predicates
* Fix issues with qualifying DML target referencing columns
* Fix `is null` semantics for tuples referring to embeddable types
* Capture necessary details from JdbcValuesMetadata in the cached data to avoid executing a query on cache hit when types should be inferred
* Get rid of special CollectionPropertyNames and writeup a migration guide section for the replacements
3 years, 1 month
[hibernate/hibernate-orm] d21db9: Fix loading OnetoOne self referencing entity
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: d21db9e8076efe2bf61c9b51014b348528341e22
https://github.com/hibernate/hibernate-orm/commit/d21db9e8076efe2bf61c9b5...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/results/DomainResultCreationStateImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/DomainResultCreationState.java
M hibernate-core/src/test/java/org/hibernate/orm/test/constraint/ForeignKeyConstraintTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/loading/LoadParentChildEntityTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/exec/onetoone/bidirectional/EntityWithBidirectionalOneToOneTest.java
Log Message:
-----------
Fix loading OnetoOne self referencing entity
Commit: 39dae088ec5bdeea88c6acd41359d2388455ba40
https://github.com/hibernate/hibernate-orm/commit/39dae088ec5bdeea88c6acd...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M migration-guide.adoc
Log Message:
-----------
Update migration-guide
Compare: https://github.com/hibernate/hibernate-orm/compare/aded53a76073...39dae08...
3 years, 1 month
[hibernate/hibernate-search] d57d48: HSEARCH-4369 Make OutboxPollingAutomaticIndexingDy...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: d57d48feb8ad8af2063403cf359eedfeba711ae2
https://github.com/hibernate/hibernate-search/commit/d57d48feb8ad8af20634...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT.java
Log Message:
-----------
HSEARCH-4369 Make OutboxPollingAutomaticIndexingDynamicShardingRebalancingIT more resilient to fast event processing
Commit: 99c4a1dfac23ea4eeb934cb9f0f683b87ba54d00
https://github.com/hibernate/hibernate-search/commit/99c4a1dfac23ea4eeb93...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
Log Message:
-----------
HSEARCH-4369 Skip the polling interval in OutboxPollingEventProcessor when there might be more events to process
Commit: ce662deade28efb9a9e8dce1eb9ce08ff2d93346
https://github.com/hibernate/hibernate-search/commit/ce662deade28efb9a9e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/automaticindexing/PerSessionFactoryIndexingCountHelper.java
Log Message:
-----------
HSEARCH-4369 Improve API and assertion error messages in PerSessionFactoryIndexingCountHelper
To ease debugging.
Commit: c6d390f2d32937912db7f488a7411e05a588eec1
https://github.com/hibernate/hibernate-search/commit/c6d390f2d32937912db7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AgentInstructions.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessor.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingEventProcessorClusterLink.java
M mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/impl/OutboxPollingCooordinationStrategy.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkBaseTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/AbstractClusterLinkTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkLeaveClusterTest.java
M mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/ClusterLinkStaticShardingEdgeCasesTest.java
Log Message:
-----------
HSEARCH-4369 Schedule outbox event processor tasks later when cluster link instructions require a delay
This should little effect except for the fact we will no longer poll
every 100ms when waiting until the pulse interval (around 2s) is elapsed;
that was completely pointless as the ScheduledThreadExecutor allows us
to just request for the worker to resume its work 2s later.
As an added benefit, IMO, the code is clearer because we spell out what
the delay will be when we schedule the worker for execution.
Compare: https://github.com/hibernate/hibernate-search/compare/006f7bda0c67...c6d3...
3 years, 1 month