this.usingBatchUpdates = false;
   protected void startService() throws Exception   {      if (ds == null)      {         InitialContext ic = new InitialContext();         ds = (DataSource) ic.lookup(dataSourceJNDIName);         ic.close();      }      if (ds == null)      {         throw new Exception("No DataSource found. This service dependencies must "               + "have not been enforced correctly!");      }      if (tm == null)      {         throw new Exception("No TransactionManager found. This service dependencies must "               + "have not been enforced correctly!");      }      if (cmObjectName != null)      {         MBeanServer server = getServer();         cm = (ChannelMapper) server.getAttribute(cmObjectName, "Instance");      }      initSqlProperties();      if (createTablesOnStartup)      {         createSchema();      }      log.debug(this + " started");   }