EmbeddedDatabaseConfigurer for an H2 embedded database instance.
Call getInstance() to get the singleton instance of this class.
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private static H2EmbeddedDatabaseConfigurer |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | configureConnectionProperties(ConnectionProperties
connection properties to configure properties, String the name of the embedded database databaseName)Implements org. |
| public static synchronized H2EmbeddedDatabaseConfigurer | Returns: the configurer instanceGet the singleton |
| driverClass | back to summary |
|---|---|
| private final Class<? extends Driver> driverClass | |
| instance | back to summary |
|---|---|
| private static H2EmbeddedDatabaseConfigurer instance
| |
| H2EmbeddedDatabaseConfigurer | back to summary |
|---|---|
| private H2EmbeddedDatabaseConfigurer(Class<? extends Driver> driverClass) | |
| configureConnectionProperties | back to summary |
|---|---|
| public void configureConnectionProperties(ConnectionProperties properties, String databaseName) Implements org. Configure the properties required to create and connect to the embedded database.
| |
| getInstance | back to summary |
|---|---|
| public static synchronized H2EmbeddedDatabaseConfigurer getInstance() throws ClassNotFoundException Get the singleton
| |