if (log.isTraceEnabled()) { log.trace(createTransaction + " succeeded"); }
if (trace) { log.trace(createTransaction + " succeeded"); }
   protected void createSchema() throws Exception   {      Connection conn = null;      TransactionWrapper tx = new TransactionWrapper();      try      {         conn = ds.getConnection();                  try         {            conn.createStatement().executeUpdate(createTransaction);            if (log.isTraceEnabled()) { log.trace(createTransaction + " succeeded"); }         }         catch (SQLException e)         {            log.debug(createTransaction + " failed!", e);         }                            try         {            conn.createStatement().executeUpdate(createMessageReference);            if (log.isTraceEnabled()) { log.trace(createMessageReference + " succeeded"); }         }         catch (SQLException e)         {            log.debug(createMessageReference + " failed!", e);         }         try         {            conn.createStatement().executeUpdate(createIdxMessageRefTx);            if (log.isTraceEnabled()) { log.trace(createIdxMessageRefTx + " succeeded"); }         }         catch (SQLException e)         {            log.debug(createIdxMessageRefTx + " failed!", e);         }      }      finally      {         if (conn != null)         {            try            {               conn.close();            }            catch (Throwable t)            {}         }         tx.end();      }   }