public interface WSOptimizedDataSource
extends javax.sql.DataSource
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection(long passkey,
boolean shareWithCMPOnly)
This method is used to return a java.sql.Connection.
|
java.sql.Connection getConnection(long passkey,
boolean shareWithCMPOnly)
throws java.sql.SQLException
passkey - long used to verify the legitimacy of the callershareWithCMPOnly - boolean to indicate the type of returned connection:
java.sql.SQLException - SQLException will be thrown in the following cases: