Would it be possible to add a function that would return a raw connection as opposed to the withConnection function? This would obviously come with ultimate responsibility on the caller to properly release the acquired connection. The notional acquire function could return the connection as well as a function that could be called to release the connection.
I have my own resource safety mechanism that won't fit with the existing API.
Thanks for your time and effort.
Would it be possible to add a function that would return a raw connection as opposed to the
withConnectionfunction? This would obviously come with ultimate responsibility on the caller to properly release the acquired connection. The notionalacquirefunction could return the connection as well as a function that could be called to release the connection.I have my own resource safety mechanism that won't fit with the existing API.
Thanks for your time and effort.