|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.oracle.OracleConnectionFactory
DataSource
, DataSourceUtil
and DataSourceFinder
instead
public class OracleConnectionFactory
Provides javax.sql.DataSource wrapper around an OracleConnection object.
Constructor Summary | |
---|---|
OracleConnectionFactory(java.lang.String alias)
Deprecated. BDT ADDED 2004/08/02 This constructor sets up a connection factor for OCI connection. |
|
OracleConnectionFactory(java.lang.String host,
java.lang.String port,
java.lang.String instance)
Deprecated. Creates a new OracleConnection object that wraps a oracle.jdbc.driver.OracleConnection. |
Method Summary | |
---|---|
ConnectionPool |
getConnectionPool()
Deprecated. Creates the real OracleConnection. |
ConnectionPool |
getConnectionPool(java.lang.String user,
java.lang.String pass)
Deprecated. Creates the real OracleConnection. |
void |
setLogin(java.lang.String user,
java.lang.String pass)
Deprecated. Sets the login credentials. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleConnectionFactory(java.lang.String alias)
alias
- The host to connect to.public OracleConnectionFactory(java.lang.String host, java.lang.String port, java.lang.String instance)
host
- The host to connect to.port
- The port number on the hostinstance
- The instance name on the hostMethod Detail |
---|
public ConnectionPool getConnectionPool(java.lang.String user, java.lang.String pass) throws java.sql.SQLException
user
- The user name.pass
- The password
java.sql.SQLException
- If an error occurs connecting to the DB.public ConnectionPool getConnectionPool() throws java.sql.SQLException
java.sql.SQLException
- If an error occurs connecting to the DB.public void setLogin(java.lang.String user, java.lang.String pass)
user
- The usernamepass
- The password
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |