-1

I tried to search for this but it seems the answer might now be true anymore. How can do connection pooling in java with sql server? I found the new jdbc driver of microsoft but there's no sample code to show to use it.

My Intek
  • 85
  • 1
  • 2
  • 5
  • 1
    You should try [C3P0](http://www.mchange.com/projects/c3p0/) or [Apache DBCP](https://commons.apache.org/proper/commons-dbcp/). Both pages have examples of usage. – Eugene Mar 09 '17 at 01:20

1 Answers1

1

Microsoft MSSQL-JDBC is now open sourced. You can see test cases used Hikari & Apache DBCP connection pool.

One can see PoolingTest.java and methods testApacheDBCP and testHikariCP.

For HikariCP and DBCP

Nikhil
  • 570
  • 5
  • 12