public class DatabaseBuilder extends Object
DB_CAPABILITIES_PROP) that contains the comma-separated capabilities of the database. Each database type provides its own capabilities (see
DatabaseProviderimplementations}. There are currently two database types available:
DerbyDatabaseProvider. This is the default.
ServiceLoadermechanism to find implementations of
DatabaseProvideron the classpath. In the
getDatabase(String...)method a number of capabilities are passed. The database providers are then searched in (arbitrary) order and the first one that has all required capabilities is returned.
getSupportedDatabases()gives a list of all available databases.
|Modifier and Type||Field and Description|
Environmment variable by which capabilities of the requested database can be defined
|Modifier and Type||Method and Description|
Gets the first database that has all required capabilities.
Gets a list of available databases.
public static final String DB_CAPABILITIES_PROP
public static Database getDatabase(String... aCapabilities)
public static List<DatabaseDescription> getSupportedDatabases()
Copyright © 2022. All rights reserved.