You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by François Schiettecatte <fs...@gmail.com> on 2010/03/05 15:06:55 UTC
ResultHandler
Hi
Any reason why there are only two select() methods in org.apache.ibatis.session:
void select(String statement, Object parameter, ResultHandler handler);
void select(String statement, Object parameter, RowBounds rowBounds, ResultHandler handler);
I would have expected to see this for symmetry with the others:
void select(String statement, ResultHandler handler);
Or should I just use a null in place of the object:
sqlSession.select(statement, null, handler);
Cheers
François
---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org
Re: ResultHandler
Posted by Clinton Begin <cl...@gmail.com>.
That's a good observation. Can you throw a feature request in jira?
Cheers,
Clinton
On 2010-03-05, François Schiettecatte <fs...@gmail.com> wrote:
> Hi
>
> Any reason why there are only two select() methods in
> org.apache.ibatis.session:
>
> void select(String statement, Object parameter, ResultHandler handler);
>
> void select(String statement, Object parameter, RowBounds rowBounds,
> ResultHandler handler);
>
>
> I would have expected to see this for symmetry with the others:
>
> void select(String statement, ResultHandler handler);
>
>
> Or should I just use a null in place of the object:
>
> sqlSession.select(statement, null, handler);
>
>
>
> Cheers
>
> François
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>
--
Sent from my mobile device
---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org