[hibernate/hibernate-orm] 415b28: HHH-15114 - Clean up deprecations
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 415b28f116f0b2d4534ee4b55aa58d5fe2c0213f
https://github.com/hibernate/hibernate-orm/commit/415b28f116f0b2d4534ee4b...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/bootstrap/BootstrapTest.java
M hibernate-core/src/main/java/org/hibernate/Internal.java
M hibernate-core/src/main/java/org/hibernate/LockMode.java
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/SessionBuilder.java
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java
M hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/AuxiliaryDatabaseObject.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/SimpleAuxiliaryDatabaseObject.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/DisabledCaching.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/EnabledCaching.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/CacheImplementor.java
M hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/UpdateLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/Oracle12LimitHandler.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdEntityLoaderStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/metadata/ClassMetadata.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/ordered/ElementCollectionSortingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/xml/ejb3/Ejb3XmlTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cache/ByteCodeEnhancedImmutableReferenceCacheTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/cache/QualifiedRegionNameHandlingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cache/ReferenceCacheTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/SQLServer2005DialectTestCase.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/lockhint/AbstractLockHintTest.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/lock/JPALockTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/RepeatableReadTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/CustomSQLTestSupport.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/storedproc/H2ProcTesting.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/storedproc/PostgresRefCursorSupportTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/storedproc/StoredProcedureResultSetMappingTest.java
Log Message:
-----------
HHH-15114 - Clean up deprecations
2 years, 8 months
[hibernate/hibernate-orm] 6564ab: Removed deprecated transactionContext() from Share...
by Jan Schatteman
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 6564abe4c78f24f17316d6f2f33dc3793474f1fd
https://github.com/hibernate/hibernate-orm/commit/6564abe4c78f24f17316d6f...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/SharedSessionBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sharedSession/SessionWithSharedConnectionTest.java
Log Message:
-----------
Removed deprecated transactionContext() from SharedSessionBuilder
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 41016674cb3b61541950f36a43b0f6cfaa91b200
https://github.com/hibernate/hibernate-orm/commit/41016674cb3b61541950f36...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
Log Message:
-----------
Removed deprecated InFlightMetadataCollector.getClassmateContext()
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 8b0f70f066437b5095be423a68a9bb42f6b6328b
https://github.com/hibernate/hibernate-orm/commit/8b0f70f066437b5095be423...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/Configuration.java
Log Message:
-----------
Removed deprecated MetadataBuildingOptions.getReflectionManager()
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 13527366c92cead1398602d9b2bdb51c6e98a5b4
https://github.com/hibernate/hibernate-orm/commit/13527366c92cead1398602d...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/collection/spi/AbstractPersistentCollection.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/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/EntityManagerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/proxy/ProxyTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/flush/AbstractFlushTest.java
Log Message:
-----------
Removed deprecated setFlushMode from Session and SharedSessionContractImplementor
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: b1ec3ab78b1fc00cea86c9162796cbba297873d8
https://github.com/hibernate/hibernate-orm/commit/b1ec3ab78b1fc00cea86c91...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Interceptor.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
A hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/EmptyStatementInspector.java
M hibernate-core/src/test/java/org/hibernate/orm/test/interceptor/InterceptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/interfaceproxy/DocumentInterceptor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/manytomany/batchload/BatchedManyToManyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mixed/DocumentInterceptor.java
Log Message:
-----------
Removed deprecated Interceptor.onPrepareStatement(String sql)
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 8e068d7647aec9879201a2d7a7529a507e60c9b1
https://github.com/hibernate/hibernate-orm/commit/8e068d7647aec9879201a2d...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/query/spi/NativeQueryInterpreterInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CacheInitiator.java
M hibernate-core/src/main/java/org/hibernate/service/spi/SessionFactoryServiceInitiator.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsInitiator.java
Log Message:
-----------
Removed deprecated SessionFactoryServiceInitiator.initiateService(SessionFactoryImplementor, SessionFactoryOptions, ServiceRegistryImplementor)
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 7931e9c7552726bc6e86441ffa0fef8677497d75
https://github.com/hibernate/hibernate-orm/commit/7931e9c7552726bc6e86441...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/LobTypeMappings.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/NationalizedTypeMappings.java
Log Message:
-----------
Removed deprecated non-static methods from LobTypeMappings and NationalizedTypeMappings
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 4669fc7c4c2a52df4fddf8365cd955aaf6786954
https://github.com/hibernate/hibernate-orm/commit/4669fc7c4c2a52df4fddf83...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
R hibernate-core/src/main/java/org/hibernate/mapping/AuxiliaryDatabaseObject.java
Log Message:
-----------
Removed deprecated org.hibernate.mapping.AuxiliaryDatabaseObject
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 2244ab8e6145a1e0b55649844d89cb8ffb1dec00
https://github.com/hibernate/hibernate-orm/commit/2244ab8e6145a1e0b556498...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java
Log Message:
-----------
Removed deprecated QueryEngine.DEFAULT_PARAMETER_METADATA_MAX_COUNT
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 4b5d3e645b01bb39c7d5e9431188f288719563a6
https://github.com/hibernate/hibernate-orm/commit/4b5d3e645b01bb39c7d5e94...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ejb3configuration/InterceptorTest.java
Log Message:
-----------
Removed deprecated SessionFactoryOptions.getStatelessInterceptorImplementor()
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 9fc2b3dea5b338c1bad116dadf704f8d2acf4336
https://github.com/hibernate/hibernate-orm/commit/9fc2b3dea5b338c1bad116d...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributesMetadata.java
Log Message:
-----------
Removed deprecated LazyAttributesMetadata.getAttributesInSameFetchGroup(...)
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 291e755686651d5b26b94ddbbc427caff32e4c57
https://github.com/hibernate/hibernate-orm/commit/291e755686651d5b26b94dd...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ProxyFactoryFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/none/NoProxyFactoryFactory.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/none/NoneBasicProxyFactory.java
M hibernate-core/src/main/java/org/hibernate/bytecode/spi/ProxyFactoryFactory.java
Log Message:
-----------
Removed deprecated methods in ProxyFactoryFactory and NoneBasicProxyFactory
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: 91a1ff81f8b0306cbb9a611b09bc1732f4133462
https://github.com/hibernate/hibernate-orm/commit/91a1ff81f8b0306cbb9a611...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
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/test/java/org/hibernate/orm/test/filter/DynamicFilterTest.java
Log Message:
-----------
Removed deprecated SharedSessionContractImplementor.getTimestamp()
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Commit: c46ec5a14e0e1da94dc5ed5d1147083c58d41b4c
https://github.com/hibernate/hibernate-orm/commit/c46ec5a14e0e1da94dc5ed5...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
Removed deprecated AbstractEntityPersister.getIdentityDelegate()
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
Compare: https://github.com/hibernate/hibernate-orm/compare/b8c416744d78...c46ec5a...
2 years, 8 months
[hibernate/hibernate-orm] 34b4e8: Get rid of StateArrayContributor
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 34b4e873df3bb39247d0cb5732554d8867a6f5c8
https://github.com/hibernate/hibernate-orm/commit/34b4e873df3bb39247d0cb5...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ManagedMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/PluralAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/SingularAttributeMapping.java
R hibernate-core/src/main/java/org/hibernate/metamodel/mapping/StateArrayContributorMapping.java
R hibernate-core/src/main/java/org/hibernate/metamodel/mapping/StateArrayContributorMetadata.java
R hibernate-core/src/main/java/org/hibernate/metamodel/mapping/StateArrayContributorMetadataAccess.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractSingularAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractStateArrayContributorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.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/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualEmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/AbstractCompositeIdAndNaturalIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ImmutableManyToOneNaturalIdAnnotationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ImmutableManyToOneNaturalIdHbmTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/InheritedNaturalIdTest.java
Log Message:
-----------
Get rid of StateArrayContributor
2 years, 8 months