|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| 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.ODBCConnectionCreator
public class ODBCConnectionCreator
ConnectionCreator implementation for connections that use the JDBC-ODBC bridge. The DSN name is the only required property.
| Field Summary | |
|---|---|
static java.lang.String |
ODBC_DRIVER_CLASS
|
static java.lang.String |
SUBTYPE_ODBC_BRIDGE
|
| Constructor Summary | |
|---|---|
ODBCConnectionCreator()
|
|
| Method Summary | |
|---|---|
protected boolean |
allowNullPassword()
ODBC-JDBC connections should allow null passwords as this is valid for drivers like PostGresSQL, and we can't connect to them via the bridge if we force a password. |
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 ODBC_DRIVER_CLASS
public static final java.lang.String SUBTYPE_ODBC_BRIDGE
| Constructor Detail |
|---|
public ODBCConnectionCreator()
| 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.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||