[hibernate/hibernate-orm] 7422c1: HHH-18169 disallow refresh/lock for detached instance
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 7422c18a949e29b842f8eac9f8b4c854404d7aab
https://github.com/hibernate/hibernate-orm/commit/7422c18a949e29b842f8eac...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityInitializerImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/HHH_10708/UnexpectedDeleteTest2.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/backref/BackrefCompositeMapKeyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/orphan/OrphanTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cascade/RefreshTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SQLServerDialectTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/immutable/ImmutableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/immutable/entitywithmutablecollection/AbstractEntityWithManyToManyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/joinedsubclass/JoinedSubclassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/cascade/MergeWithTransientNonCascadedAssociationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdNonStrictReadWriteTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/orphan/OrphanTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/pc/CascadeLockTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/pc/PersistenceContextTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlySessionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/refresh/Customer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshDetachedInstanceWhenIsAllowedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshUsingEntityNameTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/session/AssociateEntityWithTwoSessionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/ast/ParameterMarkerStrategyTests.java
R hibernate-core/src/test/resources/org/hibernate/orm/test/refresh/Customer.hbm.xml
Log Message:
-----------
HHH-18169 disallow refresh/lock for detached instance
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: f45e3db4b0e40ff95d65e59e12d87a1b24b72be8
https://github.com/hibernate/hibernate-orm/commit/f45e3db4b0e40ff95d65e59...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLockEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultRefreshEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultReplicateEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/LazyOneToOneRemoveFlushAccessTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
Log Message:
-----------
HHH-18552 clean up inappropriate usages of TransientObjectException
and minor cleanups in StatefulPersistenceContext
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/1d12dc0499b2...f45e3db...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months
[hibernate/hibernate-orm] 1d12dc: HHH-18547, HHH-17114 add default implementations t...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 1d12dc0499b224563c070814d2b0feb560e27c50
https://github.com/hibernate/hibernate-orm/commit/1d12dc0499b224563c07081...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/EnumType.java
M hibernate-core/src/main/java/org/hibernate/usertype/BaseUserTypeSupport.java
M hibernate-core/src/main/java/org/hibernate/usertype/StaticUserTypeSupport.java
M hibernate-core/src/main/java/org/hibernate/usertype/UserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/DollarValueUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/MyDateUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/FirstLetterType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/custom_types/LastNumberType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/StateType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/type/dynamicparameterized/MyGenericType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/type/dynamicparameterized/MyStringType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/models/xml/MyUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cdi/lifecycle/ExtendedBeanManagerNotAvailableDuringCustomUserTypeInitTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cdi/type/UrlType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/ClassificationType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/usertype/UserTypeComparableIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/usertype/UserTypeNonComparableIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/QueryParametersValidationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/TypedValueParametersTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/RepeatedMappingUserTypeTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/bitset/BitSetUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/usertypes/EnumUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/usertypes/UserTypeFunctionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/rowid/RowIdType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/BasicTypeRegistryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/contributor/ArrayType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/contributor/usertype/StringWrapperUserType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/typeparameters/DefaultValueIntegerType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/version/UserVersionTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/RevisionTypeType.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/entities/customtype/ParametrizedTestUserType.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/entities/ids/CustomEnumUserType.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/components/dynamic/AgeType.java
M tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/collectionbasictype/CommaDelimitedStringsMapType.java
Log Message:
-----------
HHH-18547, HHH-17114 add default implementations to UserType
and deprecate the wrong-signature nullSafeGet() method
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months
[hibernate/hibernate-orm] ab12b4: push down some methods from SessionImplementor to ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: ab12b436a23f840710afaa552d7dd39faf343516
https://github.com/hibernate/hibernate-orm/commit/ab12b436a23f840710afaa5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java
Log Message:
-----------
push down some methods from SessionImplementor to EventSource
just as recommended by the @Deprecated tags added in H6
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 67bd785addeb2b88bacc0188194d459878aaaa67
https://github.com/hibernate/hibernate-orm/commit/67bd785addeb2b88bacc018...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/BytecodeProviderImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/boot/internal/PersistenceUnitInfoDescriptor.java
M hibernate-core/src/main/java/org/hibernate/jpa/boot/spi/PersistenceUnitDescriptor.java
Log Message:
-----------
more misc cleanups
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 519ffb7c7899cf9c20d937a425f3d20e2dd5ec50
https://github.com/hibernate/hibernate-orm/commit/519ffb7c7899cf9c20d937a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.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/DiscriminatedAssociationMapping.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/PooledHiLoSequenceIdentifierTest.java
Log Message:
-----------
some cleanup around SessionFactoryImplementor
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/681bd09b9d40...519ffb7...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months
[hibernate/hibernate-search] d734c0: [Jenkins release job] changelog.txt updated by rel...
by Bot for Hibernate continuous integration
Branch: refs/heads/7.1
Home: https://github.com/hibernate/hibernate-search
Commit: d734c03b937bf50e2715f77bbe52e40e31fba9b0
https://github.com/hibernate/hibernate-search/commit/d734c03b937bf50e2715...
Author: Jenkins <ci(a)hibernate.org>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M changelog.txt
Log Message:
-----------
[Jenkins release job] changelog.txt updated by release build 7.1.2.Final
Commit: d1adf53a2bc59bf22f64729a636af5b12abdf8b2
https://github.com/hibernate/hibernate-search/commit/d1adf53a2bc59bf22f64...
Author: Jenkins <ci(a)hibernate.org>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M backend/elasticsearch-aws/pom.xml
M backend/elasticsearch/pom.xml
M backend/lucene/pom.xml
M bom/public/pom.xml
M build/config/pom.xml
M build/configuration-properties-collector/pom.xml
M build/enforcer/pom.xml
M build/parents/build/pom.xml
M build/parents/integrationtest/pom.xml
M build/parents/internal/pom.xml
M build/parents/public/pom.xml
M build/parents/relocation/pom.xml
M build/parents/springtest/pom.xml
M build/reports/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M engine/pom.xml
M integrationtest/backend/elasticsearch/pom.xml
M integrationtest/backend/lucene/pom.xml
M integrationtest/backend/tck/pom.xml
M integrationtest/java/modules/orm-elasticsearch/pom.xml
M integrationtest/java/modules/orm-lucene/pom.xml
M integrationtest/java/modules/orm-outbox-polling-elasticsearch/pom.xml
M integrationtest/java/modules/pojo-standalone-elasticsearch/pom.xml
M integrationtest/java/modules/pojo-standalone-lucene/pom.xml
M integrationtest/mapper/orm-cdi/pom.xml
M integrationtest/mapper/orm-envers/pom.xml
M integrationtest/mapper/orm-jakarta-batch/pom.xml
M integrationtest/mapper/orm-outbox-polling/pom.xml
M integrationtest/mapper/orm-realbackend/pom.xml
M integrationtest/mapper/orm-spring-uberjar/application/pom.xml
M integrationtest/mapper/orm-spring-uberjar/model/pom.xml
M integrationtest/mapper/orm-spring-uberjar/pom.xml
M integrationtest/mapper/orm-spring/pom.xml
M integrationtest/mapper/orm/pom.xml
M integrationtest/mapper/pojo-base/pom.xml
M integrationtest/mapper/pojo-standalone-realbackend/pom.xml
M integrationtest/performance/backend/base/pom.xml
M integrationtest/performance/backend/elasticsearch/pom.xml
M integrationtest/performance/backend/lucene/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/pom.xml
M integrationtest/showcase/library/pom.xml
M integrationtest/v5migrationhelper/engine/pom.xml
M integrationtest/v5migrationhelper/orm/pom.xml
M mapper/orm-batch-jsr352/core/pom.xml
M mapper/orm-batch-jsr352/jberet/pom.xml
M mapper/orm-coordination-outbox-polling/pom.xml
M mapper/orm-jakarta-batch/core/pom.xml
M mapper/orm-jakarta-batch/jberet/pom.xml
M mapper/orm-outbox-polling/pom.xml
M mapper/orm/pom.xml
M mapper/pojo-base/pom.xml
M mapper/pojo-standalone/pom.xml
M pom.xml
M util/common/pom.xml
M util/internal/integrationtest/backend/elasticsearch/pom.xml
M util/internal/integrationtest/backend/lucene/pom.xml
M util/internal/integrationtest/common/pom.xml
M util/internal/integrationtest/jbatch-runtime/pom.xml
M util/internal/integrationtest/jberet-se/pom.xml
M util/internal/integrationtest/mapper/orm/pom.xml
M util/internal/integrationtest/mapper/pojo-standalone/pom.xml
M util/internal/integrationtest/mapper/stub/pom.xml
M util/internal/integrationtest/pom.xml
M util/internal/integrationtest/v5migrationhelper/pom.xml
M util/internal/test/common/pom.xml
M util/internal/test/orm/pom.xml
M v5migrationhelper/engine/pom.xml
M v5migrationhelper/orm/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing release 7.1.2.Final
Commit: c3d89cd611e63a9a51514e97944b564a34035598
https://github.com/hibernate/hibernate-search/commit/c3d89cd611e63a9a5151...
Author: Jenkins <ci(a)hibernate.org>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M backend/elasticsearch-aws/pom.xml
M backend/elasticsearch/pom.xml
M backend/lucene/pom.xml
M bom/public/pom.xml
M build/config/pom.xml
M build/configuration-properties-collector/pom.xml
M build/enforcer/pom.xml
M build/parents/build/pom.xml
M build/parents/integrationtest/pom.xml
M build/parents/internal/pom.xml
M build/parents/public/pom.xml
M build/parents/relocation/pom.xml
M build/parents/springtest/pom.xml
M build/reports/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M engine/pom.xml
M integrationtest/backend/elasticsearch/pom.xml
M integrationtest/backend/lucene/pom.xml
M integrationtest/backend/tck/pom.xml
M integrationtest/java/modules/orm-elasticsearch/pom.xml
M integrationtest/java/modules/orm-lucene/pom.xml
M integrationtest/java/modules/orm-outbox-polling-elasticsearch/pom.xml
M integrationtest/java/modules/pojo-standalone-elasticsearch/pom.xml
M integrationtest/java/modules/pojo-standalone-lucene/pom.xml
M integrationtest/mapper/orm-cdi/pom.xml
M integrationtest/mapper/orm-envers/pom.xml
M integrationtest/mapper/orm-jakarta-batch/pom.xml
M integrationtest/mapper/orm-outbox-polling/pom.xml
M integrationtest/mapper/orm-realbackend/pom.xml
M integrationtest/mapper/orm-spring-uberjar/application/pom.xml
M integrationtest/mapper/orm-spring-uberjar/model/pom.xml
M integrationtest/mapper/orm-spring-uberjar/pom.xml
M integrationtest/mapper/orm-spring/pom.xml
M integrationtest/mapper/orm/pom.xml
M integrationtest/mapper/pojo-base/pom.xml
M integrationtest/mapper/pojo-standalone-realbackend/pom.xml
M integrationtest/performance/backend/base/pom.xml
M integrationtest/performance/backend/elasticsearch/pom.xml
M integrationtest/performance/backend/lucene/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/pom.xml
M integrationtest/showcase/library/pom.xml
M integrationtest/v5migrationhelper/engine/pom.xml
M integrationtest/v5migrationhelper/orm/pom.xml
M mapper/orm-batch-jsr352/core/pom.xml
M mapper/orm-batch-jsr352/jberet/pom.xml
M mapper/orm-coordination-outbox-polling/pom.xml
M mapper/orm-jakarta-batch/core/pom.xml
M mapper/orm-jakarta-batch/jberet/pom.xml
M mapper/orm-outbox-polling/pom.xml
M mapper/orm/pom.xml
M mapper/pojo-base/pom.xml
M mapper/pojo-standalone/pom.xml
M pom.xml
M util/common/pom.xml
M util/internal/integrationtest/backend/elasticsearch/pom.xml
M util/internal/integrationtest/backend/lucene/pom.xml
M util/internal/integrationtest/common/pom.xml
M util/internal/integrationtest/jbatch-runtime/pom.xml
M util/internal/integrationtest/jberet-se/pom.xml
M util/internal/integrationtest/mapper/orm/pom.xml
M util/internal/integrationtest/mapper/pojo-standalone/pom.xml
M util/internal/integrationtest/mapper/stub/pom.xml
M util/internal/integrationtest/pom.xml
M util/internal/integrationtest/v5migrationhelper/pom.xml
M util/internal/test/common/pom.xml
M util/internal/test/orm/pom.xml
M v5migrationhelper/engine/pom.xml
M v5migrationhelper/orm/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing next development iteration
Compare: https://github.com/hibernate/hibernate-search/compare/0b183fbde970...c3d8...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-search/settings/notifications
3 months