File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
jdbi/src/main/java/zin/rashidi/boot/jdbi/configuration Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11package zin .rashidi .boot .jdbi .configuration ;
22
3+ import com .zaxxer .hikari .HikariDataSource ;
34import org .jdbi .v3 .core .Jdbi ;
45import org .jdbi .v3 .postgres .PostgresPlugin ;
56import org .jdbi .v3 .spring .EnableJdbiRepositories ;
67import org .jdbi .v3 .sqlobject .SqlObjectPlugin ;
78import org .springframework .context .annotation .Bean ;
89import org .springframework .context .annotation .Configuration ;
910
10- import javax .sql .DataSource ;
11-
1211/**
1312 * @author Rashidi Zin
1413 */
1716public class RepositoryConfiguration {
1817
1918 @ Bean
20- public Jdbi jdbi (DataSource dataSource ) {
19+ public Jdbi jdbi (HikariDataSource dataSource ) {
2120 return Jdbi .create (dataSource )
2221 .installPlugin (new PostgresPlugin ())
2322 .installPlugin (new SqlObjectPlugin ());
You can’t perform that action at this time.
0 commit comments