[Zope-dev] Catching (external database connectivity) specific
exceptions
Dieter Maurer
dieter at handshake.de
Mon Mar 29 17:45:52 EST 2004
Chris Withers wrote at 2004-3-29 16:54 +0100:
>Clemens Robbenhaar wrote:
>> But it is a base exception class in ZOracleDA, however. Thus the
>> product using it need to explicitely import this exception, and thus
>> explicitely depend on the used relational database; code needs to be
>> rewritten if one exchanges the external data base.
>
>So, you got sucked into the myth of SQL too? ;-)
>You'll need to rewrite at least some of your SQL if you change backends, so I
>don't see this as a huge problem...
What an argument :-(
As you need to change *something*, why bother with ideas to
change as little as possible.
--
Dieter
More information about the Zope-Dev
mailing list