https://bz.apache.org/bugzilla/show_bug.cgi?id=59569
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- 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: [email protected] For additional commands, e-mail: [email protected]
