[jboss-cvs] JBoss Messaging SVN: r3059 - trunk/src/main/org/jboss/messaging/core/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 27 16:33:41 EDT 2007


Author: clebert.suconic at jboss.com
Date: 2007-08-27 16:33:41 -0400 (Mon, 27 Aug 2007)
New Revision: 3059

Modified:
   trunk/src/main/org/jboss/messaging/core/impl/JDBCSupport.java
Log:
Logs on startup/create tables

Modified: trunk/src/main/org/jboss/messaging/core/impl/JDBCSupport.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/JDBCSupport.java	2007-08-27 18:47:45 UTC (rev 3058)
+++ trunk/src/main/org/jboss/messaging/core/impl/JDBCSupport.java	2007-08-27 20:33:41 UTC (rev 3059)
@@ -156,6 +156,10 @@
       {
          createSchema();
       }     
+      else
+      {
+        log.debug("Schema is not being created as createTablesOnStartup=" + createTablesOnStartup);
+      }
    }
    
    public void stop() throws Exception
@@ -293,6 +297,10 @@
                   tx.exceptionOccurred();
                }  
             }
+            else
+            {
+                log.debug("createSchema ignoring statement for " + statementName);
+            }
          }
          finally
          {




More information about the jboss-cvs-commits mailing list