activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r389893 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
Date Wed, 29 Mar 2006 21:20:59 GMT
Author: chirino
Date: Wed Mar 29 13:20:57 2006
New Revision: 389893

URL: http://svn.apache.org/viewcvs?rev=389893&view=rev
Log:
better debug so we can see the sql statement being executed.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java?rev=389893&r1=389892&r2=389893&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
Wed Mar 29 13:20:57 2006
@@ -542,6 +542,7 @@
     public void doDeleteOldMessages(TransactionContext c) throws SQLException, IOException
{
         PreparedStatement s = null;
         try {
+            log.debug("Executing SQL: "+statements.getDeleteOldMessagesStatement());
             s = c.getConnection().prepareStatement(statements.getDeleteOldMessagesStatement());
             s.setLong(1, System.currentTimeMillis());
             int i = s.executeUpdate();



Mime
View raw message