MyBatis is a Java SQL mapper that connects application objects to explicitly written SQL statements rather than fully abstracting the database. It...
Pros
- Provides more SQL control and predictability than Ebean
- Usually has a smaller runtime abstraction and simpler execution model
- Works well with complex queries, stored procedures, and database-specific SQL
Cons
- Requires substantially more SQL and mapping code than Ebean
- Does not provide full identity management or automatic relationship persistence
- Database portability depends heavily on the written SQL
Free, open source