docs: @SuppressWarnings("unchecked")
      public static List<String> findSchemas(JdbcTemplate jdbcTemplate, final String schemaPattern) {
          try {
              if (StringUtils.isEmpty(schemaPattern)) {
                  return jdbcTemplate.query("show databases", new SingleColumnRowMapper(String.class));
              }
              return jdbcTemplate.query("show databases like ?",
                  new Object[] { schemaPattern },
                  new SingleColumnRowMapper(String.class));
          } catch (Exception e) {
              logger.error(e.getMessage(), e);
              return new ArrayList<String>();
          }
      }