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/accesslayer/sql SqlGeneratorDefaultImpl.java
Date Sat, 05 Nov 2005 16:13:18 GMT
arminw      2005/11/05 08:13:18

  Modified:    src/java/org/apache/ojb/broker/accesslayer/sql
                        SqlGeneratorDefaultImpl.java
  Log:
  add logging statement
  
  Revision  Changes    Path
  1.39      +6 -1      db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGeneratorDefaultImpl.java
  
  Index: SqlGeneratorDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/sql/SqlGeneratorDefaultImpl.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- SqlGeneratorDefaultImpl.java	8 Oct 2005 16:00:33 -0000	1.38
  +++ SqlGeneratorDefaultImpl.java	5 Nov 2005 16:13:18 -0000	1.39
  @@ -273,6 +273,11 @@
               sql = new SqlSelectStatement(m_platform, m_logger, cld, query);
           }
   
  +        if (m_logger.isDebugEnabled())
  +        {
  +            m_logger.debug("SQL:" + sql.getStatement());
  +        }
  +
           return sql;
       }
   
  
  
  

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