Article View: borland.public.cppbuilder.database.ado
Article #4745Re: Reading back Field Names that use MDSYS.SDO_GEOMETRY data type
From: John McDonald
Date: Thu, 11 Oct 2001 15:49
Date: Thu, 11 Oct 2001 15:49
48 lines
2811 bytes
2811 bytes
Graham, When using Oracle spatial w/ADO you should definately be using the proper Oracle OLE DB Provider with a connection string that would look similar too: Provider=OraOLEDB.Oracle;Data Source=this.that.com;User ID=user_id;Password=passwd;Persist Security Info=True;DistribTX=0 Look at your connection string to see what provider your using with ADO. http://technet.oracle.com has a specific download for OLE DB Provider and I'm almost sure that ADO would not understand the spatial column in your table with the correct provider. Other than that, I always have the same problem your experiencing if I try to use BDE on Oracle tables with spatial columns. Rgds, John On Wed, 10 Oct 2001 10:10:17 +0100, "Graham Reeds" <grahamr@omnieng.co.uk> wrote: >> Did you install Oracle's ole db provider from http://technet.oracle.com >for use >> with ADO or are you using a different provider?? > >I believe I am using the standard ADO functions that comes with Builder5. I >didn't install the Oracle Developer tools on my machine, a colleague did who >happens to be away for a week. I do have the 'OLE DB User's Guide, Release >8.1.6' installed so I guess I do. However I am using the ADO components >from within Borland which appear to be the same as a machine without Oracle >Developer Tools installed. > >This is becoming really annoying now as I have the data in the database but >currently have no way of effeciently querying it and is generally holding me >up. I have tried explicitly using the ADOTable->GetFieldNames(); function >but that doesn't work (same error message), and switched to the for(;;) loop >to try and get better info on what is going on, but I guess it is the code >hidden within the ADOTable->Active that is killing it. > >-- > >Yours faithfully, Graham Reeds. >grahamr@omnieng.co.uk | http://omnieng.co.uk/ > >
Technical Details
Message-ID:
<3bc5bd74.7044877@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3bc2f3f4_1@dnews> <3BC37F6C.27A981AF@airtalk.com> <3bc410f0_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,96caeb4bff8ec055 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-10-11 08:59:41 PST From: mcdonald@airtalk.com (John McDonald) Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Reading back Field Names that use MDSYS.SDO_GEOMETRY data type Date: Thu, 11 Oct 2001 15:49:32 GMT Organization: System Studies, Inc. Message-ID: <3bc5bd74.7044877@newsgroups.borland.com> References: <3bc2f3f4_1@dnews> <3BC37F6C.27A981AF@airtalk.com> <3bc410f0_2@dnews> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 209.78.255.235 X-Trace: dnews 1002815466 209.78.255.235 (11 Oct 2001 08:51:06 -0700) Lines: 49 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews