πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4364

Re: From BDE to ADO

#4364
From: Arnie Mauer
Date: Tue, 15 Jan 2002 14:32
56 lines
2740 bytes
Hi Renato,
Please see my comments below.

"Renato Martins" <renato@griaule.com.br> wrote in message
news:3c435a77_2@dnews...
> Well, I've recently ran into lots of trouble with BDE. In particular, with
> some strange versions of Oracle client, among other things.

We also use Oracle.  BDE proved unreliable when, for example, a service app
that runs *forever* uses the BDE.  It loses memory and stops working.

>
> And, given the fact BDE will not have no more updates (only bug fixes),
I've
> decided to start using ADO.

I don't think they even do bug fixes any more.  They certainly couldn't help
me.

>
> Is it a hard migration? I basically use some TDatabase, TTable, TQuery,
and
> one TBatchMove. No data controls in my app (itοΏ½s sort of a service app).

We converted last year.  175 executables and over 350 forms.  Yes, it was a
bit painful.  Some things work a bit differently, some object methods are
different or not available.  We didn't use TBatchMove or TTable at all.
It's largely a function of how much code you have.

> Is there any site, paper or something which helps describing the migration
> path? I already use ADO, in ASP development. From what I saw of the
> components, it seems very similar...

I don't know of any.

>
> Will ADO connect easily with **any** database? Or are there some
> database-specific issues to be addressed?

Yes and no.  Not all DB vendors have an OLEDB provider available and some
that do are sadly lacking in functionality.  We use Oracle's OLEDB provider
(v8.1.7, didn't work well in 8.1.6) with reasonable success.  But IBM's DB2
OLEDB provider doesn't support BLOBs so we have to use the MS generic OLEDB
provider for ODBC, and IBM's ODBC driver for DB2.  Kind of goes down hill
from there.

Good luck!
- Arnie

>
> Any help would be greatly appreciated.
>
> Thanks,
> Renato
>
>
Technical Details
Message-ID: <3c443d95$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3c435a77_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,cd889a0ad2c1c4f0
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-15 06:37:58 PST
From: "Arnie Mauer" <amauer@vrms.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3c435a77_2@dnews>
Subject: Re: From BDE to ADO
Date: Tue, 15 Jan 2002 09:32:53 -0500
Lines: 58
Organization: VRMS
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 209.140.211.97
Message-ID: <3c443d95$1_1@dnews>
X-Trace: dnews 1011105173 209.140.211.97 (15 Jan 2002 06:32:53 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews