|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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, 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 ConnectionCreatorgetConnectionURL in class AbstractConnectionCreatorjava.sql.SQLException
public java.lang.String getDriverClassName(java.util.Properties props)
throws java.sql.SQLException
AbstractConnectionCreator
getDriverClassName in interface ConnectionCreatorgetDriverClassName in class AbstractConnectionCreatorjava.sql.SQLExceptionprotected boolean allowNullPassword()
allowNullPassword in class AbstractConnectionCreator
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||