Class H2DatabasePlugin
java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.core.h2.H2DatabasePlugin
- All Implemented Interfaces:
JdbiPlugin
Configure vendor supported types for the H2 Java database implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface JdbiPlugin
JdbiPlugin.SingletonModifier and TypeInterfaceDescriptionstatic classAbstract base class for single-install JdbiPlugins. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeJdbi(Jdbi db) Configure customizations global to any object managed by this Jdbi.Methods inherited from class JdbiPlugin.Singleton
equals, hashCodeMethods inherited from interface JdbiPlugin
customizeConnection, customizeHandleModifier and TypeMethodDescriptiondefault ConnectionConfigure customizations for a newly acquired Connection.default HandlecustomizeHandle(Handle handle) Configure customizations for a new Handle instance.
-
Constructor Details
-
H2DatabasePlugin
public H2DatabasePlugin()
-
-
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:
db- the jdbi to customize
-