public interface Layer
Modifier and Type | Field and Description |
---|---|
static int |
DEF_MAX_POOL_SIZE |
static int |
DEF_MAX_STRING_LENGTH |
static int |
DEF_MIN_POOL_SIZE |
static long |
DEF_POOL_CHECK_INTERVAL |
static long |
DEF_POOL_TIMEOUT |
static String |
PROP_CATALOG |
static String |
PROP_CHECK_STATEMENT |
static String |
PROP_CONNECTION_TIMEOUT |
static String |
PROP_CREATE_PAUSE_ON_ERROR |
static String |
PROP_CREATE_RETRY_ON_ERROR |
static String |
PROP_DRIVER |
static String |
PROP_ISOLATION
Property for transaction isolation, supported values are READ_COMMITTED, REPEATABLE_READ, and SERIALIZABLE.
|
static String |
PROP_JNDI |
static String |
PROP_LAYERCLASS |
static String |
PROP_MAX_POOL_SIZE |
static String |
PROP_MAX_STRING_LENGTH |
static String |
PROP_MIN_POOL_SIZE |
static String |
PROP_PASSWORD |
static String |
PROP_POOL_CHECK_INTERVAL |
static String |
PROP_POOL_TIMEOUT |
static String |
PROP_SCHEMA |
static String |
PROP_URL |
static String |
PROP_USER |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
convertConfiguration(ConnectionConfiguration config) |
ConnectionConfiguration |
convertConfiguration(Map<String,String> properties) |
de.espirit.or.CounterGenerator |
createIdGenerator(String schemaName,
boolean useLowerCase,
de.espirit.or.ConnectionManager connectionManager)
Create a new id generator for this layer.
|
de.espirit.or.SchemaSynchronizer |
createSchemaSynchronizer() |
CaseMode |
getCaseMode() |
CaseMode |
getCaseModeForDbName()
Case mode for database name.
|
String |
getCatalog()
Return the catalog (database) assigned with this layer.
|
Map<String,String> |
getDefaultParameters(String name)
Return a map of jdbc parameters to default values for this layer based on
name . |
String |
getId() |
int |
getJdbcTypeCode(Column column) |
String |
getProperty(String name) |
String |
getSchema()
Return the database schema assigned with this Multiproject-Layer layer.
|
de.espirit.or.SQLBuilder |
getSQLBuilder() |
char |
getStringDelimiter()
The character to delimit string constants in sql expressions.
|
void |
init(Map<String,String> props) |
String |
testLayerParameters(ConnectionConfiguration config,
ClassLoader classLoader) |
static final String PROP_LAYERCLASS
static final String PROP_USER
static final String PROP_PASSWORD
static final String PROP_CHECK_STATEMENT
static final String PROP_MIN_POOL_SIZE
static final String PROP_MAX_POOL_SIZE
static final String PROP_POOL_CHECK_INTERVAL
static final String PROP_POOL_TIMEOUT
static final String PROP_CONNECTION_TIMEOUT
static final String PROP_DRIVER
static final String PROP_SCHEMA
static final String PROP_CREATE_RETRY_ON_ERROR
static final String PROP_CREATE_PAUSE_ON_ERROR
static final String PROP_URL
static final String PROP_JNDI
static final String PROP_MAX_STRING_LENGTH
static final String PROP_CATALOG
static final int DEF_MAX_STRING_LENGTH
static final int DEF_MAX_POOL_SIZE
static final int DEF_MIN_POOL_SIZE
static final long DEF_POOL_CHECK_INTERVAL
static final long DEF_POOL_TIMEOUT
static final String PROP_ISOLATION
String getId()
de.espirit.or.SchemaSynchronizer createSchemaSynchronizer()
de.espirit.or.SQLBuilder getSQLBuilder()
String getCatalog()
String getSchema()
@NotNull CaseMode getCaseModeForDbName()
de.espirit.or.CounterGenerator createIdGenerator(String schemaName, boolean useLowerCase, de.espirit.or.ConnectionManager connectionManager)
Map<String,String> getDefaultParameters(@NotNull String name)
name
.name
- the name of this layer instance.@Nullable String testLayerParameters(ConnectionConfiguration config, ClassLoader classLoader)
Map<String,String> convertConfiguration(ConnectionConfiguration config)
ConnectionConfiguration convertConfiguration(Map<String,String> properties)
int getJdbcTypeCode(Column column)
char getStringDelimiter()
'
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500