private boolean checkTableExist(Connection c) throws SQLException {
    String sql = "SELECT name FROM sqlite_master WHERE type = 'table' AND name = '" + this.paas.getType().name()
      + "';";
    
    Statement s = null;
    ResultSet rs = null;
    try {
      s = c.createStatement();
      rs = s.executeQuery(sql);
      if (rs.next())
        return true;
      else
        return false;
    } finally {
      Utils.closeDBResources(s, rs);
    }
  }
Check table exist.

@param c the c

@return true, if successful
@throws SQLException the SQL exception
KITE-Framework/src/main/java/org/webrtc/kite/config/paas/PaasHandler.java