Re: Lost connection
- From: "Arjan de Haan \(ha\)" <2x nospam nospam adwhaan AT hotpop.com>
- Date: Thu, 28 Jun 2007 16:24:07 +0200
"BlueGI" <giwachow@xxxxxxxxxxx> schreef in bericht news:4683b04a@xxxxxxxxxxxxxxxxxxxxxxxxx
Why not have a common Open/Exec method that has logging, retries and exception handling?
That way the only change is to call this method whereever the other queries call their
own Open or ExecSQL statements. The retries would be triggered by an exception, which
would close and reopen the connection before trying again without the user knowing
anything. Large systems should have a common logging area. Makes debugging much
easier.
That's how I implemented the last data access layer. Implicit reconnects, and not one
application how will notice (other than a longer than usual delay before data is
returned)....
....Arjan...
.
- References:
- Re: Lost connection
- From: Arjan de Haan \(ha\)
- Re: Lost connection
- From: Arjan de Haan \(office\)
- Re: Lost connection
- From: BlueGI
- Re: Lost connection
- Prev by Date: Re: Lost connection
- Next by Date: Re: Off line usage - Briefcase
- Previous by thread: Re: Lost connection
- Next by thread: Re: Off line usage - Briefcase
- Index(es):