db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olegn...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/batch PreparedStatementInvocationHandler.java
Date Thu, 27 Mar 2003 06:25:08 GMT
olegnitz    2003/03/26 22:25:08

  Modified:    src/java/org/apache/ojb/broker/util/batch
                        PreparedStatementInvocationHandler.java
  Log:
  Looks like some SQL commands could be lost...
  
  Revision  Changes    Path
  1.4       +1 -1      db-ojb/src/java/org/apache/ojb/broker/util/batch/PreparedStatementInvocationHandler.java
  
  Index: PreparedStatementInvocationHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/batch/PreparedStatementInvocationHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PreparedStatementInvocationHandler.java	28 Dec 2002 12:57:53 -0000	1.3
  +++ PreparedStatementInvocationHandler.java	27 Mar 2003 06:25:08 -0000	1.4
  @@ -132,9 +132,9 @@
       {
           String name = method.getName();
           if (name.equals("executeUpdate")) {
  -            _batchConn.nextExecuted(_sql);
               _methods.add(ADD_BATCH);
               _params.add(null);
  +            _batchConn.nextExecuted(_sql);
               return ONE;
           } else if (name.equals("doExecute")) {
               doExecute((Connection) args[0]);
  
  
  

Mime
View raw message