public class OracleConnectionCreator extends AbstractOracleConnCreator
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
OLD_ORACLE_DRIVER_CLASS  | 
static java.lang.String | 
ORA_DRIVER_OCI8  | 
static java.lang.String | 
ORA_DRIVER_THIN  | 
static java.lang.String | 
ORA_DRIVER_TYPE_CLASS_REFTYPE  | 
static java.lang.String | 
ORACLE_DRIVER_CLASS  | 
static java.lang.String | 
SUBTYPE_ORA_JDBC  | 
| Constructor and Description | 
|---|
OracleConnectionCreator()  | 
| 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. 
 | 
java.util.Collection<java.lang.String> | 
listRequiredProperties()
Gets a list of the properties that are required for this creator to be
 able to create a connection. 
 | 
main, setCustomPropertiesallowNullPassword, convertToJDBCParameterInfos, getBundle, getConnection, getDriver, getInvalidURLMessage, getJDBCProperties, getLogger, getPropertyOrThrow, hasLength, listJDBCParameterInfos, loadDriver, shouldEncrypt, shouldPromptForPassword, throwMissingPropertyExceptionpublic static final java.lang.String ORACLE_DRIVER_CLASS
public static final java.lang.String OLD_ORACLE_DRIVER_CLASS
public static final java.lang.String SUBTYPE_ORA_JDBC
public static final java.lang.String ORA_DRIVER_TYPE_CLASS_REFTYPE
public static final java.lang.String ORA_DRIVER_THIN
public static final java.lang.String ORA_DRIVER_OCI8
public java.lang.String getConnectionURL(java.util.Properties props)
                                  throws java.sql.SQLException
AbstractConnectionCreatorgetConnectionURL in interface ConnectionCreatorgetConnectionURL in class AbstractConnectionCreatorprops - 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
AbstractConnectionCreatorgetDriverClassName in interface ConnectionCreatorgetDriverClassName in class AbstractConnectionCreatorjava.sql.SQLExceptionpublic java.util.Collection<java.lang.String> listAllowedProperties()
ConnectionCreatorlistAllowedProperties in interface ConnectionCreatorlistAllowedProperties in class AbstractOracleConnCreatorConnectionCreator.listRequiredProperties()public java.util.Collection<java.lang.String> listRequiredProperties()
ConnectionCreator
 DatabaseProvider.SUBTYPE_CLASS_REFTYPE is always implicitly
 required, it does not need to be included in this list.
listRequiredProperties in interface ConnectionCreatorlistRequiredProperties in class AbstractConnectionCreatorConnectionCreator.listAllowedProperties()