Skip navigation links
oracle.jdeveloper.db.adapter
Class CustomConnectionCreator
java.lang.Object
oracle.jdeveloper.db.adapter.AbstractConnectionCreator
oracle.jdeveloper.db.adapter.CustomConnectionCreator
- All Implemented Interfaces:
- ConnectionCreator
-
public class CustomConnectionCreator
- extends AbstractConnectionCreator
ConnectionCreator implementation for Custom / Third Part database connections. A "custom connection" requires the URL and driver class to be set.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUBTYPE_THIRD_PARTY
public static final java.lang.String SUBTYPE_THIRD_PARTY
-
- See Also:
- Constant Field Values
CustomConnectionCreator
public CustomConnectionCreator()
getConnectionURL
public java.lang.String getConnectionURL(java.util.Properties props)
throws java.sql.SQLException
- Description copied from class:
AbstractConnectionCreator
- The default implementation on this abstract class return the DatabaseProvider.DRIVER_CLASS_REFTYPE property. Override as appropriate.
-
- Specified by:
getConnectionURL
in interface ConnectionCreator
- Overrides:
getConnectionURL
in class AbstractConnectionCreator
-
- Throws:
java.sql.SQLException
getDriverClassName
public java.lang.String getDriverClassName(java.util.Properties props)
throws java.sql.SQLException
- Description copied from class:
AbstractConnectionCreator
- The default implementation on this class returns the DatabaseProvider.CUSTOM_URL_CLASS_REFTYPE property. Override as appropraite.
-
- Specified by:
getDriverClassName
in interface ConnectionCreator
- Overrides:
getDriverClassName
in class AbstractConnectionCreator
-
- Throws:
java.sql.SQLException
allowNullPassword
protected boolean allowNullPassword()
- Third party connections should allow null passwords as this is valid for drivers like PostGresSQL
-
- Overrides:
allowNullPassword
in class AbstractConnectionCreator
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.