java.lang.Object
is.codion.dbms.derby.DerbyDatabaseFactory
- All Implemented Interfaces:
DatabaseFactory
Provides derby database implementations
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DerbyDatabaseFactory
public DerbyDatabaseFactory()
-
-
Method Details
-
driverCompatible
- Specified by:
driverCompatible
in interfaceDatabaseFactory
- Parameters:
driverClassName
- the driver class name- Returns:
- true if this database factory is compatible with the given driver
-
create
- Specified by:
create
in interfaceDatabaseFactory
- Parameters:
url
- the jdbc url- Returns:
- a new
Database
implementation based on the given jdbc url.
-
shutdown
Shuts down the given database instance, assuming it is embedded- Parameters:
database
- the database to shutdown
-