iBATIS only caches at the connection level anyway.  The broad support for
this is lacking, so I just avoided the problem.

99% of the gain with psmt caching is in loops in a single thread anyway....

Clinton

On Sun, Aug 23, 2009 at 2:23 PM, Rick <ric...@gmail.com> wrote:

> I thought that most datasources allow you to cache preparedStatements
> at the datasource level, so I'm confused what affect using
> sqlSessionFactory.openSession(ExecutorType.REUSE) would be if you
> have, or don't have, your datasource set to cache pstmts and you call
> (and not call) openSession with ExecutorType.REUSE ?
>
> --
> Rick R
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
> For additional commands, e-mail: user-java-h...@ibatis.apache.org
>
>

Reply via email to