protected static void errorLog(String sql, SQLException e) {
		if ("X0Y32".equals(e.getSQLState())) { // table already exist
			LOGGER.error("Table/View already exist: SQL ===> " + sql);
			LOGGER.error(e.getMessage());
		} else if ("42X05".equals(e.getSQLState())) { // table does not exist
			LOGGER.error("Table/View does not exist: SQL ===> " + sql);
			LOGGER.error(e.getMessage());
		} else if ("42Y55".equals(e.getSQLState())) { // function doesn't exist.
			LOGGER.error("SQL ===> " + sql);
			LOGGER.error(e.getMessage());
		} else if ("42X65".equals(e.getSQLState())) { // index doesn't exist.
			LOGGER.error("SQL ===> " + sql);
			LOGGER.error(e.getMessage());
		} else {
			LOGGER.error("SQL ===> " + sql);
			LOGGER.error(e.getMessage(), e);
		}
	}