db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattba...@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer StatementsForClassImpl.java
Date Mon, 06 Jan 2003 22:45:44 GMT
mattbaird    2003/01/06 14:45:43

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        StatementsForClassImpl.java
  Log:
  propagate scrollable parameter correctly.
  
  Revision  Changes    Path
  1.11      +1 -7      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementsForClassImpl.java
  
  Index: StatementsForClassImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementsForClassImpl.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- StatementsForClassImpl.java	28 Dec 2002 10:54:09 -0000	1.10
  +++ StatementsForClassImpl.java	6 Jan 2003 22:45:43 -0000	1.11
  @@ -178,13 +178,7 @@
           PreparedStatement stmt = null;
           try
           {
  -            /**
  -             * always create scrollable resultsets because we are caching the statement
  -             * if we want to refactor to remove the caching of statements, we might as
well
  -             * just move to the use of the SQLCachingStatementsForClass as it does this
already
  -             */
  -
  -            stmt = prepareStatement(con, sql, Query.SCROLLABLE);
  +            stmt = prepareStatement(con, sql, scrollable);
           }
           catch (java.sql.SQLException ex)
           {
  
  
  

Mime
View raw message