EmbeddedDatabaseConnection

Connection details for embedded databases compatible with R2DBC.

Author

Mark Paluch

Stephane Nicoll

Since

2.5.0

Entries

Link copied to clipboard

No Connection.

Link copied to clipboard

H2 Database Connection.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Returns the most suitable EmbeddedDatabaseConnection for the given class loader.
Link copied to clipboard
open fun getUrl(databaseName: String): String
Returns the R2DBC URL for the connection using the specified databaseName.
Link copied to clipboard
open fun isEmbedded(connectionFactory: ConnectionFactory): Boolean
Convenience method to determine if a given connection factory represents an embedded database type.
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.