ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mkhitaryan, Aram" <Aram.Mkhitar...@lycos-europe.com>
Subject RE: connections to different databases
Date Mon, 31 Jul 2006 11:55:56 GMT
Use DaoManager and configure two contexts with two different sqlmap transaction manager configurations
(dbs).

-----Original Message-----
From: Eugeny N Dzhurinsky [mailto:bofh@redwerk.com] 
Sent: Monday, July 31, 2006 4:37 PM
To: user-java@ibatis.apache.org
Subject: connections to different databases

Hello!
Is it possible somehow to use several databases for single SqlMapClient
instance?

For example, I would like to use queries in namespace "spider" to be executed
on MySQL, and queries in the reset namepaces to be executed on PostgreSQL, w/o
creating 2 instances of SQL map clients.

-- 
Eugene N Dzhurinsky
Mime
View raw message