The server selected protocol version TLS10 is not accepted by client preferences

Problem: TLS 1.0 is not supported in Java 1.8 and above.
To connect to SQL server 2014 and below servers, you need to send TLS 1.0…