From: Bill H. <bi...@lo...> - 2004-03-24 12:56:44
|
Hi, On Wed, 2004-03-24 at 12:31, Christian Nedreg=E5rd wrote: > > Sounds par for the course. > Eh? You've reached the borders of my understanding of English mate ;) It's a golfing reference :) It means "what you would expect". > It means that the cast might work when you are using one version of > the Oracle driver, and then break when you change driver version, wich > will be extremely confusing to the user. Is it true that later versions use interfaces and earlier versions don't? If so, then I think it is fine.=20 > It's flabby (something that might work with a particular driver > version from a few of the vendors). I don't like flabby, but I won't > veto this either. I prefer to think of the drivers as flabby :) I think they should write their APIs to interfaces. But it would require some FAQ entries. Like: Q - Why can't I cast the Connection to an OracleConnection? A - You need to upgrade to version 8.x.y or later. Or if we felt like being a bit more general: Q - Why can't I cast the Connection to an XyzConnection? A - Proxool's Connection only implements public interfaces provided by the driver. If XyzConnection isn't an interface then you can't cast it. - Bill |