|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.p13n.util.jdbc.DatabaseFactory
Deprecated No longer needed, as JDBC methods for BLOB and CLOB will work with all supported drivers. JdbcHelper has clob get/set helper methods.
@Deprecated
public class DatabaseFactory
JdbcHelper| Constructor Summary | |
|---|---|
DatabaseFactory()Deprecated |
|
| Method Summary | |
|---|---|
static Connection |
getConnection(DataSource src, int retries)Deprecated Use DataSource.getConnection(), set retries by configuring the Pool |
static Connection |
getConnection(DataSource src, int retries, long waitTime)Deprecated Use DataSource.getConnection(), set retries and waitTime by configuring the Pool |
static Database |
getInstance(Connection connection)Deprecated Get the driver-specific Database instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseFactory()
| Method Detail |
|---|
public static Database getInstance(Connection connection)
throws SQLException
connection - A java.sql.Connection object.SQLException - Cannot create or cannot find Database instance for the connection.
@Deprecated
public static Connection getConnection(DataSource src,
int retries,
long waitTime)
throws SQLException
This method no longer honors the retry parameter; it will use the 'Connection Reserve Timeout' parameter set on the JdbcConnectionPool via the WLS console.
src - The DataSource.retries - No longer used - the settings on the pool are now usedwaitTime - No longer used - the settings on the pool are now usedSQLException - Thrown when trying to get a connection.
@Deprecated
public static Connection getConnection(DataSource src,
int retries)
throws SQLException
This method no longer honors the retry parameter; it will use the 'Connection Reserve Timeout' parameter set on the JdbcConnectionPool via the WLS console.
src - The DataSource.retries - No longer used - the settings on the pool are now usedSQLException - Thrown on an error when getting a connection.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.