|
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.ConnectionInfo
Constructor Summary | |
ConnectionInfo(java.lang.String url)
|
|
ConnectionInfo(java.lang.String iUrl,
java.util.Properties iInfo)
The constructor for this class takes a complete url constructed as specified in jdbc's documentation (see url syntax). |
Method Summary | |
java.lang.String |
getCharset()
Returns the character set specified by the user in the connection's url (if any). |
java.lang.String |
getDatabase()
Return the name of the database (note: does not include host name) |
boolean |
getEscQuotes()
|
java.lang.String |
getHost()
Return the name of the host or null if the database is local |
java.lang.String |
getPassword()
|
int |
getPort()
Return port number or 5000 if a port number was not specified |
java.util.Properties |
getProperties()
Return properties given to the constructor and/or extracted from the url. |
boolean |
getSQLTrace()
|
java.lang.String |
getSubprotocol()
Return the subprotocol to be used for this connection, eg. |
java.lang.String |
getURL()
Return the URL for this connection. |
java.lang.String |
getUserName()
Return the user name as encoded in the url or in the properties' 'user' key. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ConnectionInfo(java.lang.String url) throws java.sql.SQLException
public ConnectionInfo(java.lang.String iUrl, java.util.Properties iInfo) throws java.sql.SQLException
Method Detail |
public java.lang.String getURL()
public java.lang.String getSubprotocol()
public java.lang.String getHost()
public int getPort()
public java.lang.String getDatabase()
public java.util.Properties getProperties()
public java.lang.String getUserName()
public java.lang.String getPassword()
public java.lang.String getCharset()
public boolean getSQLTrace()
public java.lang.String toString()
public boolean getEscQuotes()
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |