my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes iBattis with multiple data sources. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "iBattis with multiple data sources." Watch "iBattis with multiple data sources." New topic
Author

iBattis with multiple data sources.

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi All,

I work on a struts like application framework implemented on OC4J. The application has multiple data sources and depending on certain user credentials a particular data source is selected and the required database is connected to.

Now i want to introduce iBatis into the framework. Now I have been reading up on iBatis and I find that the sqlMap-config.xml dictates which DB will be connected to, similar to the datasources.xml file for OC4J.

How do I get iBatis to work for multiple data sources in the way my application currently functions ?

Any help would be great !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iBattis with multiple data sources.
 
Similar Threads
unclosed connection detected 'oracle.oc4j.sql.spi.connectionfinalizer in OC4J
Compare Ibatis to Hibernate?
Using EJB3 in combination with Spring.
DiffKit 0.8.0 release -- Open Source structured table comparison for DB2, Oracle, MySQL
exception handling framework/blocks