How can we create multiple connection to one database from a single java program ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we create multiple connection to one database from a single java program ?

How to implement connection pool concept

14th Apr 2021, 3:43 PM
DevPS
DevPS - avatar
1 Answer
+ 4
Some resources to get you started. This topic is a bit too advanced for SoloLearn because the java code playground does not support external libraries.. so we can't really try or test these concepts here :( https://stackoverflow.com/questions/2826212/need-code-to-create-connection-pool-in-java https://www.baeldung.com/java-connection-pooling https://www.baeldung.com/spring-boot-hikari
20th Apr 2021, 10:32 AM
Tibor Santa
Tibor Santa - avatar