[ http://issues.apache.org/jira/browse/IBATIS-100?page=history ] Brandon Goodin closed IBATIS-100: ---------------------------------
Resolution: Invalid This is a support question that should be posted to the user list. > Ability to "integrate" data from multiple data sources at the DAO layer > ----------------------------------------------------------------------- > > Key: IBATIS-100 > URL: http://issues.apache.org/jira/browse/IBATIS-100 > Project: iBatis for Java > Type: New Feature > Components: DAO > Environment: All > Reporter: Greg Akins > Priority: Minor > > I'm reading data from 3 different databases. > > Most of the time, I read from a single database, and write to another... So > nothing is "complicated" in Ibatis. > > However, sometimes I have to read from database "A" while getting lookup data > from database "B" > > Initially, I wrote a translation method that would get an object with ID's.. > Lookup each ID in database "B" and copy the data with Object references > instead of ID fields to my application > > Now, thanks to Nathan, I am using a CustomTypeHandler to get "lookup" values > where I didn't feel like putting the data in the database at all (using > type-safe enumerators). > > It seems like maybe CustomerTypeHandlers would have been appropriate for > integrating multiple datasource, much like integrating datasources with > enumerators; Does that seem like a bad idea? Something smells funny about > creating dependencies between the persistence and DAO's in this manner? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira