Javadoc
SinglePoolConnectionInterceptor chooses a single connection from the pool. If selectOneAssumeMatch
is true, it simply returns the selected connection.
THIS SHOULD BE USED ONLY IF MAXIMUM SPEED IS ESSENTIAL AND YOU HAVE THOROUGLY CHECKED THAT
MATCHING WOULD SUCCEED ON THE SELECTED CONNECTION. (i.e., read the docs on your connector
to find out how matching works)
If selectOneAssumeMatch is false, it checks with the ManagedConnectionFactory that the
selected connection does match before returning it: if not it throws an exception.