public class DerbyDatabaseAdapterFactory extends AbstractDatabaseAdapterFactory
CONFIG_KEY_DATABASE_ADAPTER_NAME, DEFAULT_DATABASE_ADAPTER_NAME
Constructor and Description |
---|
DerbyDatabaseAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
protected DatabaseAdapter |
_createDatabaseAdapter() |
String |
getName()
Gets the symbolic name of this adapter.
|
int |
getPriority() |
createDatabaseAdapter
public DerbyDatabaseAdapterFactory()
public String getName()
DatabaseAdapterFactory
Usually, this matches the JDBC-sub-protocol-name of the database being used (e.g. "derby" or "mysql"), but in case there are multiple adapters for the same database type, they must have a different name.
This symbolic name must be unique. It can be used via the configuration property DatabaseAdapterFactory.CONFIG_KEY_DATABASE_ADAPTER_NAME
to force a certain adapter.
null
, must not be empty and
must not contain spaces.public int getPriority()
protected DatabaseAdapter _createDatabaseAdapter()
_createDatabaseAdapter
in class AbstractDatabaseAdapterFactory
Copyright © 2013–2019. All rights reserved.