Re: Missing commit after select won't update cache

2010-03-19 Thread Björn Raupach
I created IBATIS-763. Björn On Mar 19, 2010, at 6:21 AM, lawouc wrote: > > I'm experiencing the same issue as Björn. Can someone tell me if issuing a > session.commit(); is the proper way to ensure the results of a query are > cached? Is there any round trip to the database with an iBatis co

Re: Missing commit after select won't update cache

2010-03-18 Thread lawouc
I'm experiencing the same issue as Björn. Can someone tell me if issuing a session.commit(); is the proper way to ensure the results of a query are cached? Is there any round trip to the database with an iBatis commit after a select? If not, then I'll modify my code to commit after every statem

Missing commit after select won't update cache

2010-03-17 Thread Björn Raupach
Hello, just wanted to check if this behavior is on purpose. For select Statements I use the following construct in my DAO. public List selectJobs() { List resultList = null; SqlSession session = getSqlSessionFactory().openSession(); try { JobMapper mapper