4 Replies Latest reply on Mar 6, 2003 8:11 AM by David Jencks

    ByApplication Criteria question

    Alwyn Schoeman Newbie

      Hi,

      I have set my criteria to ByApplication.

      My implementation of the Connection interface uses a method getConnection (host, port) in order for the ManagedConnection implementation to connect to different servers.

      I want to have my pools grouped according to this host/port pair...

      Do I need to build a ConnectionRequestInfo using these values before I call allocateConnection? If so, must the object passed be the same object as it doesn't seem to work if not?

      If not so, how do you do this as allocateConnection has a very specific interface?

      I am not using CCI.