How to use connection pool with Spring Boot + Mybatis

I am learning Spring Boot and I have created a simple application.

I use the following maven dependencies:

spring-boot-starter-parent:2.0.1.RELEASE

mybatis-spring-boot-starter:1.3.2

I would like to use connection pool to increase the speed of my application but I am not sure how to configure Spring Boot and MyBatis for this use case.

Before that I used Java EE + application server and I configured mybatis via mybatis.xml file to use JNDI data source. The connection pool was provided by application server.

But now, I am a little bit confused where to put database connection parameters because there are...

Read More »

By: StackOverFlow - Saturday, 14 April

Related Posts