Deprecated API
Contents
- Terminally Deprecated
- Packages
- Interfaces
- Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
Terminally Deprecated ElementsElementDescriptionshould not be public APIshould not be public APIno longer usedno longer usedno longer useduse
ObjectArgument.of(Object, Integer)factory method for more consistentnullhandlingno longer usedno longer usedno longer usedUseMapCollectors.toMap(Supplier)instead.UseOptionalCollectors.toOptional()instead.Registering plugins implicitly is less reliable. Please register plugins explicitly.ClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsuseMapMappers.setCaseChange(UnaryOperator)instead.UseReflectionMapperUtil.getColumnNames(ResultSet, UnaryOperator)andCaseStrategyto control name capitalizationuseResultIterable.one()orResultIterable.findOne()instead.don't inspect a Binding: keep your own state!don't inspect a Binding: keep your own state!this is expensive to compute, and it's bad practice to inspect a Binding: keep track of your own state!UsePreparedBatch.executePreparedBatch(String...)which has the same functionality but also returns the per-batch modified row counts.useSqlStatements.getSqlLogger()insteadUseSqlLoggerinstead.UseSqlLogger.NOP_SQL_LOGGERinstead.useFreemarkerEngine.instance()for a shared engine insteadthis static method does not respect configuration, useFreemarkerConfig.createLocator()no longer usedRegistering plugins implicitly is less reliable. Please register plugins explicitly.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.UseExtensionConfigurerdirectly.legacy internal APIvaguely named in light of new additions, useBindList.EmptyHandling.NULL_STRINGinsteadUseUseExtensionHandlerCustomizerto mark annotations andExtensionHandlerCustomizationOrderinstead.UseExtensionHandlerdirectly.UseExtensionHandlerCustomizerdirectly.UseExtensionHandlerCustomizerinstances which are returned directly from theExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry).UseExtensionHandlerFactoryinstances directly.UseExtensionHandlerFactoryinstances that are returned from theExtensionFactory.getExtensionHandlerFactories(ConfigRegistry)method.UseUseExtensionHandlerCustomizerinstead and implementExtensionHandlerCustomizerfor the value.UseUseExtensionHandlerandSqlObjectFactory.EXTENSION_IDas the id marker.Registering plugins implicitly is less reliable. Please register plugins explicitly.Registering plugins implicitly is less reliable. Please register plugins explicitly.The default changed to true so this call actually does nothing.
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionUse
SqlLoggerinstead.UseExtensionConfigurerdirectly.UseExtensionHandlerdirectly.UseExtensionHandlerCustomizerdirectly.UseExtensionHandlerFactoryinstances directly.
-
Deprecated ClassesClassDescriptionshould not be public APIshould not be public APIthis should never have been public APIwill be replaced by a pluginuse
SqlStatement.bindMap(Map)insteadthis functionality will remain supported, but this class should not be APIthis functionality will remain supported, but this class should not be APIwill be replaced by pluginwill be replaced by an opt-out plugin to give the core no hardwired behaviorUsegetConfig(Enums.class).setEnumStrategy(BY_NAME)instead.UsegetConfig(Enums.class).setEnumStrategy(BY_ORDINAL)instead.MessageFormatformats integers with decimal separators, e.g.1000→"1,000". This hindsight realization has led us to discourage its use.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.UseExtensionHandlerCustomizerinstances which are returned directly from theExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry).UseExtensionHandlerFactoryinstances that are returned from theExtensionFactory.getExtensionHandlerFactories(ConfigRegistry)method.
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionUse the
org.jdbi.v3.springmodule with Spring 6.x or newer.Use theorg.jdbi.v3.springmodule with Spring 6.x or newer.UseUseExtensionHandlerCustomizerto mark annotations andExtensionHandlerCustomizationOrderinstead.UseUseExtensionHandlerCustomizerinstead and implementExtensionHandlerCustomizerfor the value.UseUseExtensionHandlerandSqlObjectFactory.EXTENSION_IDas the id marker.
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionno longer usedno longer usedno longer usedno longer usedno longer usedno longer usedUse
MapCollectors.toMap(Supplier)instead.UseOptionalCollectors.toOptional()instead.Registering plugins implicitly is less reliable. Please register plugins explicitly.ClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsClasspathSqlLocator.create()an instance instead of using static methodsUseReflectionMapperUtil.getColumnNames(ResultSet, UnaryOperator)andCaseStrategyto control name capitalizationuseResultIterable.one()orResultIterable.findOne()instead.don't inspect a Binding: keep your own state!don't inspect a Binding: keep your own state!this is expensive to compute, and it's bad practice to inspect a Binding: keep track of your own state!UsePreparedBatch.executePreparedBatch(String...)which has the same functionality but also returns the per-batch modified row counts.useSqlStatements.getSqlLogger()insteadthis static method does not respect configuration, useFreemarkerConfig.createLocator()no longer usedRegistering plugins implicitly is less reliable. Please register plugins explicitly.legacy internal APIRegistering plugins implicitly is less reliable. Please register plugins explicitly.Registering plugins implicitly is less reliable. Please register plugins explicitly.The default changed to true so this call actually does nothing.
-
Deprecated ConstructorsConstructorDescriptionuse
ObjectArgument.of(Object, Integer)factory method for more consistentnullhandlinguseMapMappers.setCaseChange(UnaryOperator)instead.useFreemarkerEngine.instance()for a shared engine instead
-
Deprecated Enum ConstantsEnum ConstantDescriptionvaguely named in light of new additions, use
BindList.EmptyHandling.NULL_STRINGinstead