最关键的一句话是ibatis的作者说的: if you are starting a new project and you‘re in full control of your object model and database design, hibernate is a good choice of o/r tool. if you are accessing any 3rd party databases (e.g. vendor supplied), or you‘re working with a legacy database, or even just a really poorly designed database, then an o/r mapper might not be capable of handling the situation. that‘s were an sql mapper comes in handy