|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.db.adapter.AbstractConnectionCreator oracle.jdeveloper.db.adapter.CustomConnectionCreator
public class CustomConnectionCreator
ConnectionCreator implementation for Custom / Third Part database connections. A "custom connection" requires the URL and driver class to be set.
Field Summary | |
---|---|
static java.lang.String |
SUBTYPE_THIRD_PARTY
|
Constructor Summary | |
---|---|
CustomConnectionCreator()
|
Method Summary | |
---|---|
protected boolean |
allowNullPassword()
Third party connections should allow null passwords as this is valid for drivers like PostGresSQL |
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. |
Methods inherited from class oracle.jdeveloper.db.adapter.AbstractConnectionCreator |
---|
getBundle, getConnection, getPropertyOrThrow, hasLength, listAllowedProperties, setCustomProperties, shouldEncrypt, shouldPromptForPassword |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SUBTYPE_THIRD_PARTY
Constructor Detail |
---|
public CustomConnectionCreator()
Method Detail |
---|
public java.lang.String getConnectionURL(java.util.Properties props) throws java.sql.SQLException
AbstractConnectionCreator
getConnectionURL
in interface ConnectionCreator
getConnectionURL
in class AbstractConnectionCreator
java.sql.SQLException
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
protected boolean allowNullPassword()
allowNullPassword
in class AbstractConnectionCreator
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |