[
https://issues.apache.org/jira/browse/DBCP-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Balazs Zsoldos updated DBCP-380:
--------------------------------
Attachment: DelegatingConnection.java.patch
With the tiny patch applied the isWrappedFor function will work well even with
JDBC drivers that do not implement this function (e.g. Postgres 9.1 or H2)
> DelegatingConnection isWrapperFor dies on older JDBC drivers
> ------------------------------------------------------------
>
> Key: DBCP-380
> URL: https://issues.apache.org/jira/browse/DBCP-380
> Project: Commons Dbcp
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Balazs Zsoldos
> Attachments: DelegatingConnection.java.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The isWrapperFor function simply calls towards to the delegated connection
> iswrappedfor function instead of checking the result first by hand like in
> the unwrap function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira