Skip to content

Commit

Permalink
Correct docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dstepanov committed Oct 10, 2023
1 parent d08eb6a commit 78451e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import javax.sql.DataSource
@JdbcRepository(dialect = Dialect.H2)
abstract class AbstractBookRepository implements CrudRepository<@Valid Book, @NotNull Long> {

private final JdbcTemplate jdbcTemplate; //<2>
private final JdbcTemplate jdbcTemplate;

AbstractBookRepository(DataSource dataSource) { // <1>
this.jdbcTemplate = new JdbcTemplate(DelegatingDataSource.unwrapDataSource(dataSource)); //<2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@JdbcRepository(dialect = Dialect.H2)
public abstract class AbstractBookRepository implements CrudRepository<@Valid Book, @NotNull Long> {

private final JdbcTemplate jdbcTemplate; //<2>
private final JdbcTemplate jdbcTemplate;

public AbstractBookRepository(DataSource dataSource) { // <1>
this.jdbcTemplate = new JdbcTemplate(DelegatingDataSource.unwrapDataSource(dataSource)); //<2>
Expand Down

0 comments on commit 78451e0

Please sign in to comment.