tcurdt 2003/06/09 04:02:03
Modified: src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp JdbcEsqlQuery.java Log: reusing the statement for the limit clause seems not to always work, reverting to the proposed JDBC way until this got fixed in the AbstractEsqlQuery Revision Changes Path 1.4 +2 -3 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/JdbcEsqlQuery.java Index: JdbcEsqlQuery.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/JdbcEsqlQuery.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JdbcEsqlQuery.java 20 Mar 2003 21:51:43 -0000 1.3 +++ JdbcEsqlQuery.java 9 Jun 2003 11:02:03 -0000 1.4 @@ -119,7 +119,7 @@ * Which is totally stupid for limit/paging purposes. So we probably * better stick with an additional count query from the AbstractEsqlQuery */ - /* + public int getRowCount() throws SQLException { ResultSet rs = getResultSet(); synchronized (rs) { @@ -136,7 +136,6 @@ return (count); } } - */ public void getResultRows() throws SQLException { final int skip = getSkipRows();