static String quoteString(String input) {
    return "'" + input + "'";
  }
Get the next event ID.

@return The next ID to use for an event.
@throws SQLException if a database access error occurs or this method is
          called on a closed connection
@throws MetaException if the sequence table is not properly initialized
hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java