I would refactor the legacy connection manager to use the same data
source that iBATIS uses.

Larry


On 8/1/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
Hello, in my application there is only single instance of SqlMapClient
(singleton). Legacy code contains it's own connection manager and thus
connections for now are obtained from there. The thing is I'd prefer to use
these connections rather than allow iBATIS obtain them from datasource, but I
found there is only setUserConnection method available, and this method sets
global connection, which will be stored in singleton.

Is there anything I can do with this, or do I need to allow iBATIS manage
conections by itself?
--
Eugene N Dzhurinsky

Reply via email to