Print Thread
Page 1 of 3 1 2 3
TOracleDataset fails on Oracle 10g
#8081 01/03/06 12:54 AM
Joined: Jan 2006
Posts: 10
R
Member
OP Offline
Member
R
Joined: Jan 2006
Posts: 10
Hi Marco,

Our application runs on Oracle 9.2.0.6.0 but does not run on Oracle 10.2.0.1.0.

When inserting records in a view using TOracleDataset we receive the following message: "Field RID must have a value". This view has a virtual column called RID. This column points to ROWID table column.

We do know that changing RequiredFields property to FALSE eliminates the problem on Oracle 10g, but why the application still works on Oracle 9i without any code change?

For example, the following select statement for SQL property WORKS on both Oracle 9i and 10g:

select a.col1, a.col2, ... , a.colN, a.rowid from view_name a

But the same select statement wrote in a different way DOES NOT WORK on Oracle 10g:

select a.*, a.rowid from view_name a

We are using DOA 4.0.7.1

Can you help us?

Best Regards.

Re: TOracleDataset fails on Oracle 10g
#8082 01/03/06 08:34 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Apparently the column is reported as "required". You will need to define it as an internally calculated fied (ftInternalCalc).


Marco Kalter
Allround Automations
Re: TOracleDataset fails on Oracle 10g
#8083 01/03/06 10:05 PM
Joined: Jan 2006
Posts: 10
R
Member
OP Offline
Member
R
Joined: Jan 2006
Posts: 10
Hi Marco,

Thanks for the reply.

We understood your proposal, but why our appliction still runs on Oracle 9i without any source code modification? Is this TOracleDataset behavior on Oracle 10g indicating a possible bug, maybe in DOA source code?

Considering that our applications is too big to share in the modifications proposed, is there another solution we should try to make it work on Oracle 10g? Perhaps an easy one, with some simple implementation in DOA source code?

Best Regards.

Re: TOracleDataset fails on Oracle 10g
#8084 01/04/06 11:16 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
The symptoms suggest that this is a behavioral change in Oracle10g. We'd have to look into this first before I can answer this. If you could send me a small testcase to reproduce the issue?


Marco Kalter
Allround Automations
Re: TOracleDataset fails on Oracle 10g
#8085 01/05/06 09:10 PM
Joined: Jan 2006
Posts: 10
R
Member
OP Offline
Member
R
Joined: Jan 2006
Posts: 10
Hi Marco,
We have sent you the testcase by email.
We are waiting for your results.
Best Regards.

Re: TOracleDataset fails on Oracle 10g
#8086 01/06/06 12:10 AM
Joined: Jan 2006
Posts: 2
S
Member
Offline
Member
S
Joined: Jan 2006
Posts: 2
can odac connect to column of ordaudio type of inermedia oracle database

Re: TOracleDataset fails on Oracle 10g
#8087 01/06/06 03:34 PM
Joined: Jan 2006
Posts: 2
S
Member
Offline
Member
S
Joined: Jan 2006
Posts: 2
can odac table comopnent conect to an oracle 9i column of ordvideo type

Re: TOracleDataset fails on Oracle 10g
#8088 01/11/06 04:24 PM
Joined: Jan 2006
Posts: 10
R
Member
OP Offline
Member
R
Joined: Jan 2006
Posts: 10
Hi Marco,
Did you reproduce the problem in Oracle 10g?
Best Regards.

Re: TOracleDataset fails on Oracle 10g
#8089 02/01/06 06:06 PM
Joined: Jan 2006
Posts: 10
R
Member
OP Offline
Member
R
Joined: Jan 2006
Posts: 10
frown
Hi Marco,
Is there any patch to solve this problem?
Best Regards.

Re: TOracleDataset fails on Oracle 10g
#8090 02/06/06 11:45 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Sorry for the delay. We'll hopefully have a patch available shortly.


Marco Kalter
Allround Automations
Page 1 of 3 1 2 3

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.092s Queries: 14 (0.028s) Memory: 2.5559 MB (Peak: 3.0378 MB) Data Comp: Off Server Time: 2024-05-06 06:34:52 UTC
Valid HTML 5 and Valid CSS