Mohammed Bekraoui created DBCP-592:
--------------------------------------

             Summary: Add support for beginRequest and endRequest from JDBC 4.3
                 Key: DBCP-592
                 URL: https://issues.apache.org/jira/browse/DBCP-592
             Project: Commons DBCP
          Issue Type: Improvement
            Reporter: Mohammed Bekraoui


JDBC 4.3 introduced two new methods, 
[beginRequest|https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html#beginRequest]
 and 
[endRequest|https://docs.oracle.com/javase/9/docs/api/java/sql/Connection.html#endRequest--],
 which connection pools can use to mark request boundaries.
According to JavaDoc, these methods signal to the driver that a connection is 
active, the driver's response is specific to the vendor and it may not do 
anything.
Goal is to make DBCP invoke beginRequest when a connection is borrowed and 
endRequest when the connection is returned to the pool.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to