sessions/next24/books-genai-vertex-springai/src/main/java/services/domain/dao/DataAccess.java [96:107]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, Object> findSummaries(Integer bookId) {
        String sql = "select\n" +
                "*\n" +
                "from\n" +
                "    bookSummaries where book_id = ? limit 10";
        Object[] parameters = new Object[]{bookId};
        List<Map<String, Object>> rows = jdbcTemplate.queryForList(sql, parameters);

        logger.info("number of rows: " + rows.size());

        return rows.size()==0 ? new HashMap<>() : rows.get(0);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/next24/books-genai-vertex-langchain4j/src/main/java/services/domain/dao/DataAccess.java [97:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, Object> findSummaries(Integer bookId) {
        String sql = "select\n" +
                "*\n" +
                "from\n" +
                "    bookSummaries where book_id = ? limit 10";
        Object[] parameters = new Object[]{bookId};
        List<Map<String, Object>> rows = jdbcTemplate.queryForList(sql, parameters);
        logger.info("number of rows: " + rows.size());
        return rows.size()==0 ? new HashMap<>() : rows.get(0);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/books-genai-vertex-langchain4j/src/main/java/services/domain/dao/DataAccess.java [97:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, Object> findSummaries(Integer bookId) {
        String sql = "select\n" +
                "*\n" +
                "from\n" +
                "    bookSummaries where book_id = ? limit 10";
        Object[] parameters = new Object[]{bookId};
        List<Map<String, Object>> rows = jdbcTemplate.queryForList(sql, parameters);
        logger.info("number of rows: " + rows.size());
        return rows.size()==0 ? new HashMap<>() : rows.get(0);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



