db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util BrokerHelper.java
Date Sat, 04 Jun 2005 14:15:37 GMT
arminw      2005/06/04 07:15:37

  Modified:    src/java/org/apache/ojb/broker/util Tag: OJB_1_0_RELEASE
                        BrokerHelper.java
  Log:
  replace Platform#isCallableStatement method and introduce an contract between JdbcAccess
and StatementManager to detect the use of stored procedures.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.57.2.17 +3 -3      db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java
  
  Index: BrokerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java,v
  retrieving revision 1.57.2.16
  retrieving revision 1.57.2.17
  diff -u -r1.57.2.16 -r1.57.2.17
  --- BrokerHelper.java	10 May 2005 19:08:54 -0000	1.57.2.16
  +++ BrokerHelper.java	4 Jun 2005 14:15:37 -0000	1.57.2.17
  @@ -694,8 +694,8 @@
           ResultSet rs = null;
           try
           {
  -            stmt = sm.getPreparedStatement(cld, sql, false, 1);
  -            sm.bindSelect(stmt, oid, cld);
  +            stmt = sm.getPreparedStatement(cld, sql, false, 1, false);
  +            sm.bindSelect(stmt, oid, cld, false);
               rs = stmt.executeQuery();
               result = rs.next();
           }
  
  
  

---------------------------------------------------------------------
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