Re: Details of connection pooling

2020-11-20 Thread Phil Steitz
On 11/20/20 10:25 AM, Rob Sargent wrote: I'm using tomcat 9.0.+ and wish to use the built in connection pooling to connect to a postgres server. I would like to understand the lookup mechanism for the next available connection. I create a context    contextResource.setName("jdbc/sgsdb");   

Details of connection pooling

2020-11-20 Thread Rob Sargent
I'm using tomcat 9.0.+ and wish to use the built in connection pooling to connect to a postgres server. I would like to understand the lookup mechanism for the next available connection. I create a context contextResource.setName("jdbc/sgsdb"); contextResource.setType("javax.sql.DataSou