Uses of Annotation Type
org.jdbi.v3.meta.Beta
Packages that use Beta
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
argument
classes translate Java types into JDBC parameters.
The
config
classes define a configuration registry starting from
each Jdbi
instance.
The
extension
classes allow you to extend Jdbi
's
functionality by declaring interface types that may attach to Handle
instances.
The
statement
package provides most of the Fluent API
to drive statement execution.
The
postgres
plugin provides improved support for
java.time
, hstore
, uuid
, and enum
types when configured with a recent Postgres database server.
The
sqlobject.customizer
package provides annotations
that customize the execution of a statement.Jdbi test support for Testcontainer based JDBC containers.
-
Uses of Beta in org.jdbi.v3.core
Classes in org.jdbi.v3.core with annotations of type BetaModifier and TypeClassDescriptionfinal class
An immutable sql statement string created from multiple tokens in order to write inline sql statements in an easy-to-read fashion spread out over multiple lines of code.Methods in org.jdbi.v3.core with annotations of type BetaModifier and TypeMethodDescriptionHandle.afterCommit
(Runnable afterCommit) Execute an action the next time this Handle commits, unless it is rolled back first.Handle.afterRollback
(Runnable afterRollback) Execute an action the next time this Handle rolls back, unless it is committed first. -
Uses of Beta in org.jdbi.v3.core.argument
Classes in org.jdbi.v3.core.argument with annotations of type BetaModifier and TypeInterfaceDescriptionstatic interface
ArgumentFactory extension interface that allows preparing arguments for efficient batch binding.static interface
QualifiedArgumentFactory extension interface that allows preparing arguments for efficient batch binding.Methods in org.jdbi.v3.core.argument with annotations of type BetaModifier and TypeMethodDescriptionArguments.prepareFor
(QualifiedType<?> type) Obtain a prepared argument function for given type in the given context. -
Uses of Beta in org.jdbi.v3.core.async
Classes in org.jdbi.v3.core.async with annotations of type Beta -
Uses of Beta in org.jdbi.v3.core.codec
Classes in org.jdbi.v3.core.codec with annotations of type BetaModifier and TypeInterfaceDescriptioninterface
Codec<T>
A Codec provides a convenient way for a bidirectional mapping of an attribute to a database column.class
CodecFactory provides column mappers and arguments for bidirectional mapping types to database columns.static final class
Fluent Builder forCodecFactory
. -
Uses of Beta in org.jdbi.v3.core.config
Classes in org.jdbi.v3.core.config with annotations of type BetaMethods in org.jdbi.v3.core.config with annotations of type BetaModifier and TypeMethodDescriptiondefault This
Configurable.registerCodecFactory
(CodecFactory codecFactory) Convenience method to register aCodecFactory
. -
Uses of Beta in org.jdbi.v3.core.extension
Classes in org.jdbi.v3.core.extension with annotations of type BetaModifier and TypeClassDescriptionfinal class
Marks that a specific extension could not be created.Methods in org.jdbi.v3.core.extension with annotations of type BetaModifier and TypeMethodDescriptionboolean
Extensions.isAllowProxy()
Returns whether Proxy classes are allowed to be used.void
Extensions.onCreateProxy()
Throw if proxy creation is disallowed.Extensions.setAllowProxy
(boolean allowProxy) Allow usingProxy
to implement extensions.default void
ExtensionHandler.warm
(ConfigRegistry config) Called after the method handler is constructed to pre-initialize any important configuration data structures. -
Uses of Beta in org.jdbi.v3.core.mapper.freebuilder
Classes in org.jdbi.v3.core.mapper.freebuilder with annotations of type BetaModifier and TypeClassDescriptionclass
Configures support for an FreeBuilder generatedBuilder)
value type. -
Uses of Beta in org.jdbi.v3.core.mapper.immutables
Classes in org.jdbi.v3.core.mapper.immutables with annotations of type BetaModifier and TypeClassDescriptionclass
-
Uses of Beta in org.jdbi.v3.core.statement
Classes in org.jdbi.v3.core.statement with annotations of type BetaModifier and TypeInterfaceDescriptioninterface
Listener interface for theStatementContext
.class
Configuration forStatementException
and subclasses behavior.Methods in org.jdbi.v3.core.statement with annotations of type BetaModifier and TypeMethodDescriptionBinds named parameters from object properties on the argument.Binds named parameters from object properties on the argument.SqlStatement.bindPojo
(Object pojo, GenericType<?> type) Binds named parameters from object properties on the argument.Binds named parameters from object properties on the bean argument, with the given prefix.Binds named parameters from object properties on the bean argument, with the given prefix.SqlStatement.bindPojo
(String prefix, Object pojo, GenericType<?> type) Binds named parameters from object properties on the bean argument, with the given prefix.<T> T
CachingSqlParser.cacheStats()
Returns cache statistics for the internal sql parser cache.<T> T
SqlStatements.cacheStats()
Returns cache statistics for the internal template cache.SqlStatement.defineNamedBindings()
Define all bound arguments that don't already have a definition with a boolean indicating their presence.SqlStatements.getQueryTimeout()
void
SqlStatements.setAttachAllStatementsForCleanup
(boolean attachAllStatementsForCleanup) Sets whether all statements created will automatically attached to the correspondingHandle
object automatically.SqlStatements.setQueryTimeout
(Integer seconds) Jdbi does not implement its own timeout mechanism: it simply callsStatement.setQueryTimeout(int)
, leaving timeout handling to your jdbc driver.SqlStatements.setTemplateCache
(JdbiCacheBuilder cacheBuilder) Sets the cache used to avoid repeatedly parsing SQL statements.Constructors in org.jdbi.v3.core.statement with annotations of type BetaModifierConstructorDescriptionColonPrefixSqlParser
(JdbiCacheBuilder cacheBuilder) HashPrefixSqlParser
(JdbiCacheBuilder cacheBuilder) -
Uses of Beta in org.jdbi.v3.guava.codec
Classes in org.jdbi.v3.guava.codec with annotations of type BetaModifier and TypeClassDescriptionclass
An extendedCodecFactory
which can resolve Codecs for subtypes. -
Uses of Beta in org.jdbi.v3.postgis
Classes in org.jdbi.v3.postgis with annotations of type Beta -
Uses of Beta in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres with annotations of type Beta -
Uses of Beta in org.jdbi.v3.sqlobject.customizer
Classes in org.jdbi.v3.sqlobject.customizer with annotations of type BetaModifier and TypeClassDescription@interface
Defines all bound arguments that don't already have a definition. -
Uses of Beta in org.jdbi.v3.testing.junit5.tc
Classes in org.jdbi.v3.testing.junit5.tc with annotations of type BetaModifier and TypeClassDescriptionfinal class
Support Testcontainer JDBC containers as database for Jdbi tests.final class
Describes the parameters needed to create a new test-specific database or schema to isolate a test.