Package com.ibm.websphere.rsadapter
Class WSRRAFactory
- java.lang.Object
-
- com.ibm.websphere.rsadapter.WSRRAFactory
-
public class WSRRAFactory extends java.lang.Object
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 Constructor Description WSRRAFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JDBCConnectionSpec
createJDBCConnectionSpec()
Creates a JDBCConnectionSpec, which allows an application to specify additional parameters, such as type map or isolation level, when requesting a connection.
-
-
-
Method Detail
-
createJDBCConnectionSpec
public static JDBCConnectionSpec 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.
-
-