Subject | Re: [IB-Architect] Re: New API -- Request for Comments |
---|---|
Author | Doug Chamberlin |
Post date | 2000-05-30T22:22:37Z |
At 5/30/00 06:03 PM (Tuesday), Jim Starkey wrote:
defined as interfaces? Or does C++ not have interfaces?
> >C. "Connection *connection = createConnection();"Shouldn't Connection - and all the other purely abstract classes - be
> >So you prefer to ban things like "Connection* connection = new
> >Connection();" ?
> >Or "Connection connection;" ?
> >Anyway, we at least require some releaseConnection() or freeConnection() to
> >free resources, then.
> >
>
>First, that won't compile because Connection is an abstract class --
>it is a pure interface with no code behind it. The actual Connection
>object will be a subclass of Connection substantiated by a Jdbc
>driver/subsystem.
defined as interfaces? Or does C++ not have interfaces?