EmbeddedDatabaseConnection

Connection details for embedded databases.

Author

Phillip Webb

Dave Syer

Stephane Nicoll

Nidhi Desai

Moritz Halbritter

Since

1.0.0

See also

Entries

Link copied to clipboard

No Connection.

Link copied to clipboard

H2 Database Connection.

Link copied to clipboard

Derby Database Connection.

Link copied to clipboard

HSQL Database Connection.

Functions

Link copied to clipboard
Returns the most suitable EmbeddedDatabaseConnection for the given class loader.
Link copied to clipboard
Returns the driver class name.
Link copied to clipboard
Returns the EmbeddedDatabaseType for the connection.
Link copied to clipboard
open fun getUrl(databaseName: String): String
Returns the URL for the connection using the specified databaseName.
Link copied to clipboard
open fun isEmbedded(dataSource: DataSource): Boolean
Convenience method to determine if a given data source represents an embedded database type.
open fun isEmbedded(driverClass: String, url: String): Boolean
Convenience method to determine if a given driver class name and url represent 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.