Class 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WSRRAFactory

        public WSRRAFactory()
    • 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.