please tell me. How can I configure the \"Hikari connection pooling + Hibernate 4.3.8 + Spring Data JPA configuration\"? Here is my configuration, but for some reason I am sure
We can also use it like below in customized JPAConfiguration class where you are establishing connection and creating entity Manager Factory object.
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
@Bean
public DataSource dataSource() {
// In classpath from spring-boot-starter-web
final Properties props = new Properties();
props.put("driverClassName", "com.mysql.jdbc.Driver");
props.put("jdbcUrl", "jdbc:mysql://localhost:3306/master?createDatabaseIfNotExist=true");
props.put("username", "root");
props.put("password", "mysql");
HikariConfig hc = new HikariConfig(props);
HikariDataSource ds = new HikariDataSource(hc);
return ds;
}