public class OracleLiteConnectionCreator extends AbstractOracleConnCreator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OLITE_DRIVER_CLASS |
static java.lang.String |
SUBTYPE_OLITE |
Constructor and Description |
---|
OracleLiteConnectionCreator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionURL(java.util.Properties props)
The default implementation on this abstract class return the
DatabaseProvider.DRIVER_CLASS_REFTYPE property.
|
java.lang.String |
getDriverClassName(java.util.Properties props)
The default implementation on this class returns the
DatabaseProvider.CUSTOM_URL_CLASS_REFTYPE property.
|
java.util.Collection<java.lang.String> |
listAllowedProperties()
Gets a list of the properties that are relevant to this creator.
|
main, setCustomProperties
allowNullPassword, convertToJDBCParameterInfos, getBundle, getConnection, getDriver, getInvalidURLMessage, getJDBCProperties, getLogger, getPropertyOrThrow, hasLength, listJDBCParameterInfos, listRequiredProperties, loadDriver, shouldEncrypt, shouldPromptForPassword, throwMissingPropertyException
public static final java.lang.String OLITE_DRIVER_CLASS
public static final java.lang.String SUBTYPE_OLITE
public java.lang.String getConnectionURL(java.util.Properties props) throws java.sql.SQLException
AbstractConnectionCreator
getConnectionURL
in interface ConnectionCreator
getConnectionURL
in class AbstractConnectionCreator
props
- the properties from the underlying DatabaseProvider
connection definitionjava.sql.SQLException
- if a valid connection URL cannot be created with
the given props.public java.lang.String getDriverClassName(java.util.Properties props) throws java.sql.SQLException
AbstractConnectionCreator
getDriverClassName
in interface ConnectionCreator
getDriverClassName
in class AbstractConnectionCreator
java.sql.SQLException
public java.util.Collection<java.lang.String> listAllowedProperties()
ConnectionCreator
listAllowedProperties
in interface ConnectionCreator
listAllowedProperties
in class AbstractOracleConnCreator
ConnectionCreator.listRequiredProperties()