db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer SqlBasedRsIterator.java
Date Sun, 03 Aug 2003 09:27:40 GMT
brj         2003/08/03 02:27:40

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        SqlBasedRsIterator.java
  Log:
  fixed issue OJB195 (by Patrick Shea)
  
  Revision  Changes    Path
  1.17      +2 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java
  
  Index: SqlBasedRsIterator.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SqlBasedRsIterator.java	26 Apr 2003 23:18:25 -0000	1.16
  +++ SqlBasedRsIterator.java	3 Aug 2003 09:27:40 -0000	1.17
  @@ -120,7 +120,7 @@
           int count = 0;
           int fromPos;
   
  -        fromPos = m_sql.toUpperCase().indexOf("FROM");
  +        fromPos = m_sql.toUpperCase().indexOf(" FROM ");
           if (fromPos >= 0)
           {
               countSql = "select count(*) " + m_sql.substring(fromPos);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message