Technologies used : Spring Boot 2.1.2.RELEASE Spring JDBC 5.1.4.RELEASE Previous JDK versions that wanted to use SSL could make use of the additional JSSE library, but it does not support the full range of features utilized by the PostgreSQL ™ JDBC driver. Only the JDBC 3 driver supports SSL.The 1.4 JDK was the first version to come bundled with SSL support. When you deal with mySQL database you can make and additional speed improvement. In order to make sure you don’t run out of memory you have to executeBatch method from time to time. Configure access to your database using one of the connection options (see below) Click. In the top left, click, then select Data Source. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'.
According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set.