Print Thread
DOA - Delphi errors with Oracle 21
#65506 03/11/24 10:38 PM
Joined: Jun 2006
Posts: 27
Albania, Tirana
A
altink Offline OP
Member
OP Offline
Member
A
Joined: Jun 2006
Posts: 27
Albania, Tirana
Hello

I do use a registered DOA version in my Delphi application, and do experience errors with Oracle 21.

Error 1:
<TOracleDataset name>: Type mismatch for field '<field_name>', expecting DateTime actual: WideString

The <field_name> is a TIMESTAMP(6) in a table that also has three CLOB fields.
Happens when I query from my Delphi application:
select <field_name>, field2, field3, .... from <my_table>

Error 2:
A query with LOB's requires OCI8 mode, but OCI7 mode is used

Happens when I query the same table from my Delphi application:
select t.* from <my_table> t where t.rowid = chartorowid ....

DOA version:
4.1.3.5
Oracle Client:
11 and 19 (both 32 bit) - have not tried others
Oracle DB version:
21.3.0.0.0
Delphi:
10.1 (Berlin)

At your disposal for further info

Please advise

best regards
Altin

Re: DOA - Delphi errors with Oracle 21
altink #65511 03/12/24 10:17 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Both errors have the same cause. You will need to update to Direct Oracle Access 4.1.4 for Oracle21c compatibility.


Marco Kalter
Allround Automations
Re: DOA - Delphi errors with Oracle 21
altink #65512 03/12/24 09:19 PM
Joined: Jun 2006
Posts: 27
Albania, Tirana
A
altink Offline OP
Member
OP Offline
Member
A
Joined: Jun 2006
Posts: 27
Albania, Tirana
Thank You Mr. Kalter

Is DOA 4.1.4 a stable version?

Asking because on product page
https://www.allroundautomations.com/products/direct-oracle-access/

... under "System requirements", I read:
"The supported Oracle Server versions are 7.x, 8.x, 8i, 9i, 10g, 11g, 12c, 18c and 19c on any platform."

No mention of Oracle 21.

And also:
"Direct Oracle Access is available for all recent versions of Delphi"

Is Delphi 10.1 Berlin supported?

best regards
Altin

Re: DOA - Delphi errors with Oracle 21
altink #65513 03/13/24 09:56 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
We'll update the system requirements!

Oracle 21c and 23c are supported by 4.1.4, which is indeed a stable version. All RAD Studio versions up to version 12 are supported, including 10.1.

Last edited by Marco Kalter; 03/13/24 09:56 AM.

Marco Kalter
Allround Automations
Re: DOA - Delphi errors with Oracle 21
Marco Kalter #65584 03/27/24 06:21 PM
Joined: Jun 2006
Posts: 27
Albania, Tirana
A
altink Offline OP
Member
OP Offline
Member
A
Joined: Jun 2006
Posts: 27
Albania, Tirana
Thank You very much Mr. Kalter

One last question:
Does DOA 4.1.4 supports Oracle 10g release 2 ?

best regards
Altin

Re: DOA - Delphi errors with Oracle 21
altink #65586 03/28/24 09:26 AM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
Yes, this will work fine.


Marco Kalter
Allround Automations
Re: DOA - Delphi errors with Oracle 21
altink #65590 03/28/24 10:52 PM
Joined: Jun 2006
Posts: 27
Albania, Tirana
A
altink Offline OP
Member
OP Offline
Member
A
Joined: Jun 2006
Posts: 27
Albania, Tirana
Thank You very much Mr. Kalter

For sure I will buy and upgrade to DOA 4.1.4. Can't think of working Delphi->Oracle without it.
Same for PL/SQL Developer.

Keep the great job

best regards
Altin


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.110s Queries: 16 (0.019s) Memory: 2.5225 MB (Peak: 3.0395 MB) Data Comp: Off Server Time: 2024-04-27 13:43:14 UTC
Valid HTML 5 and Valid CSS