Class OraclePlugin
java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.oracle12.OraclePlugin
- All Implemented Interfaces:
JdbiPlugin
Jdbi plugin for Oracle databases.
Oracle does not support Types.OTHER for untyped null values,
which is the default in Jdbi. This plugin configures the untyped null
argument to use Types.NULL instead, which Oracle accepts.
Install this plugin when using Jdbi with an Oracle database to avoid errors when binding null values without an explicit type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface JdbiPlugin
JdbiPlugin.Singleton -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeJdbi(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.Methods inherited from class JdbiPlugin.Singleton
equals, hashCodeMethods inherited from interface JdbiPlugin
customizeConnection, customizeHandle
-
Constructor Details
-
OraclePlugin
public OraclePlugin()
-
-
Method Details
-
customizeJdbi
Description copied from interface:JdbiPluginConfigure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Parameters:
jdbi- the jdbi to customize
-