ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick <ric...@gmail.com>
Subject confusing on caching prepared statements with datasource and openSession?
Date Sun, 23 Aug 2009 20:23:06 GMT
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-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message