Package com.ibm.websphere.rsadapter
Class WSRRAFactory
java.lang.Object
com.ibm.websphere.rsadapter.WSRRAFactory
Creates instances of JDBCConnectionSpec for matching and sharing connections based
on additional criteria. For example,
JDBCConnectionSpec conspec = WSRRAFactory.createJDBCConnectionSpec(); conspec.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED); Connection con = ((WSDataSource) ds).getConnection(conspec);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JDBCConnectionSpecCreates a JDBCConnectionSpec, which allows an application to specify additional parameters, such as type map or isolation level, when requesting a connection.
-
Constructor Details
-
WSRRAFactory
public WSRRAFactory()
-
-
Method Details
-
createJDBCConnectionSpec
Creates a JDBCConnectionSpec, which allows an application to specify additional parameters, such as type map or isolation level, when requesting a connection.- Returns:
- a JDBCConnectionSpec.
-