oracle.jdeveloper.db.adapter
Class DB2ConnectionCreator
java.lang.Object
   oracle.jdeveloper.db.adapter.AbstractConnectionCreator
oracle.jdeveloper.db.adapter.AbstractConnectionCreator
       oracle.jdeveloper.db.adapter.DB2ConnectionCreator
oracle.jdeveloper.db.adapter.DB2ConnectionCreator
- All Implemented Interfaces: 
- ConnectionCreator
- public class DB2ConnectionCreator 
- extends AbstractConnectionCreator
 
 
| Method Summary | 
|  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.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DB2_DRIVER_CLASS
public static final java.lang.String DB2_DRIVER_CLASS
- See Also:
- Constant Field Values
DB2_WEBLOGIC_DRIVER_CLASS
public static final java.lang.String DB2_WEBLOGIC_DRIVER_CLASS
- See Also:
- Constant Field Values
SUBTYPE_DB2
public static final java.lang.String SUBTYPE_DB2
- See Also:
- Constant Field Values
DB2ConnectionCreator
public DB2ConnectionCreator()
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:
- getDriverClassNamein interface- ConnectionCreator
- Overrides:
- getDriverClassNamein class- AbstractConnectionCreator
 
- 
- Throws:
- java.sql.SQLException
 
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:
- getConnectionURLin interface- ConnectionCreator
- Overrides:
- getConnectionURLin class- AbstractConnectionCreator
 
- 
- Throws:
- java.sql.SQLException
 
listAllowedProperties
public java.util.Collection<java.lang.String> listAllowedProperties()
- Description copied from interface: ConnectionCreator
- Gets a list of the properties that are relevant to this creator. If a
 property is not listed, it is not needed/supported.
 
- 
- Specified by:
- listAllowedPropertiesin interface- ConnectionCreator
- Overrides:
- listAllowedPropertiesin class- AbstractConnectionCreator
 
- 
- Returns:
- a list of the allowed property keys for the connection's
 properties.
 
Copyright © 1997, 2013, Oracle. All rights reserved.