Hi!
> ConnectionManagerDataSource doesn't compile with java1.6, because Sun
> added a new ancestor interface ("Wrapper") to DataSource:-(. 
> The new methods are isWrapperFor and unwrap.
>
> I think the best solution is just to add stub implementations of the new
> methods that throw UnsupportedOperationException.
>   
Ok, should be done.

> The alternative is for our implementations to use reflection on the
> underlying DataSource object to determine whether the methods are there
> at runtime, and if so then forward the call to the underlying
> datasource. This is quite doable, but probably not necessary.
>   
Yes, lets keep this thing once we really need it.
Btw: do one know a concrete example whats the java.sql.Wrapper is good
for? For me it sounds a little bit "hacky" to provide a way to bypass
the proxy.

Ciao,
Mario

Reply via email to