Re: How to set Prefetch size on the resultSet level in IBATIS

2009-07-05 Thread Jeff Butler
It's already there. iBATIS is setting the fetch size properly. The issue is that his JDBC driver is not honoring the fetch size on the result set. We don't have anything in iBATIS that allows changing result set attributes after they are generated by the driver. It might not be so bad to add

SqlMapClient and knowing when a transaction already started

2009-07-05 Thread Yuri de Wit
If I having a reference to a SqlMapClient how do I know whether a transaction has already been started for the current thread? I want to implement a simple transaction interceptor that gets injected with a SqlMapClient using Guice and start a transaction if not yet started. thanks in advance!