public class PdbProperties extends Properties implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOW_COLUMN_DROP
Property to allow column drops on entity updates.
|
static String |
BLOB_BUFFER_SIZE
The blob buffer size property
|
static String |
DRIVER
The database driver.
|
static String |
ENCRYPTED_PASSWORD
The property for using encrypted passwords.
|
static String |
ENCRYPTED_USERNAME
The property for using encrypted usernames.
|
static String |
ENGINE
The engine property
|
static String |
ISOLATION_LEVEL
The default isolation level.
|
static String |
JDBC
The JDBC property name.
|
static String |
MAX_BLOB_SIZE
The maximum blob size property
|
static String |
MAX_IDENTIFIER_SIZE
The maximum identifier size property
|
static String |
MAX_NUMBER_OF_RETRIES
The maximum number of retries.
|
static String |
PASSWORD
The PASSWORD property name.
|
static String |
RECONNECT_ON_LOST
The property of reconnection.
|
static String |
RETRY_INTERVAL
The retry interval.
|
static String |
SCHEMA
Database schema property name.
|
static String |
SCHEMA_POLICY
Schema policy property name.
|
static String |
SECRET_LOCATION
The location of the private key for passwords.
|
static String |
USERNAME
The USERNAME property name.
|
static String |
VARCHAR_SIZE
VARCHAR size property name.
|
defaults| Constructor and Description |
|---|
PdbProperties(boolean useDefaults)
Creates a new instance of
PdbProperties with the default configuration. |
PdbProperties(Properties properties,
boolean useDefaults)
Merges the given properties with the default configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowColumnDrop() |
void |
checkMandatoryProperties()
Method to check the mandatory fields.
|
PdbProperties |
clone() |
boolean |
existsSchema() |
int |
getBlobBufferSize() |
String |
getEngine() |
int |
getIsolationLevel() |
String |
getJdbc() |
int |
getMaxBlobSize() |
int |
getMaxIdentifierSize() |
int |
getMaxRetries() |
String |
getPassword() |
long |
getRetryInterval() |
String |
getSchema() |
String |
getUsername() |
boolean |
isEncryptedPassword() |
boolean |
isEncryptedUsername() |
boolean |
isMaxBlobSizeSet() |
boolean |
isReconnectOnLost() |
boolean |
isSchemaCreate() |
boolean |
isSchemaCreateDrop() |
boolean |
isSchemaDropCreate() |
boolean |
isSchemaNone() |
void |
merge(Properties properties)
Merge properties with the existing.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic static final String JDBC
public static final String USERNAME
public static final String PASSWORD
public static final String VARCHAR_SIZE
public static final String SCHEMA_POLICY
public static final String ENGINE
public static final String SCHEMA
public static final String MAX_IDENTIFIER_SIZE
public static final String MAX_BLOB_SIZE
public static final String BLOB_BUFFER_SIZE
public static final String MAX_NUMBER_OF_RETRIES
public static final String RETRY_INTERVAL
public static final String ISOLATION_LEVEL
public static final String DRIVER
public static final String RECONNECT_ON_LOST
public static final String ENCRYPTED_PASSWORD
public static final String SECRET_LOCATION
public static final String ENCRYPTED_USERNAME
public static final String ALLOW_COLUMN_DROP
public PdbProperties(boolean useDefaults)
PdbProperties with the default configuration.useDefaults - True if default properties are to be set.public PdbProperties(Properties properties, boolean useDefaults)
properties - The properties to merge.useDefaults - True if default properties are to be set.public final void merge(Properties properties)
properties - The properties to merge.public boolean isEncryptedUsername()
public boolean isEncryptedPassword()
public boolean isSchemaCreateDrop()
public boolean isSchemaDropCreate()
public boolean isSchemaCreate()
public boolean isSchemaNone()
public int getMaxIdentifierSize()
public int getMaxBlobSize()
public boolean isMaxBlobSizeSet()
public int getBlobBufferSize()
public int getMaxRetries()
public long getRetryInterval()
public boolean isReconnectOnLost()
public int getIsolationLevel()
public String getJdbc()
public String getUsername()
public String getPassword()
public String getEngine()
public String getSchema()
public boolean existsSchema()
public boolean allowColumnDrop()
public void checkMandatoryProperties()
throws PdbConfigurationException
PdbConfigurationException - If mandatory fields are not set.public PdbProperties clone()
Copyright © 2013. All Rights Reserved.