Class WSRRAFactory

java.lang.Object
com.ibm.websphere.rsadapter.WSRRAFactory

public class WSRRAFactory extends 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 Details

    • WSRRAFactory

      public WSRRAFactory()
  • Method Details

    • 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.