ORA-00904 ERROR
Posted: Thu 14 Jan 2010 21:34
We are upgrading our application from Delphi 2005 to Delphi 2010. We are using ODAC version 5.55.1.22 on Delphi 2005 , we purchased latest version of ODAC professional(odac 6.9) for Delphi 2010.
On latest version of ODAC we are getting ORA-00904 error on OraTable.Insert on parent table of parent- child relationship tables( 9 tables in hirerachy). It begins with OraSession.StartTransaction, then ParentTable.Insert, that puts all children tables in Insertmode. Parent Child relation is established by MasterSource, Master fields on OraTables. It works fine with old ODAC version under Delphi 2005. On dbmonitor it shows error on following SQL after parent table is in insert mode.
SELECT N, Y, R, N, N FROM Dual
We are not using Dual in our application other than to get nextval of sequence and that also not used in the above insert statement.
Oracle database: Oracle 10g 10.2.0.1.0
Any help to resolve the issue ASAP will be highly appreciated.
Thanks,Praveen.
On latest version of ODAC we are getting ORA-00904 error on OraTable.Insert on parent table of parent- child relationship tables( 9 tables in hirerachy). It begins with OraSession.StartTransaction, then ParentTable.Insert, that puts all children tables in Insertmode. Parent Child relation is established by MasterSource, Master fields on OraTables. It works fine with old ODAC version under Delphi 2005. On dbmonitor it shows error on following SQL after parent table is in insert mode.
SELECT N, Y, R, N, N FROM Dual
We are not using Dual in our application other than to get nextval of sequence and that also not used in the above insert statement.
Oracle database: Oracle 10g 10.2.0.1.0
Any help to resolve the issue ASAP will be highly appreciated.
Thanks,Praveen.