Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdeveloper.db.adapter
Class SQLServerConnectionCreator

java.lang.Object
  extended by oracle.jdeveloper.db.adapter.AbstractConnectionCreator
      extended by oracle.jdeveloper.db.adapter.SQLServerConnectionCreator

All Implemented Interfaces:
ConnectionCreator

public class SQLServerConnectionCreator
extends AbstractConnectionCreator

Field Summary
static java.lang.String INSTANCE_CLASS_REFTYPE
          Property key for the instance name of the database.
static java.lang.String SQLSERVER_DRIVER_CLASS
           
static java.lang.String SQLSERVER_WEBLOGIC_DRIVER_CLASS
           
static java.lang.String SUBTYPE_SQLSERVER
           

 

Constructor Summary
SQLServerConnectionCreator()
           

 

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 oracle.jdeveloper.db.adapter.AbstractConnectionCreator
allowNullPassword, 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

SQLSERVER_WEBLOGIC_DRIVER_CLASS

public static final java.lang.String SQLSERVER_WEBLOGIC_DRIVER_CLASS
See Also:
Constant Field Values

SQLSERVER_DRIVER_CLASS

public static final java.lang.String SQLSERVER_DRIVER_CLASS
See Also:
Constant Field Values

SUBTYPE_SQLSERVER

public static final java.lang.String SUBTYPE_SQLSERVER
See Also:
Constant Field Values

INSTANCE_CLASS_REFTYPE

public static final java.lang.String INSTANCE_CLASS_REFTYPE
Property key for the instance name of the database.
See Also:
Constant Field Values

Constructor Detail

SQLServerConnectionCreator

public SQLServerConnectionCreator()

Method Detail

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

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

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:
listAllowedProperties in interface ConnectionCreator
Overrides:
listAllowedProperties in class AbstractConnectionCreator
Returns:
a list of the allowed property keys for the connection's properties.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.