Semantics of setMaxRowSize in JDBC is not properly incorporated in iBATIS
-------------------------------------------------------------------------

                 Key: IBATIS-616
                 URL: https://issues.apache.org/jira/browse/IBATIS-616
             Project: iBatis for Java
          Issue Type: Improvement
          Components: SQL Maps
    Affects Versions: 2.3.4
         Environment: Weblogic 9.23, Oracle 10g, Solaris 10, jdk 1.5
            Reporter: carbontrans
            Priority: Minor


List queryForList(String id, Object parameterObject, int skip, int max) throws 
SQLException;

The above method has last parameter 
max:            The maximum number of results to return.

Setting value to this parameter is equivalent of setting setMaxRowSize on 
java.sql.Statment.
setMaxRowSize has one parameter
max - the new max rows limit; <b>zero means there is no limit </b>

If the value for this parameter is zero then all the fetched rows are returned, 
but for iBATIS implementation, if the value for this parameter is zero then no 
rows are returned in result Map.

It seems iBATIS uses -999999 as value for returning all the rows fetched from 
the database.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ibatis.apache.org
For additional commands, e-mail: dev-h...@ibatis.apache.org

Reply via email to