after upgrading to 9.5 we are getting ORA-00928 when inserting records into some queries.
The problem seems to be caused by missing TableInfo references in FieldDefs.
I will send a test project to [email protected]
Here is the DDL to prepare the schema
Code: Select all
DACProductName DACVersion: ODAC 9.5.16
------------------------------------------------------------
Preparing Schema ...
OCIVersion: 11203
begin
begin
execute immediate 'drop table odac_updtable_error cascade constraints';
exception when others then null;
end;
begin
execute immediate 'create table odac_updtable_error
(
DOKU_VERWEIS_ID NUMBER(18, 0) CONSTRAINT XNNodac_updtable_error1 NOT NULL,
DOKU_ID NUMBER(18, 0),
TAB_NAME VARCHAR2(30 BYTE),
TAB_ID NUMBER(18, 0),
-- ERST_ID NUMBER(18, 0),
-- ERST_DATUM DATE,
-- BEARB_ID NUMBER(18, 0),
-- BEARB_DATUM DATE,
CONSTRAINT XPKodac_updtable_error PRIMARY KEY (DOKU_VERWEIS_ID) USING INDEX
)';
--exception when others then null;
end;
end;
============================================================
Code: Select all
SELECT
T.*
FROM
( SELECT
T.*,
:P_TAB_KEY PAM$ZUORD_KEY_TAB,
:P_TAB_DETAIL PAM$ZUORD_DETAIL_TAB,
:P_FORM_ID PAM$ZUORD_FORM_ID,
''||DOKU_ID KEY_LOOKUP,
''||TAB_ID TAB_LOOKUP
--
FROM
odac_updtable_error T
--
WHERE
:P_KEY_ID = DECODE(0, 1, DOKU_ID, TAB_ID)
AND TAB_NAME LIKE NVL(:P_TAB_DETAIL, '%') /* M_MULTITAB */
) T
WHERE 1=1
--
--
--
OCIVersion: 11203
------------------------------------------------------------
OracleVersion: 11.2.0.3.0
OraCall.OCIUnicode: True
Options.Direct: False
Options.UseUnicode: True
Time to open: 1422ms
RecordCount: 0
Time to fetch: 0ms
Exception [EOraError]: ORA-00928: Schlüsselwort SELECT fehlt
Andre