|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.jdbc.informix4.BaseDriver
Field Summary | |
protected static boolean |
useConnectLicense
|
Constructor Summary | |
BaseDriver()
|
Method Summary | |
boolean |
acceptsURL(java.lang.String url)
Returns true if the driver thinks it can open a connection to the given URL. |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info)
Try to make a database connection to the given URL. |
int |
getMajorVersion()
Get the driver's major version number. |
int |
getMinorVersion()
Get the driver's minor version number. |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties properties)
The getPropertyInfo method is intended to allow a generic GUI tool to discover what properties it should prompt a human for in order to get enough information to connect to a database. |
boolean |
handlesSubprotocol(java.lang.String protocol)
|
boolean |
jdbcCompliant()
This driver is jdbc compliant |
java.sql.Connection |
newConnection(ConnectionInfo info)
|
protected abstract java.lang.String |
urlBase()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static boolean useConnectLicense
Constructor Detail |
public BaseDriver()
Method Detail |
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
The driver should raise a SQLException if it is the right driver to connect to the given URL, but has trouble connecting to the database.
The java.util.Properties argument can be used to passed arbitrary string tag/value pairs as connection arguments. Normally at least a "user" and "password" properties should be included in the Properties.
url
- The URL of the database to connect toinfo
- a list of arbitrary string tag/value pairs as
connection arguments; normally at least a "user" and
"password" property should be includedpublic java.sql.Connection newConnection(ConnectionInfo info) throws java.sql.SQLException
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
url
- The URL of the database.public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties properties) throws java.sql.SQLException
The getPropertyInfo method is intended to allow a generic GUI tool to discover what properties it should prompt a human for in order to get enough information to connect to a database. Note that depending on the values the human has supplied so far, additional values may become necessary, so it may be necessary to iterate though several calls to getPropertyInfo.
url
- The URL of the database to connect to.info
- A proposed list of tag/value pairs that will be sent on
connect open.public int getMajorVersion()
public int getMinorVersion()
public boolean jdbcCompliant()
public boolean handlesSubprotocol(java.lang.String protocol)
protected abstract java.lang.String urlBase()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |