https://bz.apache.org/bugzilla/show_bug.cgi?id=59569

martin.gantenb...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.gantenb...@gmail.com

--- Comment #1 from martin.gantenb...@gmail.com ---
This bug affects Tomcat DataSources used in a wrapping DataSource (example:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/jdbc/datasource/DelegatingDataSource.html).

If you wrap a Tomcat DataSource in such a DataSource, there are the following
problems:

1. wrapper.isWrapperFor(org.apache.tomcat.jdbc.pool.DataSource.class) wrongly
returns false
2. wrapper.unwrap(org.apache.tomcat.jdbc.pool.DataSource.class) wrongly returns
null instead of the Tomcat DataSource
3. wrapper.unwrap(org.apache.tomcat.jdbc.pool.DataSource) wrongly returns null
instead of throwing an SQLException

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to