Create a pooled database named "default" with the given driver and url.
Create a pooled database named "default" with the given driver and url.
the database driver class
the database url
the database name
a map of extra database configuration
a configured database
Create an in-memory H2 database.
Create an in-memory H2 database.
the database name (defaults to "default")
a map of extra url options
a map of extra database configuration
a configured in-memory h2 database
Run the given block with a database, cleaning up afterwards.
Run the given block with a database, cleaning up afterwards.
the database driver class
the database url
the database name
a map of extra database configuration
The block of code to run
The result of the block
Run the given block with an in-memory h2 database, cleaning up afterwards.
Run the given block with an in-memory h2 database, cleaning up afterwards.
the database name (defaults to "default")
a map of extra url options
a map of extra database configuration
The block of code to run
The result of the block
Creation helpers for manually instantiating databases.