posted 7 years ago
After getting suggestions from Everyone to use libraries like c3p0 instead of writing own connection Pool, I have used c3p0 and its shown below:
I'm calling above code from service layer like this I have kept postgresql-9.4.1208 c3p0-0.9.5.2 mchange-commons-java-0.2.3.4 in classpath , but stll I got error as shown in pic. I 'm using java8 and postgressql9.4. Where I'm going wrong or suggest me some good links to use c3P0 effectively
2.JPG
What? Why? Where? When? Which?