sessions/next24/books-genai-vertex-springai/src/main/java/services/domain/dao/DataAccess.java [197:207]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Integer insertAuthor(String bio, String author) {
        final Map<String, Object> parameters = new HashMap<>();
        parameters.put("bio", bio);
        parameters.put("name", author);
        SimpleJdbcInsert insertIntoAuthors = new SimpleJdbcInsert(jdbcTemplate).withTableName("authors")
                .usingColumns("bio", "name")
                .usingGeneratedKeyColumns("author_id");
        Number authorId = insertIntoAuthors.executeAndReturnKey(parameters);

        return Integer.valueOf(authorId.intValue());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/next24/books-genai-vertex-langchain4j/src/main/java/services/domain/dao/DataAccess.java [186:196]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Integer insertAuthor(String bio, String author) {
        final Map<String, Object> parameters = new HashMap<>();
        parameters.put("bio", bio);
        parameters.put("name", author);
        SimpleJdbcInsert insertIntoAuthors = new SimpleJdbcInsert(jdbcTemplate).withTableName("authors")
                .usingColumns("bio", "name")
                .usingGeneratedKeyColumns("author_id");
        Number authorId = insertIntoAuthors.executeAndReturnKey(parameters);

        return Integer.valueOf(authorId.intValue());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/books-genai-vertex-springai/src/main/java/services/domain/dao/DataAccess.java [203:213]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Integer insertAuthor(String bio, String author) {
        final Map<String, Object> parameters = new HashMap<>();
        parameters.put("bio", bio);
        parameters.put("name", author);
        SimpleJdbcInsert insertIntoAuthors = new SimpleJdbcInsert(jdbcTemplate).withTableName("authors")
                .usingColumns("bio", "name")
                .usingGeneratedKeyColumns("author_id");
        Number authorId = insertIntoAuthors.executeAndReturnKey(parameters);

        return Integer.valueOf(authorId.intValue());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/books-genai-vertex-langchain4j/src/main/java/services/domain/dao/DataAccess.java [186:196]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Integer insertAuthor(String bio, String author) {
        final Map<String, Object> parameters = new HashMap<>();
        parameters.put("bio", bio);
        parameters.put("name", author);
        SimpleJdbcInsert insertIntoAuthors = new SimpleJdbcInsert(jdbcTemplate).withTableName("authors")
                .usingColumns("bio", "name")
                .usingGeneratedKeyColumns("author_id");
        Number authorId = insertIntoAuthors.executeAndReturnKey(parameters);

        return Integer.valueOf(authorId.intValue());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



