public Connection getConnection()
  {
    try
    {
      if ((this.username.equalsIgnoreCase("")) && (this.password.equalsIgnoreCase(""))) {
        return DriverManager.getConnection(this.dsn);
      }
      if (Misc.is(Constants.DatabaseType, new String[] { "sqlite", "h2", "h2sql", "h2db" })) {
        return this.h2pool.getConnection();
      }
      return DriverManager.getConnection(this.dsn, this.username, this.password);
    }
    catch (SQLException e)
    {
      System.out.println("[iConomy] Could not create connection: " + e);
    }return null;
  }