We can speed up a hibernate app easyly with 2nd level cache using infinispan or ehcache/terracotta,... but ibatis only have a simple interface to implement for caching. And hibernate knows more information about the data, so it helps for better caching, too. In the other side, the simplicity of ibatis is also the power of it and it s faster than hibernate if we don t use caching for both.
My question is; if I use hibernate with 2nd level cache and ibatis3 with a cache implementation for it s interface, which will be more faster candidate for data access layer ?
Cheers,