On 8/20/05, Oleg Broytmann <phd@...> wrote:
> On Sat, Aug 20, 2005 at 02:43:12PM +0200, Paul K?lle wrote:
> > I noticed a few exceptions coming straight from the db, namely
> > IntegrityError
> DB API drivers can raise also OperationalError, ProgrammingError and
> other errors. To what exception should SQLObject convert them?
Start with a subset all supported DBs share.
> Is it ok to loose the distinction between one error and another?
No. Hmm, depends. If two databases handle the same error on the DB
level but give it a different name it might be appropriate to unify
> > It somewhat ruins
> > database abstraction IMHO.
> SQLObject does not guarantee full DBMS independence. I am not sure if =
> should try.
I'll see what I will get.
> > Is there a
> > preferred way/place to add this code?
> dbconnection.py. Especially DBAPI._executeRetry().
> Oleg Broytmann http://phd.pp.ru/ phd@...
> Programmers don't die, they just GOSUB without RETURN.