|
Hi all – I’m new to iBatis, and I want to find out the best
practice for this problem. I want to use the same DAO implementation on a
number of different databases. I’m pulling in data from an MS
Access database (yes, please feel sorry for me here) that’s been deployed
in several locations. I’m using the both the iBATIS DAO layer and
SqlMaps. Since I declare a DAO implementation under a specific
Transaction Manager, and only one DataSource can be specified per transaction,
I’m not sure what to do. If I define the same DAO implementation
under a different Transaction Manager and Context, how would iBatis know which
one to use when I ask for the DAO from the DaoManager? Any suggestions? Thanks, Tony |

