Package org.jdbi.v3.testing.junit5
Class JdbiExternalPostgresExtension
java.lang.Object
org.jdbi.v3.testing.junit5.JdbiExtension
org.jdbi.v3.testing.junit5.JdbiExternalPostgresExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback
,org.junit.jupiter.api.extension.BeforeEachCallback
,org.junit.jupiter.api.extension.Extension
,org.junit.jupiter.api.extension.ParameterResolver
-
Method Summary
Methods inherited from class org.jdbi.v3.testing.junit5.JdbiExtension
afterEach, attach, beforeEach, externalPostgres, getJdbi, getSharedHandle, h2, installPlugins, openHandle, otjEmbeddedPostgres, postgres, resolveParameter, sqlite, supportsParameter, withConfig, withInitializer, withPlugin, withPlugins
-
Method Details
-
getUrl
Description copied from class:JdbiExtension
Returns a JDBC url representing the data source used by this extension. This url is database-specific and may or may not be used to connect to the data source outside testing code that uses this extension (e.g. theJdbiSqliteExtension
returns a constant uri for all database instances).- Specified by:
getUrl
in classJdbiExtension
- Returns:
- A string representing the JDBC URL.
-