Re: Presenting the Proxy Based DataSource

2003-03-07 Thread Torsten Curdt
The ESQL logicsheet could easily be altered (invisibly to the user) so that calls to Connection are using the Connection object and calls to the new methods are using the holder class. True. I'll have a look.. Will do this ASAP -- Torsten

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Berin Loritsch
Sylvain Wallez wrote: Berin Loritsch wrote: Sylvain Wallez wrote: Berin Loritsch wrote: So it seems to me that a simple way to avoid this JDBC mess (at least in Cocoon) would be for ESQLConnection to _hold_ a Connection instead of _extending_ it. For ESQLConnection, definitely. For Excalibu

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Sylvain Wallez
Berin Loritsch wrote: Sylvain Wallez wrote: Berin Loritsch wrote: So it seems to me that a simple way to avoid this JDBC mess (at least in Cocoon) would be for ESQLConnection to _hold_ a Connection instead of _extending_ it. For ESQLConnection, definitely. For Excalibur DataSource, it exten

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Torsten Curdt
...you mean the EsqlConnection should not implement Connection? Shocking isn't it? =8-O yes! :) And what new methods should it use? I don't have the slightest idea :) The ESQL logicsheet could easily be altered (invisibly to the user) so that calls to Connection are using the Connection object a

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Berin Loritsch
Torsten Curdt wrote: Berin Loritsch wrote: Sylvain Wallez wrote: Berin Loritsch wrote: So it seems to me that a simple way to avoid this JDBC mess (at least in Cocoon) would be for ESQLConnection to _hold_ a Connection instead of _extending_ it. ...you mean the EsqlConnection should not impl

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Torsten Curdt
Berin Loritsch wrote: Sylvain Wallez wrote: Berin Loritsch wrote: So it seems to me that a simple way to avoid this JDBC mess (at least in Cocoon) would be for ESQLConnection to _hold_ a Connection instead of _extending_ it. ...you mean the EsqlConnection should not implement Connection? For E

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Berin Loritsch
Sylvain Wallez wrote: Berin Loritsch wrote: So it seems to me that a simple way to avoid this JDBC mess (at least in Cocoon) would be for ESQLConnection to _hold_ a Connection instead of _extending_ it. For ESQLConnection, definitely. For Excalibur DataSource, it extends the close() and isClose

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Sylvain Wallez
Berin Loritsch wrote: Sylvain Wallez wrote: Berin Loritsch wrote: Please cross check this version of the Excalibur DataSource, and see if it works just as well as the old version. If so, I will commit my changes and we will all be happier. Of particular interest: This was compiled on JDK 1.4,

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Berin Loritsch
Sylvain Wallez wrote: Berin Loritsch wrote: Please cross check this version of the Excalibur DataSource, and see if it works just as well as the old version. If so, I will commit my changes and we will all be happier. Of particular interest: This was compiled on JDK 1.4, please make sure it work

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Berin Loritsch
Ulrich Mayring wrote: Berin Loritsch wrote: Please cross check this version of the Excalibur DataSource, and see if it works just as well as the old version. If so, I will commit my changes and we will all be happier. Of particular interest: This was compiled on JDK 1.4, please make sure it work

Re: Presenting the Proxy Based DataSource

2003-03-05 Thread Sylvain Wallez
Berin Loritsch wrote: Please cross check this version of the Excalibur DataSource, and see if it works just as well as the old version. If so, I will commit my changes and we will all be happier. Of particular interest: This was compiled on JDK 1.4, please make sure it works with JDK 1.3. I wan