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/util SqlHelper.java
Date Tue, 06 May 2003 19:53:27 GMT
brj         2003/05/06 12:53:27

  Modified:    src/java/org/apache/ojb/broker/util SqlHelper.java
  Log:
  fixed problem with spaces after colName
  
  Revision  Changes    Path
  1.12      +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/SqlHelper.java
  
  Index: SqlHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/SqlHelper.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SqlHelper.java	6 May 2003 19:33:39 -0000	1.11
  +++ SqlHelper.java	6 May 2003 19:53:27 -0000	1.12
  @@ -139,7 +139,7 @@
               colBegin = betweenBraces.lastIndexOf(" ");
               if (colBegin >= 0)
               {
  -                prefix = aPath.substring(0, braceBegin + colBegin + 3);
  +                prefix = aPath.substring(0, braceBegin + 1) + betweenBraces.substring(0,
colBegin + 1);
                   colName = betweenBraces.substring(colBegin + 1).trim();
               }
               else
  
  
  

Mime
View raw message