Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
com.sun.tools.jxc.api.J2SJAXBModelinstead.Usecom.sun.tools.jxc.api.JavaCompilerinstead.Usecom.sun.tools.jxc.api.Referenceinstead.This method is now only applicable toSecurityContextimplementations that also implement theAuthenticationMechanismContextinterface.Obtaining lists of mechanisms is discouraged, however there should not be a need to call this anyway.Authentication mechanisms that rely on theIdentityManagershould instead hold their own reference to it.Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.use eitherHttpServerExchange.requestCookies()orHttpServerExchange.getRequestCookie(String)orHttpServerExchange.setRequestCookie(Cookie)methods insteaduse eitherHttpServerExchange.responseCookies()orHttpServerExchange.setResponseCookie(Cookie)methods insteadThis method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed with replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0Following JEP 411Following JEP 411Following JEP 411This is no longer required with RFC 6265This is no longer required with RFC 6265This is no longer required with RFC 6265This is no longer required with RFC 6265may be removed in future releasesThis method is deprecated as of EL 5.0 and will be removed in EL 6.0 (Jakarta EE 11). Therefore it will be removed here in JSP 4.0.This method is deprecated as of EL 5.0 and will be removed in EL 6.0 (Jakarta EE 11). Therefore it will be removed here in JSP 4.0.This is no longer required with RFC 6265This is no longer required with RFC 6265UseQueueConfiguration.of(String)instead.UseQueueConfiguration.of(String)instead.UseQueueConfiguration.of(QueueConfiguration)instead.UseQueueConfiguration.of(SimpleString)instead.UseSimpleString.of(byte[])instead.UseSimpleString.of(char)instead.UseSimpleString.of(String)instead.UseSimpleString.of(String)instead.UseSimpleString.of(String, StringSimpleStringPool)instead.This is no longer used by the broker. SeeConfiguration.isMqttSubscriptionPersistenceEnabled().This is no longer used by the broker. SeeConfiguration.setMqttSubscriptionPersistenceEnabled(boolean).org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.setDeserializationBlackList(String) org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.setDeserializationWhiteList(String) only used from 1.0use ERR_MISSING_OBJECT2only used from 1.0in JAXB 2.0 UseDOMScanner.scan(Element)in JAXB 2.0 UseDOMScanner.scan(Element)use the JPA 2.1ForeignKeyannotationNeeded for backwards compatibility until the deprecated, legacy generation stuff can be removedThe options available here are all now offered by other newer and better-designed annotations in this package. This annotation will soon be removed, since it's very annoying to have two annotations named@Table.sinceTableis deprecatedno longer usedThis constructor will be removedhbm.xmlmappings are no longer supported, making this irrelevantUse settings,TypeContributor,FunctionContributororAdditionalMappingContributorinstead depending on needUseAdditionalMappingContributororTypeContributorinstead depending on needWill be removed without replacement. See HHH-15641Will be removed without replacement. See HHH-15641Register aBytecodeProviderthrough Java services.Deprecated with no replacementRegister aBytecodeProviderthrough Java services.UseBytecodeProvider.getReflectionOptimizer(Class, Map)inssteadWill be removed with no replacement from ORM version 7 onwardsThere are much better ways to control the flush mode of a session, for example,SessionBuilder.flushMode(org.hibernate.FlushMode)orSession.setHibernateFlushMode(org.hibernate.FlushMode).Will be removed, Hibernate ORM will use the BytecodeProvider implementation it finds on the classpath loading it via the standard ServiceLoader mechanism. Currently, there is only a single implementation which is included in Hibernate ORM, so it's not possible to override this. See HHH-17643Will be removed without replacement. See HHH-15641Will be removed without replacement. See HHH-15641hbm.xmlmappings are no longer supported, making this attribute irrelevantOriginally added as a backwards compatibility flaghbm.xmlmappings are no longer supported, making this attribute irrelevantImplicitNamingStrategyandPhysicalNamingStrategyshould be used instead.UseSecondPassinsteadWill be replaced withHANADialectin the future.useDialect.getCheckCondition(String, Long[])insteadThis is no longer calledThis is never called, and since at least Hibernate 5 has just returnedfalsein every dialect. It will be removed.This seems to be supported on all platforms, and we don't call this except in test suiteUseDialect.trimPattern(TrimSpec, boolean)instead.useHANADialectwithDatabaseVersion.make( 4 )insteaduseHANADialectinsteaduseHANADialectinsteadno longer used, useGetGeneratedKeysDelegateinsteadUseOracle12cGetGeneratedKeysDelegate(EntityPersister)instead.UseEnumJdbcTypeinsteadNo longer used, and should be removedConstruct instance based on version instead.in favor ofSize(Integer, Integer, Long)in favor ofSize(Integer, Integer, Long)these integer codes have not been used for a long timethese integer codes have not been used for a long timeUseFetchStyleNo longer usedNo longer usedNo longer usedNo longer usedNo longer usedNo longer usedNo longer usedUse anExpectationclassthis is no longer usedthis is never calledthis is not used anywherethis is not used anywhereSubclasses should now directly inheritPostInsertIdentifierGeneratorandBulkInsertionCapableIdentifierGenerator, or even better, simply implementOnExecutionGeneratordirectly.Added in 6.6 as a short-term work-around, but should really use on of the alternatives discussed at Configurable. See HHH-18615.This remains around as an implementation detail ofhbm.xmlmappings.Use aOnExecutionGeneratorThis is not an elegant way to do anythingNo longer usedNo substitute.UseBasicSelectingDelegate(EntityPersister)instead.UseGeneratedValuesMutationDelegateinstead.UseInsertReturningDelegate(EntityPersister, EventType)instead.UseSybaseJConnGetGeneratedKeysDelegate(EntityPersister)instead.UseEntityPersisterinstead.this interface is unnecessary and no longer usedsinceJdbcObserveris deprecatedThis constructor will be removedno longer used, since we moved away from theTypeinterfaceUse discovery instead.Consider using discovery instead to dynamically locate contributors.Consider using discovery instead to dynamically locate contributors.supply aGenerationTypeStrategyRegistrationinsteadUse the updated formUseNavigablePathorNavigableRoleinstead, depending on need.No longer used, should be removedThis method does not respect theImplicitNamingStrategyThis method does not respect theImplicitNamingStrategyOnly used from deprecated methodsNo longer usedthis method is no longer calledThis method will be removed in the next releaseThis method will be removed in the next releaseThis method will be removed in the next releaseUseKeyValue.createGenerator(IdentifierGeneratorFactory, Dialect, RootClass)instead. No longer used except in legacy tests.UseKeyValue.createGenerator(IdentifierGeneratorFactory, Dialect, RootClass)instead. No longer used except in legacy tests.UseSimpleValue.getSelectables()insteadThis will be removed with no replacement.UsePersistentClass.isCachedinsteadUsePersistentClass.setCached(boolean)insteadthis method is no longer usedthis method is no longer usedUseSimpleValue.getSelectables()insteadNo longer used, should be removedNo longer used, should be removedNo longer used, should be removedNo longer used, should be removedUseDiscriminable.getDiscriminatorMapping()instead.Higly inefficient - do not use; this exists to support other deprecated methods and will be removed.No longer used.Hibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here (generally),PluralAttributeMappingRead-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getElementDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getIdentifierDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getIndexDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getKeyDescriptor()Replaced byEmbeddedCollectionPartReplaced byCollectionPartGiven the mapping-model and SQM, this contract is no longer needed. Note however thatSQLQueryParsercurrently uses this along with otherNo longer used.No longer used. SeeDeleteCoordinatorStandardWith no replacement.No longer used. SeeAbstractEntityPersister.getDeleteCoordinator()No longer used. SeeAbstractEntityPersister.getUpdateCoordinator()this method is no longer usedNo longer used. SeeUpdateCoordinatorthis method is no longer usedNo longer used. SeeMutationExecutorServiceWith no replacementWith no replacementNo longer usedWith no replacementNo longer usedWith no replacementReplaced byEntityMappingTypeReplaced byEntityMappingTypeThe functionality of DiscriminatorMetadata,DiscriminatorTypeandMetaTypehave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverterThe functionality of DiscriminatorType,DiscriminatorMetadataandMetaTypehave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverteruseEntityMutationTarget.getInsertDelegate()insteadThis interface is obsoleteNo longer used.Replaced with#arrayIncludes(Expression, T[])Replaced with#arrayIncludes(T[], Expression)org.hibernate.query.criteria.HibernateCriteriaBuilder.arrayContainsAllNullable(Expression<T[]>, T[]) Replaced with#arrayIncludesNullable(Expression, T[])org.hibernate.query.criteria.HibernateCriteriaBuilder.arrayContainsAllNullable(T[], Expression<T[]>) Replaced with#arrayIncludesNullable(T[], Expression)Replaced with#arrayIntersects(Expression, T[])Replaced with#arrayIntersects(T[], Expression)Replaced with#arrayIntersectsNullable(Expression, T[])Replaced with#arrayIntersectsNullable(T[], Expression)UseQueryParameterBindings.empty()instead.UseFunctionRendererinsteadUseSelfRenderingSqmFunction.getFunctionRenderer()insteadthis constructor does not carry information about the query which caused the failurewas previously used for Criteria. UseSqmDeleteStatement(Class,NodeBuilder)insteadwas previously used for HQL. UseSqmDeleteStatement(NodeBuilder)insteadUseSqmFkExpression(SqmEntityValuedSimplePath)instead.Don't use this method. It has no effect.was previously used for HQL. UseSqmUpdateStatement(NodeBuilder)insteadwas previously used for Criteria. UseSqmUpdateStatement(Class, SqmCriteriaNodeBuilder)instead.This method is no longer usedIt is no longer possible to plug custom implementations of this SPI. It will be removed.this is never called, and luckily so, because it's not null-safesinceJdbcObserveris deprecatedThis constant is deprecated and will be removed at the same time as theValueConvertenum is removed. Do not use this value explicitly.UseSearchScope.massIndexer(Object)instead.UseSearchScope.workspace(Object)instead.UseSessionBuilder.tenantIdentifier(Object)insteadSinceNavigablePath.FullPathCalculatoris no longer usedNo longer usedNo longer usedNo longer usedNo longer usedUseAbstractSqlAstTranslator.getDual()insteadUse the updated signatureWill be removed. Use the other methods to visit each operation.Will be removed. Use the other methods to visit each operation.UseStatelessSessionBuilder.tenantIdentifier(Object)insteadNo longer used, seeSchemaToolingSettings.HBM2DDL_FILTER_PROVIDERNo direct replacement.No direct replacement.Replaced byAnnotationBasedGeneratorReplaced byAttributeMappingNo direct replacement, though seeAttributeMappingandAttributeMetadataNo direct replacementNo direct replacementNo direct replacementNo direct replacementNo direct replacementReplaced byEntityMappingType. EntityMetamodel was a first attempt at what has becomeEntityMappingTypeReplaced byEntityVersionMappingReplaced byEventTypeas id-generation has been redefined using the new broader generation approach.No direct replacement; seeEntityIdentifierMappingNo direct replacement; seeEntityIdentifierMappingNo direct replacementNo direct replacementReplaced byAttributeMappingReplaced byGeneratorReplaced byGeneratorUseH2JsonJdbcTypeinsteadUse the built-in support for enumsThe functionality of MetaType,DiscriminatorTypeandDiscriminatorMetadatahave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverteruseStandardBasicTypes.BINARY_WRAPPERinsteadIs not called anymoreSince 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfiguration.getClassAllowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0UseConfiguration.serialAllowList()instead. To be removed in 14.0.since 12.0. To be removed in Infinispan 14.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0since 11.0. To be removed in 14.0. UseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)andRemoteCacheConfigurationBuilder.nearCacheMaxEntries(int)instead.Since 12.0, does nothing and will be removed in 15.0UseConfigurationChildBuilder.addJavaSerialAllowList(String...)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0useRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cacheuseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cachesince 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)instead.since 12.0 to be removed in 15.0. UseSslConfigurationBuilder.trustStoreFileName(String)and pass pem toSslConfigurationBuilder.trustStoreType(String).since 12.0. To be removed in Infinispan 14since 12.0. To be removed in Infinispan 14.since 12.0. To be removed in Infinispan 14. UseConfigurationBuilder.transactionTimeout(long, TimeUnit)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionMode(TransactionMode)Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0UseClientListenerNotifier.allowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfigurationProperties.setJavaSerialAllowList(String)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, will be removed in 15.0Since 14.0. UseRemoteCache.getRemoteCacheContainer()instead.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.Since 14.0, please useServerStatistics.APPROXIMATE_ENTRIESconfigurations are now always permanent by default. Use theCacheContainerAdmin.AdminFlag.VOLATILEflag to obtain the opposite behaviour.since 12.0. Will be removed in 14.0. UseClassAllowList.UseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 12.1, without replacement. To be removed in a future version.since 12.1, to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622since 12.1. to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 12.1, to be removed in a future version.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, without replacement.Since 11.0, without replacement.replaced byMediaType.fromString(java.lang.String)UseMediaType.getParameters()andMediaType.getTypeSubtype()to build a custom String representation.Since 13.0, with no replacement.Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacment.Since 13.0 without replacement.Since 13.0, without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertTextToUrlEncoded(Object, MediaType) Since 13.0, without replacement.since 13.0 without replacement.Since 13.0 without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertUrlEncodedToText(Object, MediaType) Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacement.UseBase16Codec.decode(String)instead.Since 13.0, without replacement.Since 13.0 without replacement.Since 12.1, to be removed in a future version.Replaced by PROTOBUF_WRAPPER. Will be removed in next minor version.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStreaminstead.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.for internal use onlysince 11.0. To be removed in 14.0 ISPN-11866. Stores should utiliseNonBlockingStore.Characteristics to specify a store's capabilities.Since 12, will be removed in version 15.0since 11.0 with no replacement - no longer usedsince 11UseLogger.getMessageLogger(Lookup,Class,String)instead to avoid errors in modular environments.UseLogger.getMessageLogger(Lookup,Class,String,Locale)instead to avoid errors in modular environments.UseMessages.getBundle(Lookup,Class)instead to avoid errors in modular environments.UseMessages.getBundle(Lookup,Class,Locale)instead to avoid errors in modular environments.use theorg.jboss.resteasy.client.jaxrs.engine.ClientHttpEngineFactoryinsteadThis will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEngineBuilderwill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.Superseded byCommand.Replaced byCommandDispatcher.To be removed without replacement.Replaced byCommandDispatcherFactory.Replaced byGroup.Replaced byGroupMembershipListener.Replaced byGroupMembership.Replaced byGroupMember.UseExternalizerinstead.Replaced byServiceProviderRegistration.Replaced byorg.wildfly.clustering.server.provider.ServiceProviderRegistry.Replaced byRegistrar.Replaced byRegistration.Replaced byRegistry.Replaced byRegistryFactory.Replaced byRegistryListener.Replaced byServiceConfigurator.To be removed without replacementTo be removed without replacementTo be removed without replacementTo be removed without replacement.Replaced bySingletonElectionPolicy#prefer(java.util.function.Predicate).To be removed without replacement.Replaced bySingletonElectionPolicy.prefer(List).Replaced bySingletonElectionPolicy.random().Replaced bySingletonElectionPolicy.position(int).To be removed without replacement.Superseded bySingletonServiceTarget.Superseded bySingletonServiceTargetFactory.UseSingleton.getSingletonState()instead.UseSingleton.getSingletonState()instead.UseSingleton.getSingletonState()instead.UseSingletonServiceBuilderFactory.SERVICE_DESCRIPTORinstead.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead.Replaced bySingletonElectionListenerReplaced bySingletonElectionPolicy.Replaced bySingletonPolicy.UseSingletonPolicy.SERVICE_DESCRIPTORinstead.Replaced bySingletonService.Replaced bySingletonServiceConfigurator.Replaced bySingletonServiceConfiguratorFactoryReplaced byCapabilityReference.Replaced byResourceCapabilityReference.To be removed without replacementSuperseded byResourceDescriptor.Configurator.requireChildResources(Set).Superseded byResourceDescriptor.getOperationTransformation(String)Superseded byResourceDescriptor.getOperationTransformation(String).
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionSince 2.15, we recommend use of external JSON Schema generator moduleSince 2.3: use
PropertyFilterinstead.Deprecated by CORBA 2.3.Usecom.sun.tools.jxc.api.J2SJAXBModelinstead.Usecom.sun.tools.jxc.api.JavaCompilerinstead.UseEmitterinstead.Instead extend AbstractSecurityContextAssociationHandler to provide alternative contexts.The preferred way to represent generic credential information is via theorg.ietf.jgss.GSSCredentialinterface in J2SE Version 1.4, which provides similar functionality.As of JSP 2.1, replaced byFunctionMapperAs of JSP 2.1, replaced byELResolveruse org.apache.activemq.artemis.core.message.openmbean.CompositeDataConstantsuseClientConnectionLifeCycleListenerinstead.No longer usedjust use DHPublicKey.use MQVParameterSpec for passing the ephemeral key.use MQVParameterSpec for passing the ephemeral key.no longer used.use Encodableit's better to avoid this and use extractKeyShard methods where possible.use X509CertificateHolder class in the PKIX package.no longer usedUse AdditionalMappingContributor insteadUse settings,TypeContributor,FunctionContributororAdditionalMappingContributorinstead depending on needUseAdditionalMappingContributororTypeContributorinstead depending on needPrefer the form of these methods defined onBytecodeLazyAttributeInterceptorinsteadMoved, but still need this definition for ehcacheImplicitNamingStrategyandPhysicalNamingStrategyshould be used instead.UseSecondPassinsteadthis is no longer useduseAuditStrategyinstead.sinceSession.replicate(java.lang.Object, org.hibernate.ReplicationMode)is deprecatedsinceSession.saveOrUpdate(java.lang.Object)and friends are deprecatedUseGeneratedValuesMutationDelegateinstead.UseEntityPersisterinstead.this interface is unnecessary and no longer usedseeUUIDGeneratorConsider using discovery instead to dynamically locate contributors.Use theSpecHintsform insteadsupply aGenerationTypeStrategyRegistrationinsteadUseIndexedBiConsumerinsteadUseIndexedConsumerinsteadthis is no longer usedUse Hibernate's mapping modelMappingMetamodelUse Hibernate's mapping modelMappingMetamodelPreferJpaMetamodelUseEmbeddableDomainTypeinstead. Originally intended to describe the actual usage of an embeddable (the embedded) because it was intended to include the mapping (column, etc) information. However, that causes us to need multiple embeddable instances per embeddable class.Just used to singly extend all the deprecated collection persister rolesGiven the mapping-model and SQM, this contract is no longer needed. Note however thatSQLQueryParsercurrently uses this along with otherJust used to singly extend all the deprecated entity persister rolesThe functionality of DiscriminatorMetadata,DiscriminatorTypeandMetaTypehave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverterThis interface is obsoleteUseEntityMappingTypeinsteadUseRuntimeModelCreationContextinsteadUseFunctionRendererinsteadIt is no longer possible to plug custom implementations of this SPI. It will be removed.ImplementFromDocumentValueConverterinstead.UseFromDocumentValueConverterwithFromDocumentValueConvertContextinstead.UseToDocumentValueConverterwithToDocumentValueConvertContextinstead.UseToDocumentValueConverterwithToDocumentValueConvertContextandToDocumentValueConvertContextExtensioninstead.ImplementToDocumentValueConverterinstead.UseSearchPredicateFactory.nested(String)instead.UseSearchPredicateFactory.nested(String)instead.UseSearchPredicateFactory.nested(String)instead.This SPI was introduced by mistake and was never used.UseEntityReferenceinstead.move toMassIndexingFailureHandler.move toMassIndexingMonitor.Use/implementValueHandleFactoryinstead.simply construct aLockOptionsand pass it toSession.lock(Object, LockOptions).No longer usedUseTupleTransformerand/orResultListTransformerinsteadReplaced byAnnotationBasedGeneratorReplaced byAttributeMappingNo direct replacement; seeEntityIdentifierMappingThis contract is no longer used by Hibernate. Implement/useInstantiatorinstead. SeeManagedTypeRepresentationStrategyNo direct replacementReplaced byGeneratorReplaced byGeneratorSince 6.0. Planned for removal. UseAnnotationIgnoreOptions.ignoreAnnotations(boolean)instead.Since 12.1, without replacement. To be removed in a future version.since 12.1, to be removed in a future version.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.for internal use onlysince 11.0 with no replacement - no longer usedsince 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. The Ickle query language is now preferred over theQueryBuilder. SeeQueryFactory.create(java.lang.String). TheQueryBuilderand associated context interfaces will be removed in version 11.0.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.this is not currently used anywhere and no replacement will be createdUseServiceBuilder.provides(org.jboss.msc.service.ServiceName...)method instead. This class will be removed in a future release.useServiceinstead. This class will be removed in a future release.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)method instead. This class will be removed in a future release.use theorg.jboss.resteasy.client.jaxrs.engine.ClientHttpEngineFactoryinsteadThis will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.Use the new DynAny insteadUse the new DynArray insteadUse the new DynEnum insteadUse the new DynFixed insteadUse the new DynSequence insteadUse the new DynStruct insteadUse the new DynUnion insteadUse the new DynValue insteadSuperseded byCommand.Replaced byCommandDispatcher.Replaced byCommandDispatcherFactory.Replaced byGroup.Replaced byGroupMembershipListener.Replaced byGroupMembership.Replaced byGroupMember.UseExternalizerinstead.Replaced byServiceProviderRegistration.Replaced byorg.wildfly.clustering.server.provider.ServiceProviderRegistry.Replaced byRegistrar.Replaced byRegistration.Replaced byRegistry.Replaced byRegistryFactory.Replaced byRegistryListener.Replaced byServiceConfigurator.To be removed without replacementTo be removed without replacementTo be removed without replacement.To be removed without replacement.Superseded bySingletonServiceTarget.Superseded bySingletonServiceTargetFactory.Replaced bySingletonElectionListenerReplaced bySingletonElectionPolicy.Replaced bySingletonPolicy.Replaced bySingletonService.Replaced bySingletonServiceConfigurator.Replaced bySingletonServiceConfiguratorFactoryit is sufficient to implementinitialize(Map<String, String>)method in custom componentReplaced byCapabilityReference.Replaced byResourceCapabilityReference.To be removed without replacement
-
Deprecated ClassesClassDescriptionSince 2.5, use any Annotation type (such as
JsonTypeInfo), if such behavior is needed; this is rarely necessary.Since 2.16 recycling aspects are handled viaRecyclerPool.Since 2.18: use other implementations insteadSince 2.18: use other implementationsSince 2.2, we recommend use of external JSON Schema generator moduleSince 2.12 usePropertyNamingStrategies.KebabCaseStrategyinstead (see databind#2715 for reason for deprecation)Since 2.12 usePropertyNamingStrategies.LowerCaseStrategyinstead (see databind#2715 for reason for deprecation)Since 2.12 usePropertyNamingStrategies.LowerDotCaseStrategyinstead (see databind#2715 for reason for deprecation)Since 2.12 deprecated. See databind#2715 for reasons for deprecation.Since 2.12 usePropertyNamingStrategies.SnakeCaseStrategyinstead (see databind#2715 for reason for deprecation)Since 2.12 usePropertyNamingStrategies.UpperCamelCaseStrategyinstead (see databind#2715 for reason for deprecation)Since 2.8, useStdKeySerializers.Defaultinstead.UseStdDateFormatinsteadDue to typo in class name useYearMonthKeyDeserializerinstead.Replaced byJavaTimeModulesince Jackson 2.7, see above for details on differences in the default configuration.Since 2.8 only used by deprecatedJSR310ModuleSince 2.16.1 useLRUMapfromjackson-databind.Usecom.sun.tools.jxc.api.Referenceinstead.Please useRequestProtocolAttributeAs of JSP 2.1, replaced byValueExpressionAs of JSP 2.1, replaced byExpressionFactoryuseArtemisConstantsinsteadUse PersistedAddressSettingJSON insteadUseinsteaduse the logging module rt/features/logging insteaduse the logging module rt/features/logging insteaduse the logging module rt/features/logging insteaduse the logging module rt/features/logging insteadwith no replacement - no longer usedCheck for 'ASN1BitStringParser' insteadCheck for 'ASN1OctetStringParser' insteadCheck for 'ASN1SequenceParser' insteadCheck for 'ASN1SetParser' insteadCheck for 'ASN1OctetStringParser' insteadCheck for 'ASN1BitStringParser' insteadCheck for 'ASN1SequenceParser' insteadCheck for 'ASN1SetParser' insteaduse RSAPrivateKeyuse ECPrivateKeyuse ASN1Dump.use org.bouncycastle.asn1.pkcs.RSAPublicKeyuse TBSCertificateuse org.bouncycastle.asn1.x509.Certificateuse ExtensionuseExtensionandExtensionsuse org.bouncycastle.asn1.x509.ExtensionsGeneratoruse org.bouncycastle.asn1.x500.X500Name.use X500NameTokenizeruse DomainParametersuse ValidationParamsunfortunately this class is has a few side channel issues. In an environment where encryption/decryption may be closely observed it should not be used.use ECIESKEMGenerator, ECIESKEMExtractoruse RSAKEMGenerator, RSAKEMExtractoruse org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher instead.use AEADParametersUseECGOST3410Signerinstead.use org.bouncycastle.util.packThis class does not support configuration on creation, use BCFKSLoadStoreParameter for best results.use org.bouncycastle.jcajce.PKCS12StoreParameteruse KTSParameterSpecuse classes in org.bouncycastle.pkcs.use org.bouncycastle.jcajce.config.PKCS12StoreParameterDo not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.use CertificateFactory or the PEMParser in the openssl package (pkix jar).Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.use org.bouncycastle.jcajce.spec.GOST28147ParameterSpecuse super class org.bouncycastle.jcajce.spec.RepeatedSecretKeySpecuse the X500Name class.use JcaPEMWriteruse LMSKeyGenParameterSpecuse LMSKeyGenParameterSpecthe NTRUSigner algorithm was broken in 2012 by Ducas and Nguyen. See https://www.di.ens.fr/~ducas/NTRUSign_Cryptanalysis/DucasNguyen_Learning.pdf for details.use org.bouncycastle.util.Arrays.use org.bouncycastle.cert.AttributeCertificateHolderuse org.bouncycastle.cert.AttributeCertificateIssueruse PKIXExtendedBuilderParametersuse PKIXExtendedParametersuse JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance()use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtilsuse org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer in the bcpkix packagesee X509CertificateHolder class in the PKIX package.use org.bouncycastle.cert.X509AttributeCertificateSelector and org.bouncycastle.cert.X509AttributeCertificateSelectorBuilder.use the classes under org.bouncycastle.cert.selectoruse CollectionStore - this class will be removed.use org.bouncycastle.cert.X509v1CertificateBuilder.use org.bouncycastle.cert.X509AttributeCertificateHolderuse org.bouncycastle.cert.X509v2CRLBuilder.use org.bouncycastle.cert.X509v3CertificateBuilder.in JAXB 2.2.4 - use jakarta.xml.bind.DatatypeConverterImpl instead or let us know why you can'tthis class is no longer usedUseAvailableHintsinsteadwill move toorg.hibernate.boot.model.source.spi, where its only uses arethis class is no longer usedThis helper class is no longer usedNamingStrategyitself has been deprecatedNamingStrategyitself has been deprecatedNamingStrategyitself has been deprecatedNamingStrategyitself has been deprecatedWill be replaced withHANADialectin the future.UseDB2iDialectUseDB2iDialectuseHANADialectwithDatabaseVersion.make( 4 )insteaduseHANADialectinsteaduseHANADialectinsteaduseDB2zIdentityColumnSupportno longer used, useGetGeneratedKeysDelegateinsteaduseMariaDBDialect(1060)useMySQLDialect(800)UseEnumJdbcTypeinsteaduseDB2SequenceSupportuseSQLServerDialect(11)useSQLServerDialect(13)implementInterceptordirectlyuseAppliedGraphinsteadNo longer useduseDefaultAuditStrategyinstead.useValidityAuditStrategyinstead.sinceSession.replicate(java.lang.Object, org.hibernate.ReplicationMode)is deprecatedsinceSession.save(java.lang.Object)is deprecatedsinceSession.saveOrUpdate(java.lang.Object)is deprecatedsinceSession.update(java.lang.Object)is deprecatedbecause bothSourceandhbm.xmlare deprecated, though this implementation is instructiveSubclasses should now directly inheritPostInsertIdentifierGeneratorandBulkInsertionCapableIdentifierGenerator, or even better, simply implementOnExecutionGeneratordirectly.sinceUUIDHexGeneratoris deprecatedThis remains around as an implementation detail ofhbm.xmlmappings.useUuidGeneratorThis is not used anymore in any of theGeneratedValuesMutationDelegateimplementations.useUuidGeneratorandUuidGeneratorinsteadThis remains around as an implementation detail ofhbm.xmlmappings.sinceJdbcObserveris deprecatedUseClassLoaderServiceinsteadHibernate now uses StAX for XML processing and the role of this class is served now byLocalXmlResourceResolverUseExpectation.RowCount, creating a custom subclass if necessaryUseExpectation.OutParameter, creating a custom subclass if necessaryUseAvailableHintsinsteadUseNavigablePathorNavigableRoleinstead, depending on need.this class is no longer usedThis is replaced byValueGenerationandGenerationTiming, and is no longer usedno longer usedPlease get rid of it: such collections should be immutable.Replaced byEmbeddedCollectionPartReplaced byCollectionPartReplaced byEntityMappingTypeReplaced byEntityMappingTypeThe functionality of DiscriminatorType,DiscriminatorMetadataandMetaTypehave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverterUseElasticsearchBackendImplSettingsinstead.Wherever possible, usePojoEntityReferenceinstead. This may not be possible everywhere due to backwards compatibility constraints.sinceResultTransformeris deprecatedsinceResultTransformeris deprecatedsinceResultTransformeris deprecatedsinceResultTransformeris deprecatedsinceResultTransformeris deprecatedNo direct replacement.No direct replacement.No direct replacement, though seeAttributeMappingandAttributeMetadataNo direct replacementsinceInstantiatoris deprecatedNo direct replacementNo direct replacementNo direct replacementNo direct replacementReplaced byEntityMappingType. EntityMetamodel was a first attempt at what has becomeEntityMappingTypeReplaced byEntityVersionMappingNo direct replacement; seeEntityIdentifierMappingLikeInstantiatoritself, deprecated.No direct replacementReplaced byAttributeMappingThis style of generation has been replaced byorg.hibernate.generatorsinceGeneratorTypeis deprecatedNo longer usedUseH2JsonJdbcTypeinsteaduseFloatJdbcTypeUse the built-in support for enumsThe functionality of MetaType,DiscriminatorTypeandDiscriminatorMetadatahave been consolidated intoEntityDiscriminatorMappingandDiscriminatorConverteruseValidationExtensioninstead.As of release 5.1.0, replaced byMod10CheckValidatorandMod11CheckValidatorsince 6.0 - getting the parameter names via reflection is now enabled by default. Planned for removal.This class should not have been part of the public API and will be removed at a later stage.since 12.0. To be removed in Infinispan 14since 12.0. To be removed in Infinispan 14.since 12.0. Will be removed in 14.0. UseClassAllowList.UseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 11.0, will be removed with ISPN-9622since 12.1. to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 12.1, to be removed in a future version.Since 12.1, to be removed in a future version.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStreaminstead.Since 12, will be removed in version 15.0Please use EJBClientContext.Builder to manipulate the EJBClientInterceptors.Retained for compatibility with older protocol versions; use theAbstractEJBMetaDatahierarchy instead.UseWildFlyInitialContextFactoryinstead.Retained only for protocol compatibility.Retained only for protocol compatibility.Retained only for protocol compatibility.Stability monitors are unreliable - do not use them. This class will be removed in a future release.Stability monitors are unreliable - do not use them. This class will be removed in a future release.UseServiceBuilder.requires(org.jboss.msc.service.ServiceName)method instead. This class will be removed in a future release.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEngineBuilderwill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.finalizers should no longer be used and this type will be removed in the futureThis should no longer be used as it's quite simple to implement and is tied to the implementationorg.omg.CORBA.DynamicImplementationDeprecated by CORBA 2.2.Deprecated by CORBA 2.2.To be removed without replacementReplaced bySingletonElectionPolicy#prefer(java.util.function.Predicate).Replaced bySingletonElectionPolicy.prefer(List).Replaced bySingletonElectionPolicy.random().Replaced bySingletonElectionPolicy.position(int).To be removed without replacement.Please useHostNameinstead.UseContextualinstead.UseContextualinstead.UseContextualinstead.Use a jaas-realm resource insteadplease use JgroupsBroadcastGroupAdd or SocketBroadcastGroupAddUse JGroupsBroadcastGroupDefinition or SocketBroadcastGroupDefinition.please use Jgroups DiscoveryGroupAdd or Socket DiscoveryGroupAddUse JGroupsDiscoveryGroupDefinition or SocketDiscoveryGroupDefinition.Using the ElytronAuthenticator is not supported or recommended due to known credential limitations in Java 8.Kerberos based authentication mechanism obtains credential himselfOnly inner class SingleSignOnConfiguration is deprecated.Should not be part of public API. Moved into internalorg.wildfly.security.mechanism._private.MechanismUtil.Use one of the abstract permission classes likeorg.wildfly.security.permission.AbstractActionSetPermissioninstead.Useorg.wildfly.security.password.PasswordFactoryinstead.Use org.wildfly.security.digest.WildFlyElytronDigestProvider insteadUse org.wildfly.security.http.basic.WildFlyElytronHttpBasicProvider insteaduse org.wildfly.security.http.bearer.WildFlyElytronHttpBearerProvider insteadUse org.wildfly.security.http.cert.WildFlyElytronHttpClientCertProviderUse org.wildfly.security.http.digest.WildFlyElytronHttpDigestProvider insteadUse org.wildfly.security.http.form.WildFlyElytronHttpFormProvider insteaduse org.wildfly.security.http.spnego.WildFlyElytronHttpSpnegoProvider instead
-
Deprecated Enum ClassesEnum ClassDescriptionuse
EventTypeandEventTypeSetsinstead- Use the JPA-defined
FetchType.EAGERinstead ofLazyCollection(FALSE). - Use static methods of
Hibernate, for exampleHibernate.size(Collection),Hibernate.contains(Collection, Object), orHibernate.get(Map, Object)instead ofLazyCollection(EXTRA).
sincePolymorphismis deprecatedUse anExpectationclass instead.hbm.xmlmappings are no longer supported, making this attribute irrelevantUseFetchStyleUse anExpectationclassseeMultiKeyLoadSizingStrategyinsteadsinceSession.replicate(Object, ReplicationMode)is deprecatedUseValueModelinstead.Replaced byEventTypeas id-generation has been redefined using the new broader generation approach.since 10.1. See deprecation note onQueryBuilder. - Use the JPA-defined
-
Deprecated ExceptionsExceptionsDescriptionAs of JSP 2.1, replaced by
ELExceptionAs of JSP 2.1, replaced byELExceptionWas only ever referenced in a single place, in an extremely dubious way.This class will be removed in a future release.This class is deprecated use jakarta.ws.rs.BadRequestExceptionTo be removed without replacement.
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionSince 2.15, we recommend use of external JSON Schema generator moduleUse
Channelinstead.UseOnOverflowinsteadThis will be removed post Jakarta EE 10 and should be replaced with CDI beansAs of JSR-181 2.0 with no replacement.this hasn't been implemented in the RI, and this hasn't been speced yet. I believe Joe asked for this feature. I'd like to drop this.use the JPA 2.1ForeignKeyannotationValueGenerationTypeandAnnotationValueGenerationnow provide a much more powerful and typesafe alternativeUse the new approach based onIdGeneratorType.sinceGenericGeneratoris deprecated.UseIndexinstead.- Use the JPA-defined
FetchType.EAGERinstead ofLazyCollection(FALSE). - Use static methods of
Hibernate, for exampleHibernate.size(Collection),Hibernate.contains(Collection, Object), orHibernate.get(Map, Object)instead ofLazyCollection(EXTRA).
use JPA annotations to specify theFetchTypeAlternative depends on reason for custom persisterThis annotation is hardly ever useful.This annotation is almost never useful.SinceSession.update(Object)is deprecateduseCurrentTimestampinsteadThe options available here are all now offered by other newer and better-designed annotations in this package. This annotation will soon be removed, since it's very annoying to have two annotations named@Table.sinceTableis deprecateduse annotation members of JPA association mapping annotations, for example,OneToMany.targetEntity()UseSQLRestrictionuse the standardEmailconstraint insteadAs of release 5.1.0, replaced byMod10CheckandMod11Checkuse the standardNotBlankconstraint insteaduse the standardNotEmptyconstraint insteadsince 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 11.0. To be removed in 14.0 ISPN-11866. Stores should utiliseNonBlockingStore.Characteristics to specify a store's capabilities.the clusterability of an EJB is determined by the capabilities of the associated server and is explicitly disabled viajavax.ejb.Stateful#passivationCapable().UseContextualinstead. - Use the JPA-defined
-
Deprecated FieldsFieldDescriptionSince 2.16.
ErrorReportConfiguration.getMaxErrorTokenLength()will be used instead.Since 2.16.ErrorReportConfiguration.DEFAULT_MAX_RAW_CONTENT_LENGTHwill be used instead.Since 2.13, useIOContext._contentReferenceinsteadSince 2.14 -- do not useSince 2.13 useErrorReportConfiguration.DEFAULT_MAX_RAW_CONTENT_LENGTHinsteadin 2.16. Use Separators API instead.in 2.16. Use the Separators API instead.Since 2.12 deprecated. UsePropertyNamingStrategies.KEBAB_CASEinstead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_CAMEL_CASEinstead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_CASEinstead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.LOWER_DOT_CASEinstead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.SNAKE_CASEinstead. See databind#2715 for reasons for deprecation.Since 2.12 deprecated. UsePropertyNamingStrategies.UPPER_CAMEL_CASEinstead. See databind#2715 for reasons for deprecation.UseSerializerCache.DEFAULT_MAX_CACHE_SIZEinstead.Since 2.16- this option was interpreted improperly.TODO: Either change TCK reference to PERSISTENCE_PROVIDER field to expect "jakarta.persistence.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests.Following JEP 411Following JEP 411Following JEP 411may be removed in future releasesAs of Java JSP API 1.2, use BodyTag.EVAL_BODY_BUFFERED or IterationTag.EVAL_BODY_AGAIN.Use REMOTING_THREADS_PROPNAMEuse PROTOCOLS_PROP_NAMEUseinstead.Use USE_GLOBAL_WORKER_POOL_PROP_NAMEReplaced byFilter.GENERIC_IGNORED_FILTERthis is not used as other factory types are not supportedsince 1.1.2 - this is not used as other factory types are not supporteduse id_aa_ets_commitmentType insteaduse id_aa_ets_otherSigCert insteaduse id_aa_ets_signerLocation insteaduse id_aa_ets_sigPolicyId insteaduse smime_alg insteaduse id_spq_oid insteaduse pbeWithSHAAnd40BitRC2_CBCuse x509Certificate insteaduse SERIALNUMBER or SURNAMEuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse lower case versionuse id_at_roleuse X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use X509Extension value.use a X500NameStyleuse a X500NameStyleuse a X500NameStyleuse a X500NameStyleuse DefaultSymbolsuse a X500NameStyleuse DefaultLookUpuse a X500NameStyleUse CRMFObjectIdentifiers.passwordBasedMac insteaduse NOT_STRICT_LENGTH_ENABLED_PROPERTYuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse xmss_mt_SHA256phuse xmss_mt_SHA512phuse xmss_mt_SHAKE128phuse xmss_mt_SHAKE256phuse xmss_SHA256phuse xmss_SHA512phuse xmss_SHAKE128phuse xmss_SHAKE256phobsolete to be removeduse R_HUNDREDTHS_OF_SECONDS - this field will be deleted!!in favor ofJsonConfig.KEY_STRATEGYonly used from 1.0use ERR_MISSING_OBJECT2only used from 1.0Calling stored-procedures and functions viaNativeQueryis no longer supported. UseProcedureCallorStoredProcedureQueryinstead.Register aBytecodeProviderthrough Java services.Deprecated with no replacementRegister aBytecodeProviderthrough Java services.Will be removed with no replacement from ORM version 7 onwardsThere are much better ways to control the flush mode of a session, for example,SessionBuilder.flushMode(org.hibernate.FlushMode)orSession.setHibernateFlushMode(org.hibernate.FlushMode).useGenerationTypeStrategyRegistrationinsteadUseAvailableSettings.JAKARTA_LOCK_SCOPEinsteadUseAvailableSettings.JAKARTA_LOCK_TIMEOUTinsteadUseBatchSettings.BUILDERinsteadWill be removed, Hibernate ORM will use the BytecodeProvider implementation it finds on the classpath loading it via the standard ServiceLoader mechanism. Currently, there is only a single implementation which is included in Hibernate ORM, so it's not possible to override this. See HHH-17643Will be removed without replacement. See HHH-15641Will be removed without replacement. See HHH-15641this is only honored forhibernate-infinispanUseCacheSettings.JAKARTA_SHARED_CACHE_MODEinsteadUseCacheSettings.JAKARTA_SHARED_CACHE_RETRIEVE_MODEinsteadUseCacheSettings.JAKARTA_SHARED_CACHE_STORE_MODEinsteadAn appropriate batch-fetch style is selected automaticallyThe JPA-standardJdbcSettings.JAKARTA_JTA_DATASOURCEorJdbcSettings.JAKARTA_JTA_DATASOURCEsetting is now preferred.UseJdbcSettings.JAKARTA_HBM2DDL_DB_MAJOR_VERSIONinsteadUseJdbcSettings.JAKARTA_HBM2DDL_DB_MINOR_VERSIONinsteadUseJdbcSettings.JAKARTA_HBM2DDL_DB_NAMEinsteadUseJdbcSettings.JAKARTA_HBM2DDL_DB_VERSIONinsteadThe JPA-standard settingJdbcSettings.JAKARTA_JDBC_DRIVERis now preferred.UseJdbcSettings.JAKARTA_HBM2DDL_CONNECTIONinsteadUseJdbcSettings.JAKARTA_JDBC_DRIVERinsteadUseJdbcSettings.JAKARTA_JDBC_PASSWORDinsteadUseJdbcSettings.JAKARTA_JDBC_URLinsteadUseJdbcSettings.JAKARTA_JDBC_USERinsteadUseJdbcSettings.JAKARTA_JTA_DATASOURCEinsteadUseJdbcSettings.JAKARTA_NON_JTA_DATASOURCEinsteadThe JPA-standard settingJdbcSettings.JAKARTA_JDBC_PASSWORDis now preferred.The JPA-standard settingJdbcSettings.JAKARTA_JDBC_URLis now preferred.The JPA-standard settingJdbcSettings.JAKARTA_JDBC_USERis now preferred.UseMappingSettings.DEFAULT_LIST_SEMANTICSinstead. The specification actually leaves this behavior undefined, saying that portable applications should not rely on any specific behavior for aListwith no@OrderColumn.UseManagedBeanSettings.JAKARTA_CDI_BEAN_MANAGERinsteadhbm.xmlmappings are no longer supported, making this attribute irrelevantIt makes no sense at all to enable this at the global level for a persistence unit. If anything, it could be a setting specific to a given embeddable class. But, four years after the introduction of this feature, it's still marked experimental and has multiple known unresolved bugs. It's therefore time for those who advocated for this feature to accept defeat.Originally added as a backwards compatibility flagUsePersistenceSettings.JAKARTA_PERSISTENCE_PROVIDERinsteadUsePersistenceSettings.JAKARTA_TRANSACTION_TYPEinsteadthis setting is not currently usedThe JPA-standard settingSchemaToolingSettings.JAKARTA_HBM2DDL_CREATE_SCHEMASis now preferred.Migrate toSchemaToolingSettings.JAKARTA_HBM2DDL_CREATE_SOURCEinsteadThe JPA-standard settingSchemaToolingSettings.JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCEis now preferred.UseValidationSettings.JAKARTA_VALIDATION_FACTORYinsteadUseValidationSettings.JAKARTA_VALIDATION_MODEinsteadConstruct instance based on version instead.UseGraphLanguageLexer.VOCABULARYinstead.UseGraphLanguageParser.VOCABULARYinstead.UseHqlLexer.VOCABULARYinstead.UseHqlParser.VOCABULARYinstead.UseSqlScriptLexer.VOCABULARYinstead.UseSqlScriptParser.VOCABULARYinstead.UseOrderingLexer.VOCABULARYinstead.UseOrderingParser.VOCABULARYinstead.Use aOnExecutionGeneratorThis is not an elegant way to do anythingUseExpectation.NoneUse discovery instead.Consider using discovery instead to dynamically locate contributors.this feature of HQL is now deprecatedUseQueryParameterBindings.empty()instead.The default for this property is now dynamic and depends on the mapper. If the multi-tenancy is enabled in the mapper, the default isMultiTenancyStrategyName.DISCRIMINATOR. Otherwise, the default is stillMultiTenancyStrategyName.NONE.The default for theElasticsearchBackendSettings.VERSION_CHECK_ENABLEDproperty is now dynamic and depends on the value of theElasticsearchBackendSettings.VERSIONproperty.The default for theElasticsearchIndexSettings.SCHEMA_MANAGEMENT_MINIMAL_REQUIRED_STATUSproperty is now dynamic and depends on the targeted Elasticsearch distribution.The default for this property is now dynamic and depends on the mapper. If the multi-tenancy is enabled in the mapper, the default isMultiTenancyStrategyName.DISCRIMINATOR. Otherwise, the default is stillMultiTenancyStrategyName.NONE.org.hibernate.search.mapper.orm.cfg.HibernateOrmMapperSettings.AUTOMATIC_INDEXING_ENABLE_DIRTY_CHECKThis setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.INDEXING_LISTENERS_ENABLEDinstead (caution: it expects a boolean value).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.IndexingRadicals.LISTENERS_ENABLEDinstead (caution: it expects a boolean value).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.Use the new configuration property instead:HibernateOrmMapperSettings.AUTOMATIC_INDEXING_STRATEGY, (caution: it expects a boolean value, and its default isHibernateOrmMapperSettings.Defaults.ENABLED).This setting will be removed in a future version. There will be no alternative provided to replace it. After the removal of this property in a future version, a dirty check will always be performed when considering whether to trigger reindexing.UseHibernateOrmMapperSettings.Radicals.AUTOMATIC_INDEXING_ENABLEDinstead (caution: it expects a boolean value).useStandardBasicTypes.BINARY_WRAPPERinsteadplanned for removal. Use hibernate.validator.constraint_mapping_contributors instead.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 14.0, please useServerStatistics.APPROXIMATE_ENTRIESSince 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, without replacement.Since 11.0, without replacement.Replaced by PROTOBUF_WRAPPER. Will be removed in next minor version.Dependent subsystem should instead register a requirement on theNamingService.CAPABILITY_NAMEcapability.to obtain empty configuration useAuthenticationConfiguration.empty()method insteadUseEncryption.CHACHA20instead.
-
Deprecated MethodsMethodDescriptionSince 2.13, use
ParserBase._contentReference()instead.Since 2.14 UseCharTypes.copyHexBytes(boolean)insteadSince 2.14 UseCharTypes.copyHexChars(boolean)insteadSince 2.16. UseContentReference.construct(boolean, Object, ErrorReportConfiguration)instead.Since 2.16. UseContentReference.construct(boolean, Object, int, int, ErrorReportConfiguration)instead.Since 2.13, useIOContext.contentReference()insteadSince 2.17 useNumberInput.parseBigDecimal(char[], boolean)insteadSince 2.17 useNumberInput.parseBigDecimal(char[], int, int, boolean)insteadSince 2.17 useNumberInput.parseBigDecimal(String, boolean)insteadSince 2.17 useNumberInput.parseBigInteger(String, boolean)insteadSince 2.17 useNumberInput.parseDouble(String, boolean)insteadSince 2.17 useNumberInput.parseFloat(String, boolean)insteadSince 2.3; use method that takes argumentSince 2.13since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)insteadSince 2.2, useJsonFactory.createGenerator(OutputStream)instead.Since 2.2, useJsonFactory.createGenerator(OutputStream, JsonEncoding)instead.Since 2.2, useJsonFactory.createGenerator(Writer)instead.Since 2.2, useJsonFactory.createParser(byte[])instead.Since 2.2, useJsonFactory.createParser(byte[],int,int)instead.Since 2.2, useJsonFactory.createParser(File)instead.Since 2.2, useJsonFactory.createParser(InputStream)instead.Since 2.2, useJsonFactory.createParser(Reader)instead.Since 2.2, useJsonFactory.createParser(String)instead.Since 2.2, useJsonFactory.createParser(URL)instead.since 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)insteadsince 2.10 useTSFBuilder.configure(JsonFactory.Feature, boolean)insteadSince 2.10 useTSFBuilder.inputDecorator(InputDecorator)insteadSince 2.10 useTSFBuilder.outputDecorator(OutputDecorator)insteadSince 2.17 useJsonGenerator.currentValue()insteadSince 2.17 useJsonGenerator.currentValue()insteadSince 2.7, useJsonGenerator.overrideStdFeatures(int, int)instead -- remove from 2.9Since 2.12 UseJsonGenerator.writeStartArray(Object, int)insteadSince 2.13 UseJsonLocation.contentReference()insteadSince 2.17 useJsonParser.currentLocation()insteadSince 2.17 useJsonParser.currentName()instead.Since 2.12 useJsonParser.currentTokenId()insteadSince 2.17 useJsonParser.currentValue()insteadSince 2.17 useJsonParser.currentTokenLocation()insteadSince 2.17 useJsonParser.assignCurrentValue(java.lang.Object)insteadSince 2.7, useJsonParser.overrideStdFeatures(int, int)insteadSince 2.13 useJsonStreamContext.startLocation(com.fasterxml.jackson.core.io.ContentReference)insteadSince 2.8 useJsonStreamContext.typeDesc()insteadUseObjectCodec.getFactory()instead.Since 2.16 useCharsToNameCanonicalizer.createRoot(TokenStreamFactory)insteadSince 2.16 useCharsToNameCanonicalizer.createRoot(TokenStreamFactory)insteadSince 2.16 useCharsToNameCanonicalizer.makeChild()instead.Since 2.7: does not have meaning as parameters depend on type resolved.Since 2.10 callJsonStringEncoder.getInstance()and thenencodeAsUTF8()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.16 should useRecyclerPoolabstraction instead of calling static methods of this classSince 2.10 callJsonStringEncoder.getInstance()instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 callJsonStringEncoder.getInstance()and thenquoteAsString()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 callJsonStringEncoder.getInstance()and thenquoteAsString()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)Since 2.10 callJsonStringEncoder.getInstance()(and thenquoteAsUTF8()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)in 2.16. Use the Separators API instead.in 2.16. Use the Separators API instead.in 2.16. Use the Separators API instead.in 2.16. Use the Separators API instead.Since 2.18: use one of other implementations instead; seeJsonRecyclerPools.LockFreePoolJavadocs for detailsSince 2.18: use one of other implementations instead; seeJsonRecyclerPools.LockFreePoolJavadocs for detailsSince 2.15 useTextBuffer.contentsAsDecimal(boolean)instead.Since 2.6: functionality not used by any official Jackson component, should be moved out if anyone needs itSince 2.12 simply useVersionUtil.versionFor(Class)insteadSince 2.7 use correctly spelled methodVersion.isUnknownVersion()since 2.8 (may be removed from 2.9 or later)As of Jackson 2.0, this annotation has been replaced byJsonIncludeSince 2.16. UseAnnotationIntrospector.findDefaultEnumValue(AnnotatedClass, Enum[])instead.Since 2.16Since 2.8: useAnnotationIntrospector.findEnumValues(java.lang.Class<?>, java.lang.Enum<?>[], java.lang.String[])instead because this method does not properly handle override settings (defaults toenum.namewithout indicating whether that is explicit or not), and is inefficient to call one-by-one.Since 2.16Since 2.9 UseAnnotationIntrospector.hasAnyGetter(com.fasterxml.jackson.databind.introspect.Annotated)insteadSince 2.9 useAnnotationIntrospector.hasAnySetter(com.fasterxml.jackson.databind.introspect.Annotated)instead.Since 2.9 UseAnnotationIntrospector.hasAsValue(Annotated)instead.Since 2.17 useBeanDescription.findExpectedFormat()Since 2.13 -- no replacementSince 2.6 useMapperConfigBase.getFullRootName()instead.Since 2.16: useBasicDeserializerFactory.constructEnumNamingStrategyResolver(DeserializationConfig, AnnotatedClass)instead.Since 2.11 Should not be used: was never meant to be called by code other than sub-classes (implementations), and implementations details differSince 2.3, useBeanDeserializerBase.handledType()insteadin 2.12, remove from 3.0Since 2.9: use variant that takesValueInstantiatorSince 2.10Since 2.18 use version of _createAndCache2 that takes `isCustom` flagsince 2.12since 2.11Since 2.12.2 (since it does not get context for accessing config)com.fasterxml.jackson.databind.deser.std.EnumDeserializer._getToStringLookup(DeserializationContext) Since 2.16Since 2.8Since 2.15Since 2.17Since 2.14 use the variant that takes one more argumentin 2.12, remove from 3.0Since 2.12Since 2.12Since 2.14 (use the non-deprecated overload)Since 2.3 useStdDeserializer.handledType()insteadSince 2.12 should not handle coercions hereSince 2.15Since 2.9 should instead useAnnotated.getAnnotated()Since 2.9, use methods inAnnotatedClassResolverinstead.Since 2.9, use methods inAnnotatedClassResolverinstead.Since 2.9, use methods inAnnotatedClassResolverinstead.Since 2.9, use methods inAnnotatedClassResolverinstead.Since 2.9; useAnnotatedClass.getFactoryMethods()instead.Since 2.9Since 2.12 (related to [databind#2675]), needs to be configurableSince 2.7, remove in 2.9com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.findPropertyIgnorals(Annotated) com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.hasCreatorAnnotation(Annotated) Since 2.12 use separatePOJOPropertiesCollector.getAnyGetterMethod()andPOJOPropertiesCollector.getAnyGetterField().Since 2.6 Use overloaded variant that takes context argumentSince 2.6 Use overloaded variant that takes context argumentSince 2.14 useJsonNode.withObject(String)instead(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.Since 2.5 UseJsonSerializer.isEmpty(SerializerProvider, Object)instead; will be removed from 3.0Since 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadSince 2.9 useTypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)insteadUseJsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROESinstead for configuring behavior.Since 2.4 use eitherObjectNode.set(String,JsonNode)orObjectNode.replace(String,JsonNode),Since 2.4 useObjectNode.setAll(ObjectNode),Since 2.4 useObjectNode.setAll(Map),Since 2.11.2 UseObjectMapper._writeValueAndClose(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)insteadSince 2.5: replaced by a fluent form of the method;ObjectMapper.addMixIn(Class, Class).Since 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.13 useJsonMapper.builder().configure(...)Since 2.13 useJsonMapper.builder().disable(...)Since 2.10 useObjectMapper.deactivateDefaultTyping()insteadSince 2.13 useJsonMapper.builder().enable(...)Since 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator)insteadSince 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping)insteadSince 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping,JsonTypeInfo.As)insteadSince 2.10 useObjectMapper.activateDefaultTypingAsProperty(PolymorphicTypeValidator,DefaultTyping,String)insteadSince 2.6 use external JSON Schema generator (jackson-module-jsonSchema) (which under the hood callsObjectMapper.acceptJsonFormatVisitor(JavaType, JsonFormatVisitorWrapper))Since 2.5, useObjectMapper.readerFor(TypeReference)insteadSince 2.5, useObjectMapper.readerFor(JavaType)insteadSince 2.5, useObjectMapper.readerFor(Class)insteadSince 2.6, useObjectMapper.setFilterProvider(com.fasterxml.jackson.databind.ser.FilterProvider)instead (allows chaining)Since 2.5: replaced by a fluent form of the method;ObjectMapper.setMixIns(java.util.Map<java.lang.Class<?>, java.lang.Class<?>>).Since 2.6 useObjectMapper.setVisibility(VisibilityChecker)instead.Since 2.5, useObjectMapper.writerFor(TypeReference)insteadSince 2.5, useObjectMapper.writerFor(JavaType)insteadSince 2.5, useObjectMapper.writerFor(Class)insteadsince 2.5 UseObjectReader.forType(TypeReference)insteadsince 2.5 UseObjectReader.forType(JavaType)insteadsince 2.5 UseObjectReader.forType(Class)insteadsince 2.5 UseObjectReader.forType(java.lang.reflect.Type)insteadSince 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.18 use discouraged; method to be removed from Jackson 3.0Since 2.5 useObjectWriter.with(FormatSchema)insteadsince 2.5 UseObjectWriter.forType(TypeReference)insteadsince 2.5 UseObjectWriter.forType(JavaType)insteadsince 2.5 UseObjectWriter.forType(Class)insteadSince 2.3: new code should use the alternativedepositSchemaPropertymethodSince 2.7, to be removed from 2.9, useBeanPropertyWriter.getType()instead.Since 2.7, to be removed from 2.9, useBeanPropertyWriter.getType()instead.Since 2.10Since 2.7: should not be needed; should be enough to see if type has 'isStatic' modifierShould not be used any moreSince 2.3 deprecated becauseBeanPropertyFilteris deprecated;Since 2.6; to be removed from 2.7since 2.3Since 2.3 should usePropertyFilterinstead ofBeanPropertyFilterSince 2.15Since 2.9Since 2.9 since this will not allow determining difference between "no default instance" case and default being `null`.Since 2.3: new code should use the alternativedepositSchemaPropertymethodSince 2.2Since 2.15since 2.6: use the overloaded method that takes 'unwrapSingle'since 2.8Since 2.12Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.8 use the other overloadSince 2.15since 2.9Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15Since 2.15since 2.7Since 2.15Since 2.15, we recommend use of external JSON Schema generator moduleSince 2.15, we recommend use of external JSON Schema generator moduleSince 2.15Since 2.15Since 2.15Since 2.15Since 2.7 useMapperConfigBase.getDefaultPropertyInclusion()insteadSince 2.9; not needed any moreSince 2.9Since 2.9Since 2.7, useCollectionLikeType.upgradeFrom(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JavaType)for constructing instances, given pre-resolvedSimpleType.Since 2.12 just use instanceofSince 2.7, remove from 2.9Since 2.12 just use instanceofSince 2.16Since 2.16Since 2.7since 2.9 UseTypeFactory.constructParametricType(Class,JavaType...)insteadsince 2.9 UseTypeFactory.constructParametricType(Class,Class...)insteadSince 2.7Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)Since 2.12Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)Since 2.7 resolve raw type first, then find type parameterscom.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(Class<?>, Class<?>, TypeBindings) Since 2.7 resolve raw type first, then find type parametersSince 2.8, to indicate users should never call this method.Since 2.12Since 2.12 replaced withAccessorNamingStrategySince 2.12 replaced withAccessorNamingStrategySince 2.12 replaced withAccessorNamingStrategySince 2.12 replaced withAccessorNamingStrategySince 2.7 call variant that takes boolean flag.since 2.11 (just call Class method directly)since 2.11 (just call Class method directly)Since 2.12 (just call methods directly or check class name)Since 2.6 not used; may be removed before 3.xSince 2.16. UseEnumResolver._enumDefault(AnnotationIntrospector, AnnotatedClass, Enum[])instead.Since 2.16 useEnumResolver.constructFor(DeserializationConfig, AnnotatedClass)insteadSince 2.16. UseEnumResolver.constructUsingIndex(DeserializationConfig, AnnotatedClass)instead.Since 2.16. UseEnumResolver.constructUsingMethod(DeserializationConfig, AnnotatedClass, AnnotatedMember)instead.Since 2.16 useEnumResolver.constructUsingToString(DeserializationConfig, AnnotatedClass)insteadSince 2.16, useEnumValues.constructFromName(MapperConfig, AnnotatedClass)instead.since 2.16; useEnumValues.constructFromToString(MapperConfig, AnnotatedClass)insteadSince 2.16; useEnumValues.constructUsingEnumNamingStrategy(MapperConfig, AnnotatedClass, EnumNamingStrategy)instead.Since 2.9Since 2.9Since 2.13: useDeserializationContext.bufferAsCopyOfValue(com.fasterxml.jackson.core.JsonParser)instead.Since 2.13, no replacement, will be removed from Jackson 3.0 (when optional types will be part of core databind)due to potential unbounded latency on some JRE releases.The naming convention doesn't match the rest of the CodeModel. UseJCodeModel.anonymousClass(JClass)instead.this method is provided for now to allow gradual migration for JAX-RPC.This method is not really "deprecated" (in the sense of being removed from future versions), but the JAXB team is not committed to evolveOptionsclass in the compatible fashion. So please don't use this method unless you know what you're doing.always return null at this level.why are you calling a method whose return value is always known?always return null at this level.always return false at this level.if you are calling this method directly, you must be doing something wrong.why are you calling a method that returns this?why are you calling the method whose return value is known?marked as deprecated so that we can spot the use of this method.No line number available for the "root" component.Always return null. Perhaps you are interested inModel.schemaComponent?no class generated by XJC is final.if you statically call this method, there's something wrong.not much need for JAXB2, as we now use much less stack.this is an expensive operation that require an additional buffer reallocation just to get the array of an exact size. Unless you absolutely need the exact size array, don't use this. UseByteOutputStreamandByteOutputStream.write(InputStream).because this is evil!Only return the length of the indent string.Should use the version that takes string.Only return the length of the indent string.Should use the version that takes string.Only return the length of the indent string.Should use the version that takes string.use the isGlobal method, which always returns the opposite of this function. Or the isLocal method.this method allocates a new array every time, so it could be inefficient when working with a large schema. UseXSElementDecl.getSubstitutables()instead.Since this method always returns null, if you are calling this method from and not fromXSComponent, there's something wrong with your code.replaced withPublisherDecorator.decorate(Multi, List, boolean)This method is now only applicable toSecurityContextimplementations that also implement theAuthenticationMechanismContextinterface.Obtaining lists of mechanisms is discouraged, however there should not be a need to call this anyway.Authentication mechanisms that rely on theIdentityManagershould instead hold their own reference to it.use eitherHttpServerExchange.requestCookies()orHttpServerExchange.getRequestCookie(String)orHttpServerExchange.setRequestCookie(Cookie)methods insteaduse eitherHttpServerExchange.responseCookies()orHttpServerExchange.setResponseCookie(Cookie)methods insteadin favor ofSSLSessionInfo.getPeerCertificates()becauseSSLSession.getPeerCertificateChain()throws java 15.As inconsistent withhashCode()contract, useisMimeTypeEqual(String)instead.This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed with replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0This method will be removed without replacement in EL 6.0Please useJsonbNillableas another annotation instead. This option will be removed in the future.As of JSR-181 2.0 with no replacement.Java™ release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer togetCauseandinitCausemethods of thejava.lang.Throwableclass.J2SE release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer togetCauseandinitCausemethods of thejava.lang.Throwableclass.J2SE release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer togetCauseandinitCausemethods of thejava.lang.Throwableclass..J2SE release 1.4 supports a chained exception facility that allows any throwable to know about another throwable, if any, that caused it to get thrown. Refer togetCauseandinitCausemethods of thejava.lang.Throwableclass.This is no longer required with RFC 6265This is no longer required with RFC 6265This is no longer required with RFC 6265This is no longer required with RFC 6265This method is deprecated as of EL 5.0 and will be removed in EL 6.0 (Jakarta EE 11). Therefore it will be removed here in JSP 4.0.This method is deprecated as of EL 5.0 and will be removed in EL 6.0 (Jakarta EE 11). Therefore it will be removed here in JSP 4.0.As of JSP 2.1, replaced byJspApplicationContext.getExpressionFactory()As of JSP 2.1, replaced byELContext.getELResolver(), which can be obtained byjspContext.getELContext().getELResolver().As of JSP 2.1, replaced byThrowable.getCause()This is no longer required with RFC 6265This is no longer required with RFC 6265Automatic discovery of resources and providers or thegetClassesmethod is preferred overgetSingletons.The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(CacheControl.class).toString(value) instead if you rely on the format of this method.This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(CacheControl.class).fromString(value) instead.The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class).toString(value) instead if you rely on the format of this method.This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(Cookie.class).fromString(value) instead.The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(EntityTag.class).toString(value) instead if you rely on the format of this method.This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(EntityTag.class).fromString(value) instead.The format of the toString() method is subject to change in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class).toString(value) instead if you rely on the format of this method.This method will be removed in a future version. Please use RuntimeDelegate.getInstance().createHeaderDelegate(NewCookie.class).fromString(value) instead.use getDefaultInitialReplicationSyncTimeout()useClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteaduseClientSession.createQueue(QueueConfiguration)insteadThis method is no longer acceptable to create a client session factory. Replaced byServerLocator.createSessionFactory(TransportConfiguration, int).Deprecated in favour ofActiveMQServerControl.createBridge(String)Deprecated in favour ofActiveMQServerControl.createBridge(String)Deprecated in favour ofActiveMQServerControl.createBridge(String)Deprecated in favour ofActiveMQServerControl.createBridge(String)Deprecated in favor ofActiveMQServerControl.createDivert(String)Deprecated in favor ofActiveMQServerControl.createDivert(String)Deprecated in favor ofActiveMQServerControl.createDivert(String)Deprecated in favor ofActiveMQServerControl.createDivert(String)do not use this, use through ICoreMessage or ClientMessage Warning: if you need to read the content of a message use getDataBuffer(). This method is intended for when you want to make changes.do not use this, use through ICoreMessage or ClientMessagedo not use this, use through ICoreMessage or ClientMessagedo not use this, use through ICoreMessage or ClientMessageUseSimpleString.of(String)instead.UseSimpleString.of(String, StringSimpleStringPool)instead.This method is no longer acceptable to connect. Replaced byClientSessionFactoryInternal.connect(int).This is no longer used by the broker. SeeConfiguration.isMqttSubscriptionPersistenceEnabled().This is no longer used by the broker. SeeConfiguration.setMqttSubscriptionPersistenceEnabled(boolean).UseQueueControlImpl.peekFirstMessage()instead.UseQueueControlImpl.peekFirstMessageAsJSON()instead.use throws ActiveMQExceptionActiveMQServerMessagePlugin.beforeDeliver(ServerConsumer, MessageReference)org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.setDeserializationBlackList(String) org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.setDeserializationWhiteList(String) use createAttachment(InputStream stream, Map<String, List> headers, Message message) replaced byJAASLoginInterceptor.setRoleClassifier(String)replaced by {@link #PropertyUtils#isTrue(Object)}UseLogger.traceEntry()instead which performs the same function.UseLogger.traceEntry(String, Object...)instead which performs the same function.UseLogger.traceExit()instead which performs the same function.UseLogger.traceExit(Object)instead which performs the same function.Use the Marker add or set methods to add parent Markers. Will be removed by final GA release.Use the Marker add or set methods to add parent Markers. Will be removed by final GA release.UseStructuredDataId.makeId(String, String)insteadThis method is ineffective and only kept for binary backward compatibility.UseStatusData.getInstant()instead.Instead of relying on the buffering provided byStatusLogger, users should register their own listeners to access to logged events.Instead of relying on the buffering provided byStatusLogger, users should register their own listeners to access to logged events.Instead use thesetLevel(Level)method on the fallback listener returned byStatusLogger.getFallbackListener().Instead use thesetLevel(Level)method on the fallback listener returned byStatusLogger.getFallbackListener().useTransport.getInputBuffer()andTransport.processInput()instead.useTransport.getOutputBuffer()andTransport.outputConsumed()insteadUseReactor.connectionToHost(String, int, Handler)instead.use getHash(), the internal encoding is now an OCTET STRINGuse getKeySizeUseCrlID.getCrlUrlIA5()instead.UseECPrivateKey.getParametersObject()instead and getInstance methods or similar to get the object at the desired type.UseBiometricData.getSourceDataUriIA5()instead.use getAlgorithm()use parsePublicKeyuse X500Name methoduse X500Name methoduse method taking Extensionsuse X500Name methoduse method taking Extensionsuse X500Name methoduse X500Name methoduse getVersionNumberuse toASN1Structure()no longer required.Will be removedUse version including the modulus instead.Will be removedWill be removeduse ECIESKEMExtractoruse ECIESKEMExtractoruse ECIESKEMGeneratoruse ECIESKEMGeneratoruse overload that doesn't take a public keyuse overload that doesn't take a public keyUse 'getValidityDate' instead (which can return null).replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with "#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with engineGetParameters()replaced with "#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"use getSBox()Use createMessageDigest insteadUse createMessageDigest insteaduse AlgorithmParametersUtils.extractParameters(AlgorithmParameters params)use MessageDigestUtils,getDigestName()use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams)Use createMessageDigest insteadUse createMessageDigest insteaduse JcaSignedPublicKeyAndChallenge.getPublicKey()use toASN1Structureuse ContentVerifierProvider methoduse ContentVerifierProvider methodIncorrectly spelt - use setPassword()UseDilithiumPrivateKeyParameters.getEncoded()instead.UseMLDSAPrivateKeyParameters.getEncoded()instead.UseSPHINCSPlusParameters.getID()insteaduse getEncoded() - this method will become private.use getEncoded() - this method will become private.use getEncoded() - this method will become private.use getEncoded() - this method will become private.use getEncoded() this method will become private.replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)use MathFunctions.log(double) insteaduse MathFunctions.log(long) insteaduse method taking ASN1ObjectIdentifieruse method taking ASN1ObjectIdentifieruse method taking ANS1ObjectIdentifieruse method taking ANS1ObjectIdentifieruse method taking ASN1ObjectIdentifieruse toASN1Structureuse the SHAKE based version.Will be removeduse addStore().use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.parseExtensionValue()use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getIssuerAlternativeNames()use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getSubjectAlternativeNames()use generate(key, "BC")use generate()use generate()use generate(key, random, "BC")use generate(key, "BC")use generate()use generate()use generate(key, random, "BC")use generate(key, "BC")use generate()use generate()use generate(key, random, "BC")useSchema.additionalPropertiesSchema(Schema)with a boolean-valued schemauseSchema.getAdditionalPropertiesSchema()which may return a boolean-valued schemauseSchema.setAdditionalPropertiesSchema(Schema)with a boolean-valued schemaOnly return the length of the indent string.Should use the version that takes string.in JAXB 2.0 UseDOMScanner.scan(Element)in JAXB 2.0 UseDOMScanner.scan(Element)usecreateContext(Class[] classes, Map<String,Object> properties)method insteadusecreateContext( Class[] classes, Map<String,Object> properties)method insteadalways return null at this level.always return null at this level.always return false at this level.you shouldn't be invoking this method on .since 2.0since 2.0Base64Datais no longer cached, so that XMLStreamWriterEx impl can retain the data, like JAX-WS does.UseCache.includeLazy()for the sake of typesafety.This was introduced in errorWhenfalse, this annotation has no effect.Whenfalse, this annotation has no effect.this member is currently ignored and has no effectNeeded for backwards compatibility until the deprecated, legacy generation stuff can be removeduseGenericGenerator.type()for typesafetyuseNamedNativeQuery.cacheStoreMode()andNamedNativeQuery.cacheRetrieveMode()sinceCacheModeTypeis deprecatedCalling database procedures and functions throughNativeQueryis no longer supported; useNamedStoredProcedureQueryinstead.useNamedQuery.cacheStoreMode()andNamedQuery.cacheRetrieveMode()sinceCacheModeTypeis deprecatedWhenfalse, this annotation has no effect.useSQLDelete.verify()with anExpectationclassuseSQLDeleteAll.verify()with anExpectationclassuseSQLInsert.verify()with anExpectationclassuseSQLUpdate.verify()with anExpectationclassuseCheck.useCommentThis setting has no effect in Hibernate 6useSQLInsert.table()to specify the secondary tableuseSQLInsert.table()to specify the secondary tableuseSQLInsert.table()to specify the secondary tableWith move to unified schema, this setting is now deprecated and will be removed once support for readinghbm.xmlfiles is fully removed.: No longer used internallyhbm.xmlmappings are no longer supported, making this irrelevantPrefer usingHCANNHelper.annotatedElementSignature(JavaXMember)Prefer usingHCANNHelper.getUnderlyingMember(JavaXMember)UseSqlStringGenerationContext.toIdentifier(String)instead.Interprets the setting "hibernate.use_entity_where_clause_for_collections", which itself is deprecatedno longer used, so this should be removedSee discussion ofTypeContributorin User Guide.UseTypeContributions.contributeType(BasicType)instead.UseTypeContributions.contributeType(BasicType)instead.No longer used/supported!: an appropriate style is selectedUseMappingSettings.DEFAULT_LIST_SEMANTICSinsteadhbm.xmlmapping file support is deprecated. Use extended orm.xml bindings instead.: No longer used internallyWill be removed without replacement. See HHH-15641Will be removed without replacement. See HHH-15641UseBytecodeProvider.getReflectionOptimizer(Class, Map)inssteadonly because it's currently never calledIn dialect implementations, preferDatabaseVersion.makeCopyOrDefault(DatabaseVersion)to gracefully default to the minimum supported version.In dialect implementations, preferDatabaseVersion.makeCopyOrDefault(DatabaseVersion)to gracefully default to the minimum supported version.useDialect.getCheckCondition(String, Long[])insteadNo longer usedOverride the methodrenderInsertIntoNoColumns()on thetranslatorreturned by this dialect.This is no longer calledThis is only called fromSybaseASESqlAstTranslatorso it doesn't need to be declared here.This is never called, and since at least Hibernate 5 has just returnedfalsein every dialect. It will be removed.This seems to be supported on all platforms, and we don't call this except in test suiteUseDialect.trimPattern(TrimSpec, boolean)instead.No longer used, and should be removedWe should not expose this directly: the other accessors that have been created as a replacement have better chances of skipping initializing this map, which is a good performance improvement.this will be removed: it provides too wide access, making it hard to optimise the internals for specific access needs. Consider using #iterateEntities instead.With no replacement. No longer usedWith no replacement. No longer usedUse a providedSqlStringGenerationContextinstead.these integer codes have not been used for a long timethese integer codes have not been used for a long timeNo longer usedNo longer usedNo longer usedNo longer usedNo longer usedNo longer usedthis method should be removed; alternative methods are available that better express the intent, allowing for better optimisations. Not aggressively removing this as it's an SPI, but also useful for testing and other contexts which are not performance sensitive. N.B. This might return an immutable map: do not use for mutations!Just as the method it overrides. Interceptors that deal with lazy state should implementBytecodeLazyAttributeInterceptorJust as the method it overrides. Interceptors that deal with lazy state should implementBytecodeLazyAttributeInterceptorInterceptors that deal with * lazy state should implementBytecodeLazyAttributeInterceptorthis is never calledno longer for internal use, useSessionFactoryImplementor.getMappingMetamodel()orSqmCreationContext.getJpaMetamodel()OperationalContext should cover this overload I believeOperationalContext should cover this overload I believeOperationalContext should cover this overload I believeOperationalContext should cover this overload I believeOperationalContext should cover this overload I believeOperationalContext should cover this overload I believethere's no good reason to expose this herethere's no reason to expose this herethis is not used anywherethere's no good reason to expose this herethis is not used anywherethere's no reason to expose this hereUse@AuditOverride(forClass=SomeEntity.class)instead.useRevisionListenerinstead. While this method is being deprecated, expect a new API for this in 6.0.Instead use setLockOptionswith no replacement.likely want to useEventListenerGroup.clearListeners()instead, which doesn't also reset the registered DuplicationStrategy(ies).this is not the most efficient way for iterating the event listeners. SeeEventListenerGroup.fireEventOnEachListener(Object, BiConsumer)and its overloaded variants for better alternatives.There is no plan to remove this operation, but its use should be avoided sinceFilterDefinitionis an SPI type, and so this operation is a layer-breaker.UseGraphSemantic.fromHintName(java.lang.String)insteadUseGraphSemantic.getJakartaHintName()insteadAdded in 6.6 as a short-term work-around, but should really use on of the alternatives discussed at Configurable. See HHH-18615.Exposed for tests only.UseDatabaseStructure.configure(Optimizer)instead.No longer usedExposed for tests only.this method is no longer calledExposed for tests only.No longer usedNo substitute.- useUseorg.hibernate.engine.jdbc.batch.JdbcBatchLogging#unableToExecuteBatchinsteadUseJdbcBatchLogging.unableToReleaseBatchStatement()insteadDepending on context, eitherClassLoaderServiceorClassLoaderAccessshould be preferredno longer used, since we moved away from theTypeinterfaceUseMappingSettings.DEFAULT_LIST_SEMANTICSinsteadUse the updated formNo longer used, should be removedThis method does not respect theImplicitNamingStrategyThis method does not respect theImplicitNamingStrategyOnly used from deprecated methodsNo longer usedthis method is no longer calledThis method will be removed in the next releaseThis method will be removed in the next releaseThis method will be removed in the next releaseUseKeyValue.createGenerator(IdentifierGeneratorFactory, Dialect, RootClass)instead. No longer used except in legacy tests.UseKeyValue.createGenerator(IdentifierGeneratorFactory, Dialect, RootClass)instead. No longer used except in legacy tests.UseSimpleValue.getSelectables()insteadThis will be removed with no replacement.UsePersistentClass.isCachedinsteadUsePersistentClass.setCached(boolean)insteadthis method is no longer usedthis method is no longer usednew read-by-position paradigm means that these generated aliases are no longer needednew read-by-position paradigm means that these generated aliases are no longer neededUseSimpleValue.getSelectables()insteadUseTable.addInitCommand(Function)instead.No longer used, should be removedNo longer used, should be removedNo longer used, should be removedNo longer used, should be removedShould build aQualifiedTableNamethen useSqlStringGenerationContext.format(QualifiedTableName).Use the form accepting SharedSessionContractImplementor insteadUse the form accepting SharedSessionContractImplementor insteadUseDiscriminable.getDiscriminatorMapping()instead.should be removeduseMappingMetamodel.locateEntityDescriptor(Class)instead- useMappingMetamodel.getEntityDescriptor(String)insteadHigly inefficient - do not use; this exists to support other deprecated methods and will be removed.UseRuntimeMetamodels.getEmbedded(NavigableRole)insteadWith no direct replacement; seeMappingMetamodel.forEachCollectionDescriptor(java.util.function.Consumer<org.hibernate.persister.collection.CollectionPersister>)andMappingMetamodel.streamCollectionDescriptors()insteadWith no direct replacement; seeMappingMetamodel.forEachEntityDescriptor(java.util.function.Consumer<org.hibernate.persister.entity.EntityPersister>)andMappingMetamodel.streamEntityDescriptors()insteaduseNaturalIdLoadAccess.using(Map)withMap.of(), which is slightly more typesafeuseMap.of()insteadNo longer used.This operation is no longer called by Hibernate.Hibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here (generally),PluralAttributeMappingRead-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getElementDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getIdentifierDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getIndexDescriptor()Read-by-position makes this irrelevant. Currently still used bySQLQueryParserHibernate is moving away fromType. Corresponding mapping metamodel calls should be used instead - here,PluralAttributeMapping.getKeyDescriptor()No longer used.No longer used. SeeDeleteCoordinatorStandardHibernate no longer uses aliases to read from result setsWith no replacement.Hibernate no longer uses aliases to read from result setsby the supertypesNo longer used. SeeAbstractEntityPersister.getDeleteCoordinator()No longer used. SeeAbstractEntityPersister.getUpdateCoordinator()Hibernate no longer uses aliases to read from result setsHibernate no longer uses aliases to read from result setsHibernate no longer uses aliases to read from result setsthis method is no longer usedOnly ever used from places where we really want to useSelectStatement(select generator)InsertSelectStatementUpdateStatementDeleteStatement
No longer used. SeeUpdateCoordinatorHibernate no longer uses aliases to read from result setsthis method is no longer usedNo longer used. SeeMutationExecutorServiceWith no replacementWith no replacementNo longer useduseFetchable.isSelectable()instead.With no replacementNo longer usedWith no replacementThis feature is no longer supportedThis operation is no longer called by Hibernate.UseEntityPersister.getValue(java.lang.Object, int)insteadUseEntityPersister.getValues(java.lang.Object)insteadUseEntityPersister.canReadFromCache()and/orEntityPersister.canWriteToCache()depending on needUseSelectableMapping.getSelectionExpression()insteadUseEntityMappingType.getDiscriminatorValue()insteaduseEntityMutationTarget.getInsertDelegate()insteadNo longer used.Replaced with#arrayIncludes(Expression, T[])Replaced with#arrayIncludes(T[], Expression)org.hibernate.query.criteria.HibernateCriteriaBuilder.arrayContainsAllNullable(Expression<T[]>, T[]) Replaced with#arrayIncludesNullable(Expression, T[])org.hibernate.query.criteria.HibernateCriteriaBuilder.arrayContainsAllNullable(T[], Expression<T[]>) Replaced with#arrayIncludesNullable(T[], Expression)Replaced with#arrayIntersects(Expression, T[])Replaced with#arrayIntersects(T[], Expression)Replaced with#arrayIntersectsNullable(Expression, T[])Replaced with#arrayIntersectsNullable(T[], Expression)useQueryProducer.createQuery(String, Class),QueryProducer.createSelectionQuery(String, Class), orQueryProducer.createMutationQuery(String)depending on intentionUseSelfRenderingSqmFunction.getFunctionRenderer()insteadDon't use this method. It has no effect.This method is no longer usedthis is never called, and luckily so, because it's not null-safesinceJdbcObserveris deprecatedthis is no longer called, and unnecessary, since the needed services are now available viaJdbcSessionContext.getJdbcServices()exposing this here seems to kinda defeat the purpose of this SPIUseElasticsearchVersion.majorOptional()instead.UseKeyContext.asIntegerPositiveOrZeroOrNegative()instead.UseKeyContext.asLongPositiveOrZeroOrNegative()instead.UsePredicateDefinitionContext.params()instead.UsePredicateDefinitionContext.params()instead.UsePredicateDefinitionContext.params()instead.UsePredicateDefinitionContext.params()instead.UseRangePredicateMatchingStep.within(Range)instead.UseRangePredicateMatchingStep.within(Range, ValueModel)instead.Use.bool().with(...)instead.UseSearchPredicateFactory.nested(String)instead.Use.composite().from( dslFinalStep1, dslFinalStep2 ).as( transformer )instead.Use.composite().from( projection1, projection2 ).as( transformer )instead.Use.composite().from( dslFinalSteps ).asList( transformer )instead.Use.composite().from( projections ).asList( transformer )instead.Use.composite().from( dslFinalStep ).as( transformer )instead.Use.composite().from( projection ).as( transformer )instead.Use.composite().from( dslFinalStep1, dslFinalStep2, dslFinalStep3 ).as( transformer )instead.Use.composite().from( projection1, projection2, projection3 ).as( transformer )instead.UseSearchProjectionFactory.field(String, ValueModel)instead.UseVersion.versionString()instead.UseFromDocumentValueConverterandFromDocumentValueConvertContextinstead.UseToDocumentFieldValueConverterandToDocumentFieldValueConvertContextinstead.UseSearchScope.massIndexer(Object)instead.UseSearchScope.workspace(Object)instead.UseBindingContext.params()instead.UseBindingContext.params()instead.UseBindingContext.params()instead.UseBindingContext.params()instead.UseFieldProjection.valueModel()instead. Note, settingFieldProjection.convert()to non-defaultValueConvert.NOwill result in an exception at runtime, useFieldProjection.valueModel()withValueModel.INDEXinstead.Setting
FieldProjection.valueModel()to any non-default value will take precedence overFieldProjection.convert()defaultValueConvert.YESvalue.UseIndexedEmbedded.name()instead. Note thatIndexedEmbedded.name()does not allow dots.Pass a field name toPropertyMappingStep.indexedEmbedded(String)instead. Note that the name passed to that method does not allow dots.UseAnnotationMappingConfigurationContext.discoverAnnotationsFromReferencedTypes(boolean)on the object returned byAbstractPojoMappingInitiator.annotationMapping()instead.UsePojoMappingDelegate.createPojoScopeForClasses(PojoScopeMappingContext, Collection, PojoScopeTypeExtendedContextProvider)orPojoMappingDelegate.createPojoScopeForEntityNames(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)orPojoMappingDelegate.createPojoAllScope(PojoScopeMappingContext, PojoScopeTypeExtendedContextProvider)instead.Use/implementPojoBootstrapIntrospector.annotationValueHandleFactory()instead.UseFieldProjectionBinder.valueModel(ValueModel)instead.UseProjectionBindingContext.param(String, Class)instead.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).add(...)on the result.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).addOrUpdate(...)on the result.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).addOrUpdateOrDelete(...)on the result.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).delete(...)on the result.UsetypeIfIncludedOrNull(typeIdentifier)instead, then (if non-null).updateAssociationInverseSide(...)on the result.UseValueHandleFactory.usingJavaLangReflect()instead.With no real replacementWith no real replacementUseSessionBuilder.tenantIdentifier(Object)insteadThere is no plan to remove this operation, but its use should be avoided sinceFilterDefinitionis an SPI type, and so this operation is a layer-breaker.There is no plan to remove this operation, but its use should be avoided sinceSessionFactoryOptionsis an SPI type, and so this operation is a layer-breaker.useSharedSessionBuilder.connectionHandlingMode()instead.No longer usedNo longer usedNo longer usedUseAbstractSqlAstTranslator.getDual()insteadUse the updated signatureNo longer used.Will be removed. Use the other methods to visit each operation.Will be removed. Use the other methods to visit each operation.UseStatelessSessionBuilder.tenantIdentifier(Object)insteadNo longer used, seeSchemaToolingSettings.HBM2DDL_FILTER_PROVIDERUseNonIdentifierAttribute.isDirtyCheckable()insteadnot appropriate for named enum or array typesnot appropriate for named enum or array typesnot appropriate for named enum or array types, useDdlType.getTypeName(Size, Type, DdlTypeRegistry)insteadnot appropriate for named enum or array types, useDdlType.getTypeName(Size, Type, DdlTypeRegistry)insteadnot appropriate for named enum or array types, useDdlTypeRegistry.getTypeName(int, Size, Type)insteadnot appropriate for named enum or array types, useDdlTypeRegistry.getTypeName(int, Size, Type)insteadThis operation is not very typesafe, and we're migrating away from its useThis simply isn't a very sensible place to hang theServiceRegistryThis operation is not very typesafe, and we're migrating away from its useIs not called anymoreSince 5.2. Planned for removal. UseAnnotationIgnoreOptions.ignoreAnnotations(boolean)instead.Since 6.1. Planned for removal. Use eitherPropertyTarget.field(String)orPropertyTarget.getter(String)instead.Planned for removal, useBaseHibernateValidatorConfiguration.locales(Set)instead.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfiguration.getClassAllowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0UseConfiguration.serialAllowList()instead. To be removed in 14.0.since 12.0. To be removed in Infinispan 14.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0since 11.0. To be removed in 14.0. UseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)andRemoteCacheConfigurationBuilder.nearCacheMaxEntries(int)instead.Since 12.0, does nothing and will be removed in 15.0UseConfigurationChildBuilder.addJavaSerialAllowList(String...)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0useRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cacheuseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cachesince 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)instead.since 12.0 to be removed in 15.0. UseSslConfigurationBuilder.trustStoreFileName(String)and pass pem toSslConfigurationBuilder.trustStoreType(String).since 12.0. To be removed in Infinispan 14. UseConfigurationBuilder.transactionTimeout(long, TimeUnit)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionMode(TransactionMode)Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0UseClientListenerNotifier.allowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfigurationProperties.setJavaSerialAllowList(String)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, will be removed in 15.0Since 14.0. UseRemoteCache.getRemoteCacheContainer()instead.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.useBasicCache.continuousQuery()instead.replaced byMediaType.fromString(java.lang.String)UseMediaType.getParameters()andMediaType.getTypeSubtype()to build a custom String representation.Since 13.0, with no replacement.Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacment.Since 13.0 without replacement.Since 13.0, without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertTextToUrlEncoded(Object, MediaType) Since 13.0, without replacement.since 13.0 without replacement.Since 13.0 without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertUrlEncodedToText(Object, MediaType) Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacement.UseBase16Codec.decode(String)instead.Since 13.0, without replacement.Since 13.0 without replacement.since 11To be removed in Infinispan 10.0 without replacement.since 11.0. This method will be removed in next major version. To find out if a query uses projections useQuery.hasProjections()since 10.1. This will be removed in 12. It's closest replacement isQueryResult.hitCount()which returns an optional long.useBasicCache.query(String)insteadsince 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.replaced byQueryResult.count()useBasicCache.continuousQuery()instead.this may be removed in a future release in favor of creating anAuthenticationContextand using aContextualModelControllerClientthis may be removed in a future release in favor of creating anAuthenticationContextand using aContextualModelControllerClientUseModelNode.add(ValueExpression)instead.UseModelNode.set(ValueExpression)instead.UseModelNode.set(String,ValueExpression)instead.will be removed in future versionwill be removed in future versionwill be removed in future versionPlease use EJBClientContext.Builder to manipulate the EJBClientInterceptors.Compatibility bridge, remove at Final.To log a message with parameters, usingLogger.debugv(String, Object...)is recommended.To log a message with parameters, usingLogger.debugv(Throwable, String, Object...)is recommended.To log a message with parameters, usingLogger.errorv(String, Object...)is recommended.To log a message with parameters, usingLogger.errorv(Throwable, String, Object...)is recommended.To log a message with parameters, usingLogger.fatalv(String, Object...)is recommended.To log a message with parameters, usingLogger.fatalv(Throwable, String, Object...)is recommended.UseLogger.getMessageLogger(Lookup,Class,String)instead to avoid errors in modular environments.UseLogger.getMessageLogger(Lookup,Class,String,Locale)instead to avoid errors in modular environments.To log a message with parameters, usingLogger.infov(String, Object...)is recommended.To log a message with parameters, usingLogger.infov(Throwable, String, Object...)is recommended.To log a message with parameters, usingLogger.logv(Level, String, Object...)is recommended.To log a message with parameters, usingLogger.logv(Level, Throwable, String, Object...)is recommended.To log a message with parameters, usingLogger.tracev(String, Object...)is recommended.To log a message with parameters, usingLogger.tracev(Throwable, String, Object...)is recommended.To log a message with parameters, usingLogger.warnv(String, Object...)is recommended.To log a message with parameters, usingLogger.warnv(Throwable, String, Object...)is recommended.UseMessages.getBundle(Lookup,Class)instead to avoid errors in modular environments.UseMessages.getBundle(Lookup,Class,Locale)instead to avoid errors in modular environments.escaping message values is not required per RFC5424 and is no longer supported in this handlerescaping message values is not required per RFC5424 and is no longer supported in this handlerUseServiceBuilder.provides(ServiceName...)instead. This method will be removed in a future release.UseServiceBuilder.requires(ServiceName)instead. This method will be removed in a future release.Stability monitors are unreliable - do not use them. This method will be removed in a future release.this method will be removed in a future releasethis method will be removed in a future releaseUseServiceController#provides()instead. This method will be removed in a future release.UseServiceController#provides()instead. This method will be removed in a future release.this method will be removed in a future releaseUseServiceController#missing()instead. This method will be removed in a future release.this method will be removed in a future releaseThis method will be removed in a future release.Stability monitors are unreliable - do not use them. This method will be removed in a future release.UseServiceTarget.addService()instead. This method will be removed in a future release.UseServiceTarget.addService()instead. This method will be removed in a future release.Stability monitors are unreliable - do not use them. This method will be removed in a future release.Not used: Deprecated in the original org.apache.tomcat.util.http.ServerCookie class.See jakarta.xml.bind.JAXBContext#createValidator().This method is deprecated as of JAXB 2.0 - please use the newSecureUnmarshaller.getSchema()API.since JAXB2.0, please seeSecureUnmarshaller.getSchema()Deprecated by CORBA 2.2.Deprecated by CORBA 2.2.Deprecated by Portable Object AdapterUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse the new DynAnyFactory API insteadUse a combination of create_recursive_tc and create_sequence_tc insteaduseresolve_initial_references.Deprecated by CORBA 2.2.Deprecated by CORBA 2.2.Deprecated by CORBA 2.2.Deprecated by CORBA 2.2.use set_exception()use operation()use the methodargumentsuse the methodset_resultreplaced by theReporter.error(String, Throwable)method.Replaced byMarker.hasReferences().UseSingleton.getSingletonState()instead.UseSingleton.getSingletonState()instead.UseSingleton.getSingletonState()instead.Please useHostName.getHostName()instead.Please useHostName.getQualifiedHostName()instead.This configuration is not supported by most providers and will be removed in a future release.can be ommited - kerberos based authentication mechanism obtains credential himselfThis configuration is not supported by most providers and will be removed in a future release.This configuration is not supported by most providers and will be removed in a future release.UseInet.getResolved(java.net.URI, int)withSocket(InetAddress, int)instead.UseInet.getResolved(java.net.URI, int)instead.This configuration is not supported by most providers and will be removed in a future release.UseURI.getHost()instead.This configuration is not supported by most providers and will be removed in a future release.UseURI.getPort()instead.This configuration is not supported by most providers and will be removed in a future release.UseURI.getScheme()instead.This configuration is not supported by most providers and will be removed in a future release.org.wildfly.security.auth.jaspi.impl.JaspiAuthenticationContext.newInstance(SecurityDomain, boolean) UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)instead.UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)instead.UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)instead.Transition method; remove before GA.UseScoped.runAsSupplier(Supplier)instead.UseScoped.runAsSupplierEx(ExceptionSupplier)instead.UseScoped.runAsFunction(Function, Object)instead.UseScoped.runAsFunctionEx(ExceptionFunction, Object)instead.Transition method; remove before GA.useCredential.verify(Supplier, Evidence)insteadUseEvidence.getDefaultPrincipal()orEvidence.getDecodedPrincipal()instead.accepted issuers are automatically set when creating the trust managerSuperseded byResourceDescriptor.Configurator.requireChildResources(Set).Superseded byResourceDescriptor.getOperationTransformation(String)Superseded byResourceDescriptor.getOperationTransformation(String).
-
Deprecated ConstructorsConstructorDescriptionsince 2.12 Use the constructor that takes
TokenFilter.Inclusionargument instead.com.fasterxml.jackson.core.filter.FilteringParserDelegate(JsonParser, TokenFilter, boolean, boolean) Since 2.16. UseContentReference(boolean, Object, ErrorReportConfiguration)instead.Since 2.16. UseContentReference(boolean, Object, int, int, ErrorReportConfiguration)instead.Since 2.10in 2.16. Use the Separators API instead.in 2.16. Use the Separators API instead.in 2.16. Use the Separators API instead.Since 2.17 use new canonical constructorUse variant that takes group and artifact idsSince 2.9Since 2.16, use variant that takesCacheProviderinstead.Since 2.10in 2.12, remove from 3.0in 2.12, remove from 3.0Since 2.9Since 2.11 use factory method insteadsince 2.11in 2.9 (remove from 3.0)Since 2.15Since 2.9since 2.16since 2.16Since 2.10.1Since 2.17Since 2.7 use constructor that takesJavaTypeinsteadSince 2.6 use variant takes type argumentsSince 2.7Since 2.7 Use variant that takesJsonParserSince 2.7 Use variant that takesJsonParserSince 2.7Since 2.7Since 2.7 Use variant that takesJsonParserinsteadSince 2.7 Use variant that takesJsonParserinsteadSince 2.7 Use variant that takesJsonParserinsteadSince 2.7 Use variant that takesJsonParserinsteadSince 2.15 (not used)Since 2.15 (not used)Since 2.10 use variant that takesPolymorphicTypeValidatorSince 2.10Since 2.6Since 2.6since 2.6: use the overloaded method that takes 'unwrapSingle'Since 2.6 Use variants that either take 'src', or do NOT pass BeanPropertysince 2.6Since 2.16Since 2.16Since 2.12in 2.12, remove from 3.0// since 2.9in 2.12, remove from 3.0since 2.14Since 2.1, use constructor that takes TypeFactory.io.undertow.server.handlers.proxy.ProxyHandler(ProxyClient, int, HttpHandler, boolean, boolean, int) This constructor will be removed in a future version. Please useCookie.Builderinstead.This constructor will be removed in a future version. Please useCookie.Builderinstead.This constructor will be removed in a future version. Please useCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.This constructor will be removed in a future version. Please useNewCookie.Builderinstead.UseQueueConfiguration.of(String)instead.UseQueueConfiguration.of(String)instead.UseQueueConfiguration.of(QueueConfiguration)instead.UseQueueConfiguration.of(SimpleString)instead.UseSimpleString.of(byte[])instead.UseSimpleString.of(char)instead.UseSimpleString.of(String)instead.UseStructuredDataId(String, String, String[], String[])instead.UseDERExternal(DERSequence)instead.UseDLExternal(DLSequence)instead.use method taking Extensionsuse method taking ASN1GeneralizedTime and Extensionsuse method taking Extensionsuse getInstance()use X500Name method.use constructor which takes orderBitLength to guarantee correct encoding.use constructor which takes orderBitLength to guarantee correct encoding.use constructor which takes orderBitLength to guarantee correct encoding.use the getInstance() method that takes a style.create the extension using org.bouncycastle.cert.X509ExtensionUtilscreate the extension using org.bouncycastle.cert.X509ExtensionUtilsuse KeyPurposeId[] constructor.use X500Name constructor.use CertPolicyId constructors.use PolicyQualifierInfo.getInstance()use SubjectPublicKeyInfo.getInstance()use Extensionsuse Extensionsuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse an ordered constructor! The hashtable ordering is rarely correctuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse X500Name, X500NameBuilderuse X500Name.getInstance()use AsymmetricKeyParameteruse the constructor on DefaultBufferedBlockCipher.use AESEngine.newInstance()use CBCBlockCipherMacuse CBCBlockCipherMacuses incorrect pad for SHA-512 and SHA-384 use HMac.use the CBCBlockCipher.newInstance() static method.use the CCMBlockCipher.newInstance() static method.use the equivalent CFBBlockCipher.newInstance() static method.use the GCMBlockCipher.newInstance() static method.use the CBCBlockCipher.newInstance() static method.use newInstance() method.use constructor taking order/cofactoruse constructor taking order/cofactoruse constructor taking order/cofactorprovide an AlgorithmIdentifier.use getInstance()use getInstance()use getInstance()use getInstance()use getInstance()use the SHAKE only version.use constructor that takes ExtensionThis constructor will be removedprovide aDatabaseVersionUseOracle12cGetGeneratedKeysDelegate(EntityPersister)instead.currently used by Hibernate Reactive This version of the constructor should handle the case in which we do actually have the option to access the DatabaseMetaData, but since Hibernate Reactive is currently not making use of it we take a shortcut.in favor ofSize(Integer, Integer, Long)in favor ofSize(Integer, Integer, Long)UseBasicSelectingDelegate(EntityPersister)instead.UseInsertReturningDelegate(EntityPersister, EventType)instead.UseSybaseJConnGetGeneratedKeysDelegate(EntityPersister)instead.This constructor will be removedthis constructor does not carry information about the query which caused the failurethis constructor does not carry information about the query which caused the failurethis constructor does not carry information about the query which caused the failurewas previously used for Criteria. UseSqmDeleteStatement(Class,NodeBuilder)insteadwas previously used for HQL. UseSqmDeleteStatement(NodeBuilder)insteadUseSqmFkExpression(SqmEntityValuedSimplePath)instead.was previously used for HQL. UseSqmUpdateStatement(NodeBuilder)insteadwas previously used for Criteria. UseSqmUpdateStatement(Class, SqmCriteriaNodeBuilder)instead.this constructor does not carry information about the query which caused the failurethis constructor does not carry information about the query which caused the failurethis constructor does not carry information about the query which caused the failureUseAbstractPojoMappingImplementor. This constructor is only present for backwards compatibility, for mappers that expose a custom entity reference type.SinceNavigablePath.FullPathCalculatoris no longer usedfilterJdbcParametersis no longer usedfilterJdbcParametersis no longer usedfilterJdbcParametersis no longer usedfilterJdbcParametersis no longer usedfilterJdbcParametersis no longer usedfilterJdbcParametersis no longer usedSeePojoInstantiatorSeePojoInstantiatorSeePojoInstantiatoruseValueManagedReference(Object)instead. This constructor will be removed in the future.useValueManagedReferenceFactory(Object)instead. This constructor will be removed in the future.UseSSLSaslClientFactory(Supplier, SaslClientFactory)to avoid problems where a TLS client is acting as a SASL server.UseSSLSaslServerFactory(Supplier, SaslServerFactory)to avoid problems where a TLS server is acting as a SASL client.
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 2.10 use
JsonWriteFeature.ESCAPE_NON_ASCIIinsteadSince 2.10 useJsonWriteFeature.QUOTE_FIELD_NAMESinsteadSince 2.10 useJsonWriteFeature.WRITE_NAN_AS_STRINGSinsteadUseStreamWriteFeature.USE_FAST_DOUBLE_WRITERinsteadUseJsonWriteFeature.WRITE_HEX_UPPER_CASEinsteadSince 2.10 useJsonWriteFeature.WRITE_NUMBERS_AS_STRINGSinsteadSince 2.10 useJsonReadFeature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTERinsteadSince 2.10 useJsonReadFeature.ALLOW_MISSING_VALUESinsteadSince 2.10 useJsonReadFeature.ALLOW_NON_NUMERIC_NUMBERSinsteadSince 2.10 useJsonReadFeature.ALLOW_LEADING_ZEROS_FOR_NUMBERSinsteadSince 2.10 useJsonReadFeature.ALLOW_TRAILING_COMMAinsteadSince 2.10 useJsonReadFeature.ALLOW_UNESCAPED_CONTROL_CHARSinsteadSince 2.17 and removed from 3.0 --seeObjectMapper.DefaultTyping.NON_FINAL_AND_ENUMSfor Enum-related usage.Since 2.5: useJsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAINinstead (usingObjectWriter.with(com.fasterxml.jackson.core.JsonGenerator.Feature)).Since 2.8 there are better mechanism for specifying filtering; specifically usingJsonIncludeor configuration overrides.Since 2.9 there are better mechanism for specifying filtering; specifically usingJsonIncludeor configuration overrides (seeObjectMapper.configOverride(Class)}).sinceSession.delete(Object)is deprecatedsinceSession.replicate(Object, ReplicationMode)is deprecatedsinceSession.saveOrUpdate(Object)is deprecateduse operations ofHibernateuseFetchType.EAGERuseFetchType.LAZYuseFetchType.EAGERthis setting no longer has any useful effectuseFetchType.LAZYUseValueModel.INDEXinstead.UseValueModel.MAPPINGinstead.This constant is deprecated and will be removed at the same time as theValueConvertenum is removed. Do not use this value explicitly.configurations are now always permanent by default. Use theCacheContainerAdmin.AdminFlag.VOLATILEflag to obtain the opposite behaviour.UseSingletonServiceBuilderFactory.SERVICE_DESCRIPTORinstead.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead.UseSingletonPolicy.SERVICE_DESCRIPTORinstead.UseSingletonPolicy.SERVICE_DESCRIPTORinstead.no longer used; refer to the actual digest algorithm instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionAs of Jackson 2.0, this annotation has been replaced by
JsonInclude(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.Please useJsonbNillableas another annotation instead. This option will be removed in the future.As of JSR-181 2.0 with no replacement.UseCache.includeLazy()for the sake of typesafety.This was introduced in errorWhenfalse, this annotation has no effect.Whenfalse, this annotation has no effect.this member is currently ignored and has no effectuseGenericGenerator.type()for typesafetyuseNamedNativeQuery.cacheStoreMode()andNamedNativeQuery.cacheRetrieveMode()sinceCacheModeTypeis deprecatedCalling database procedures and functions throughNativeQueryis no longer supported; useNamedStoredProcedureQueryinstead.useNamedQuery.cacheStoreMode()andNamedQuery.cacheRetrieveMode()sinceCacheModeTypeis deprecatedWhenfalse, this annotation has no effect.useSQLDelete.verify()with anExpectationclassuseSQLDeleteAll.verify()with anExpectationclassuseSQLInsert.verify()with anExpectationclassuseSQLUpdate.verify()with anExpectationclassuseCheck.useCommentThis setting has no effect in Hibernate 6useSQLInsert.table()to specify the secondary tableuseSQLInsert.table()to specify the secondary tableuseSQLInsert.table()to specify the secondary tableUse@AuditOverride(forClass=SomeEntity.class)instead.UseFieldProjection.valueModel()instead. Note, settingFieldProjection.convert()to non-defaultValueConvert.NOwill result in an exception at runtime, useFieldProjection.valueModel()withValueModel.INDEXinstead.Setting
FieldProjection.valueModel()to any non-default value will take precedence overFieldProjection.convert()defaultValueConvert.YESvalue.UseIndexedEmbedded.name()instead. Note thatIndexedEmbedded.name()does not allow dots.
JAnnotationArrayMember.annotate(java.lang.Class<? extends java.lang.annotation.Annotation>)