In my project i need to switch between databases during runtime. I tried to use Hibernate, but stuck in a place, where i need to map object with table in database. The probl
Do the tables have the same structure, just different names?
This is definitely possible to map in iBATIS.
You would just need to include something like this in your SQL Map:
SELECT ColumnA, ColumnB FROM $tableName$
Assuming that I have understood your question correctly, that should solve your problem.