Bug 8715

Summary: fetchSize doesn't work
Product: Taglibs Reporter: Sunil Annam <sannam>
Component: DBTags TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 1.0B1   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Sunil Annam 2002-05-01 22:36:38 UTC
tried to use fetchSize in "statement". But it gives following error
"Method setfetchSize(int) not found in interface java.sql.Statement.
                     stmt1.setfetchSize(25); "

Same happens when try to setfetchSize(25) with resultSet

Note:
I am new to JSP and Tags. But liked the concept and now reading+playing more 
with it. When an expert from Apache team will be working on this issue, I will 
also try to understand (on my own) from the downloaded source code.
Comment 1 Christopher Schultz 2002-12-18 16:12:45 UTC
What version of JRE are you using? It looks like you need a newer one. Check the
requirements for this tag library.
Comment 2 Felipe Leme 2004-02-27 13:50:12 UTC
Method setFechSize() is defined on JDBC 2.0, which in turn is part of J2SE 1.3:

http://java.sun.com/j2se/1.3/docs/api/java/sql/Statement.html#setFetchSize(int)