Print Thread
Type mismatch String x Memo
#8554 08/04/06 08:17 PM
Joined: Dec 2005
Posts: 17
A
Member
OP Offline
Member
A
Joined: Dec 2005
Posts: 17
Hi.

I'm getting a strange problems, using DOA 4 for Delphi 5, in a 9.2.0.4 Oracle Database. In all our customers, everything is working fine. But, in one of them, I'm getting a "Type mismatch for field 'FieldName', expecting: String actual: Memo".

Any ideas of what can cause that?

Thanks.


Adelson Smania
Mega Sistemas Corporativos
Re: Type mismatch String x Memo
#8555 08/07/06 08:18 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
Perhaps the underlying database column is different in this customer's database?


Marco Kalter
Allround Automations
Re: Type mismatch String x Memo
#8556 08/08/06 01:36 AM
Joined: Dec 2005
Posts: 17
A
Member
OP Offline
Member
A
Joined: Dec 2005
Posts: 17
Hi, Marco.

No, the columns are exactly the same. And it's a "generic" error, that occurs in several columns, of diferent tables. The problem occours after upgrading DOA version from 3.x to 4.x.


Adelson Smania
Mega Sistemas Corporativos
Re: Type mismatch String x Memo
#8557 08/08/06 09:56 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
But I assume that these customers use the same appliction version, built with Direct Oracle Access 4.x? And that one of them is experiencing the error?

If so, and if the column sizes are the same, please ensure that they use the same length semantics (e.g. one databases use byte length semantics, and another uses character length semantics).

There must be some difference.


Marco Kalter
Allround Automations
Re: Type mismatch String x Memo
#8558 08/15/06 08:19 PM
Joined: Dec 2005
Posts: 17
A
Member
OP Offline
Member
A
Joined: Dec 2005
Posts: 17
Hi, Marco.

Our DBA has found the problem. There's a bug in Oracle 9.2.0.4 that causes the wrong datatype problem, but that depends of some Oracle parameters.

We hadn't faced that problem in DOA 3.x because we forced OCI7 mode.

Thanks for your attention.


Adelson Smania
Mega Sistemas Corporativos
Re: Type mismatch String x Memo
#8559 08/15/06 09:44 PM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
Okay, thanks for letting me know.


Marco Kalter
Allround Automations

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.026s Queries: 13 (0.007s) Memory: 2.5187 MB (Peak: 3.0421 MB) Data Comp: Off Server Time: 2024-05-21 19:07:20 UTC
Valid HTML 5 and Valid CSS