From: Bill H. <bi...@lo...> - 2004-03-24 21:49:22
|
On Wed, 2004-03-24 at 21:33, Bertrand Renuart wrote: > Except, to be easy to use, the StrangeConnectionIF should somehow extend > java.sql.Connection - otherwise the guy will have to recast all the time - > but this is up to him to sort it out ;-) Good point for documentation though. > BUT, you then have to be carefull when building your proxy because you may > have several interfaces to implement that extend the same parent > (java.sql.Connection) - not sure it is a problem... It isn't. > And we should also include the following extensions: > > <resultset-interface> > com.outside.jdbc.StrangeResultSetIF > </resultset-interface> Not needed. We don't proxy the ResultSet. At least, not yet. > <statement-interface> > com.outside.jdbc.StrangeStatementIF > </statement-interface> And PreparedStatement and CallableStatement. - Bill |