Hibernate or iBatis or something else?
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 problem is, that i have several tables with prefix: documents2001, documents2002 ... As i understood, i can't map class with table during runtime. I tried using iBatis, but the problem is in database changing during runtime. In iBatis, it is quite hard to do.\ Maybe some advices, what should i use? My requirements: Ability to connect to different databases during runtime Ability to change table during runtime(if class is mapped