ORA-02291 Error on delete with cascade

Hello guys! I have a mastertable called TBL_VEG_MAINDATA (PK cnt_veg_maindata) and a subtable TBL_VEG_SUBDATA, which references the parent pk column using a foreign key. The foreign key is set to cascade on delete. Hence when I delete a parent entry, all related datsets in my subtable should be automatically deleted as well. Nevertheless, whenever I delete a parent record from TBL_VEG_MAINDATA, I stumble upon an integrity constraint (parent key not found).
In fact I expect the rdbms to automatically forward the delete request to the subtable when the parent dataset is deleted.
Do you have an idea what I am doing wrong?
A million thanks in advance!
Brgds,
Seb

Hi SBH!
Thanks for your answer! I posted the complete table definitions below, including constraints and triggers in order to avoid missing anything!
I have no clue as to why it doesn't work in this case. Never had this problem before.
CREATE TABLE  "TBL_VEG_MAINDATA"
   (     "CNT_VEG_MAINDATA" NUMBER NOT NULL ENABLE,
     "LNG_GEBIET" VARCHAR2(10 CHAR) NOT NULL ENABLE,
     "STR_LRT_CLASS" VARCHAR2(8 CHAR) NOT NULL ENABLE,
     "INT_BEARBEITER" NUMBER(3,0),
     "INT_SEALEVEL" NUMBER(4,0),
     "STR_EXPOSITION" VARCHAR2(2 CHAR),
     "INT_INKLINATION" NUMBER(8,0),
     "STR_COMMENT" VARCHAR2(255 CHAR),
     "INT_VEG_RECORD" NUMBER(2,0) NOT NULL ENABLE,
     "DATE_SAVEDATE" DATE,
     "INT_TK" NUMBER(8,0),
     "INT_R" NUMBER(8,0),
     "INT_H" NUMBER(8,0),
     "INT_FLAECHE" NUMBER(5,2),
     "STR_COVERAGE_COMMENT" VARCHAR2(255 CHAR),
     "STR_VERFAHREN" VARCHAR2(3),
      CONSTRAINT "TBL_VEG_MAINDATA_PK" PRIMARY KEY ("CNT_VEG_MAINDATA") ENABLE,
      CONSTRAINT "CON_UQ_TBL_VEG_MAINDATA" UNIQUE ("LNG_GEBIET", "STR_LRT_CLASS", "INT_VEG_RECORD", "STR_VERFAHREN") ENABLE
ALTER TABLE  "TBL_VEG_MAINDATA" ADD CONSTRAINT "CON_FK_TBL_MAINDATA" FOREIGN KEY ("LNG_GEBIET")
       REFERENCES  "TBL_GEBIET" ("CNT_GEBIET") ON DELETE CASCADE ENABLE
CREATE INDEX  "IDX1_TBL_VEG_MAINDATA" ON  "TBL_VEG_MAINDATA" ("LNG_GEBIET", "STR_LRT_CLASS")
CREATE INDEX  "IDX2_VEG_MAINDATA" ON  "TBL_VEG_MAINDATA" ("INT_BEARBEITER", "INT_SEALEVEL", "STR_EXPOSITION", "INT_INKLINATION")
CREATE OR REPLACE TRIGGER  "TR_IN_TBL_VEG_MAINDATA"
  before insert on "TBL_VEG_MAINDATA"             
  for each row
begin 
  if :new."CNT_VEG_MAINDATA" is null then
    select "SEQ_TBL_VEG_MAIN".nextval into :new."CNT_VEG_MAINDATA" from dual;
  end if;
end;and for th subtable
CREATE TABLE  "TBL_VEG_SUBDATA"
   (     "CNT_VEG_SUBDATA" NUMBER NOT NULL ENABLE,
     "INT_VEG_ART" NUMBER(4,0),
     "LNG_VEG_MAINDATA" NUMBER(10,0) NOT NULL ENABLE,
     "INT_DECKUNGSGRAD" NUMBER(1,0),
      CONSTRAINT "TBL_VEG_SUBDATA_PK" PRIMARY KEY ("CNT_VEG_SUBDATA") ENABLE
ALTER TABLE  "TBL_VEG_SUBDATA" ADD CONSTRAINT "CON_FK_TBL_VEG_SUBDATA" FOREIGN KEY ("LNG_VEG_MAINDATA")
       REFERENCES  "TBL_VEG_MAINDATA" ("CNT_VEG_MAINDATA") ON DELETE CASCADE ENABLE
CREATE OR REPLACE TRIGGER  "TR_IN_TBL_VEG_SUBDATA"
  before insert on "TBL_VEG_SUBDATA"             
  for each row
begin 
  if :new."CNT_VEG_SUBDATA" is null then
    select "SEQ_TBL_VEG_SUBDATA".nextval into :new."CNT_VEG_SUBDATA" from dual;
  end if;
end;
/Maybe you'll I see soemthing I missed...
Thanks for your effort.
Rgds,
Seb

Similar Messages

  • Re: BUG? APEX 4.0: ORA-20503 error editing report with 400+ columns

    Hello Everyone.
    I've run into something quite strange and am hoping you can help me.
    I am using Apex 4.0.1 and Oracle version 10.2.0.5. I've created a "classical" report in which the underlying SQL is a very simple:
    select * from pvtabThe Oracle table pvtab consists of 419 columns, all of which are varchar2(88) and number type. That's it.
    When I run the report, al of the columns show up as expected.
    However, when I go into the "Report Attributes" tab and click on one of the fields (any of them, it doesn't matter which one), I immediately get the following error:
    ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "598CAA7B68746A66F4B99E1512C36DED" application checksum = "0"If if replace the "*" with a few actual column names, then I am able to access any of these columns without problem.
    If I put back the "*", I then encounter this error again.
    I have never seen this error with other SQL SELECT statements in which I use the "*" qualifier to retrieve all columns from the table.
    And so, I am wondering if the error is caused because of the large number of columns (419) in my table.
    I've seen this same error mentioned in connection with forms but never with a report.
    So, is there some limit to the number of columns one can have in a "classic" or interactive report?
    Any idea why I would be getting this error?
    Here is the DDL for my table pvtab:
    CREATE TABLE  "PVTAB"
       (     "MICRO" VARCHAR2(4),
         "PRIM" VARCHAR2(4),
         "UNIT" NUMBER,
         "SEC_REF_1" NUMBER,
         "SECN_1" VARCHAR2(88),
         "SEC_REF_2" NUMBER,
         "SECN_2" VARCHAR2(88),
         "SEC_REF_3" NUMBER,
         "SECN_3" VARCHAR2(88),
         "SEC_REF_4" NUMBER,
         "SECN_4" VARCHAR2(88),
         "SEC_REF_5" NUMBER,
         "SECN_5" VARCHAR2(88),
         "SEC_REF_6" NUMBER,
         "SECN_6" VARCHAR2(88),
         "SEC_REF_7" NUMBER,
         "SECN_7" VARCHAR2(88),
         "SEC_REF_8" NUMBER,
         "SECN_8" VARCHAR2(88),
         "SEC_REF_9" NUMBER,
         "SECN_9" VARCHAR2(88),
         "SEC_REF_10" NUMBER,
         "SECN_10" VARCHAR2(88),
         "SEC_REF_11" NUMBER,
         "SECN_11" VARCHAR2(88),
         "SEC_REF_12" NUMBER,
         "SECN_12" VARCHAR2(88),
         "SEC_REF_13" NUMBER,
         "SECN_13" VARCHAR2(88),
         "SEC_REF_14" NUMBER,
         "SECN_14" VARCHAR2(88),
         "SEC_REF_15" NUMBER,
         "SECN_15" VARCHAR2(88),
         "SEC_REF_16" NUMBER,
         "SECN_16" VARCHAR2(88),
         "SEC_REF_17" NUMBER,
         "SECN_17" VARCHAR2(88),
         "SEC_REF_18" NUMBER,
         "SECN_18" VARCHAR2(88),
         "SEC_REF_19" NUMBER,
         "SECN_19" VARCHAR2(88),
         "SEC_REF_20" NUMBER,
         "SECN_20" VARCHAR2(88),
         "SEC_REF_21" NUMBER,
         "SECN_21" VARCHAR2(88),
         "SEC_REF_22" NUMBER,
         "SECN_22" VARCHAR2(88),
         "SEC_REF_23" NUMBER,
         "SECN_23" VARCHAR2(88),
         "SEC_REF_24" NUMBER,
         "SECN_24" VARCHAR2(88),
         "SEC_REF_25" NUMBER,
         "SECN_25" VARCHAR2(88),
         "SEC_REF_26" NUMBER,
         "SECN_26" VARCHAR2(88),
         "SEC_REF_27" NUMBER,
         "SECN_27" VARCHAR2(88),
         "SEC_REF_28" NUMBER,
         "SECN_28" VARCHAR2(88),
         "SEC_REF_29" NUMBER,
         "SECN_29" VARCHAR2(88),
         "SEC_REF_30" NUMBER,
         "SECN_30" VARCHAR2(88),
         "SEC_REF_31" NUMBER,
         "SECN_31" VARCHAR2(88),
         "SEC_REF_32" NUMBER,
         "SECN_32" VARCHAR2(88),
         "SEC_REF_33" NUMBER,
         "SECN_33" VARCHAR2(88),
         "SEC_REF_34" NUMBER,
         "SECN_34" VARCHAR2(88),
         "SEC_REF_35" NUMBER,
         "SECN_35" VARCHAR2(88),
         "SEC_REF_36" NUMBER,
         "SECN_36" VARCHAR2(88),
         "SEC_REF_37" NUMBER,
         "SECN_37" VARCHAR2(88),
         "SEC_REF_38" NUMBER,
         "SECN_38" VARCHAR2(88),
         "SEC_REF_39" NUMBER,
         "SECN_39" VARCHAR2(88),
         "SEC_REF_40" NUMBER,
         "SECN_40" VARCHAR2(88),
         "SEC_REF_41" NUMBER,
         "SECN_41" VARCHAR2(88),
         "SEC_REF_42" NUMBER,
         "SECN_42" VARCHAR2(88),
         "SEC_REF_43" NUMBER,
         "SECN_43" VARCHAR2(88),
         "SEC_REF_44" NUMBER,
         "SECN_44" VARCHAR2(88),
         "SEC_REF_45" NUMBER,
         "SECN_45" VARCHAR2(88),
         "SEC_REF_46" NUMBER,
         "SECN_46" VARCHAR2(88),
         "SEC_REF_47" NUMBER,
         "SECN_47" VARCHAR2(88),
         "SEC_REF_48" NUMBER,
         "SECN_48" VARCHAR2(88),
         "SEC_REF_49" NUMBER,
         "SECN_49" VARCHAR2(88),
         "SEC_REF_50" NUMBER,
         "SECN_50" VARCHAR2(88),
         "SEC_REF_51" NUMBER,
         "SECN_51" VARCHAR2(88),
         "SEC_REF_52" NUMBER,
         "SECN_52" VARCHAR2(88),
         "SEC_REF_53" NUMBER,
         "SECN_53" VARCHAR2(88),
         "SEC_REF_54" NUMBER,
         "SECN_54" VARCHAR2(88),
         "SEC_REF_55" NUMBER,
         "SECN_55" VARCHAR2(88),
         "SEC_REF_56" NUMBER,
         "SECN_56" VARCHAR2(88),
         "SEC_REF_57" NUMBER,
         "SECN_57" VARCHAR2(88),
         "SEC_REF_58" NUMBER,
         "SECN_58" VARCHAR2(88),
         "SEC_REF_59" NUMBER,
         "SECN_59" VARCHAR2(88),
         "SEC_REF_60" NUMBER,
         "SECN_60" VARCHAR2(88),
         "SEC_REF_61" NUMBER,
         "SECN_61" VARCHAR2(88),
         "SEC_REF_62" NUMBER,
         "SECN_62" VARCHAR2(88),
         "SEC_REF_63" NUMBER,
         "SECN_63" VARCHAR2(88),
         "SEC_REF_64" NUMBER,
         "SECN_64" VARCHAR2(88),
         "SEC_REF_65" NUMBER,
         "SECN_65" VARCHAR2(88),
         "SEC_REF_66" NUMBER,
         "SECN_66" VARCHAR2(88),
         "SEC_REF_67" NUMBER,
         "SECN_67" VARCHAR2(88),
         "SEC_REF_68" NUMBER,
         "SECN_68" VARCHAR2(88),
         "SEC_REF_69" NUMBER,
         "SECN_69" VARCHAR2(88),
         "SEC_REF_70" NUMBER,
         "SECN_70" VARCHAR2(88),
         "SEC_REF_71" NUMBER,
         "SECN_71" VARCHAR2(88),
         "SEC_REF_72" NUMBER,
         "SECN_72" VARCHAR2(88),
         "SEC_REF_73" NUMBER,
         "SECN_73" VARCHAR2(88),
         "SEC_REF_74" NUMBER,
         "SECN_74" VARCHAR2(88),
         "SEC_REF_75" NUMBER,
         "SECN_75" VARCHAR2(88),
         "SEC_REF_76" NUMBER,
         "SECN_76" VARCHAR2(88),
         "SEC_REF_77" NUMBER,
         "SECN_77" VARCHAR2(88),
         "SEC_REF_78" NUMBER,
         "SECN_78" VARCHAR2(88),
         "SEC_REF_79" NUMBER,
         "SECN_79" VARCHAR2(88),
         "SEC_REF_80" NUMBER,
         "SECN_80" VARCHAR2(88),
         "SEC_REF_81" NUMBER,
         "SECN_81" VARCHAR2(88),
         "SEC_REF_82" NUMBER,
         "SECN_82" VARCHAR2(88),
         "SEC_REF_83" NUMBER,
         "SECN_83" VARCHAR2(88),
         "SEC_REF_84" NUMBER,
         "SECN_84" VARCHAR2(88),
         "SEC_REF_85" NUMBER,
         "SECN_85" VARCHAR2(88),
         "SEC_REF_86" NUMBER,
         "SECN_86" VARCHAR2(88),
         "SEC_REF_87" NUMBER,
         "SECN_87" VARCHAR2(88),
         "SEC_REF_88" NUMBER,
         "SECN_88" VARCHAR2(88),
         "SEC_REF_89" NUMBER,
         "SECN_89" VARCHAR2(88),
         "SEC_REF_90" NUMBER,
         "SECN_90" VARCHAR2(88),
         "SEC_REF_91" NUMBER,
         "SECN_91" VARCHAR2(88),
         "SEC_REF_92" NUMBER,
         "SECN_92" VARCHAR2(88),
         "SEC_REF_93" NUMBER,
         "SECN_93" VARCHAR2(88),
         "SEC_REF_94" NUMBER,
         "SECN_94" VARCHAR2(88),
         "SEC_REF_95" NUMBER,
         "SECN_95" VARCHAR2(88),
         "SEC_REF_96" NUMBER,
         "SECN_96" VARCHAR2(88),
         "SEC_REF_97" NUMBER,
         "SECN_97" VARCHAR2(88),
         "SEC_REF_98" NUMBER,
         "SECN_98" VARCHAR2(88),
         "SEC_REF_99" NUMBER,
         "SECN_99" VARCHAR2(88),
         "SEC_REF_100" NUMBER,
         "SECN_100" VARCHAR2(88),
         "SEC_REF_101" NUMBER,
         "SECN_101" VARCHAR2(88),
         "SEC_REF_102" NUMBER,
         "SECN_102" VARCHAR2(88),
         "SEC_REF_103" NUMBER,
         "SECN_103" VARCHAR2(88),
         "SEC_REF_104" NUMBER,
         "SECN_104" VARCHAR2(88),
         "SEC_REF_105" NUMBER,
         "SECN_105" VARCHAR2(88),
         "SEC_REF_106" NUMBER,
         "SECN_106" VARCHAR2(88),
         "SEC_REF_107" NUMBER,
         "SECN_107" VARCHAR2(88),
         "SEC_REF_108" NUMBER,
         "SECN_108" VARCHAR2(88),
         "SEC_REF_109" NUMBER,
         "SECN_109" VARCHAR2(88),
         "SEC_REF_110" NUMBER,
         "SECN_110" VARCHAR2(88),
         "SEC_REF_111" NUMBER,
         "SECN_111" VARCHAR2(88),
         "SEC_REF_112" NUMBER,
         "SECN_112" VARCHAR2(88),
         "SEC_REF_113" NUMBER,
         "SECN_113" VARCHAR2(88),
         "SEC_REF_114" NUMBER,
         "SECN_114" VARCHAR2(88),
         "SEC_REF_115" NUMBER,
         "SECN_115" VARCHAR2(88),
         "SEC_REF_116" NUMBER,
         "SECN_116" VARCHAR2(88),
         "SEC_REF_117" NUMBER,
         "SECN_117" VARCHAR2(88),
         "SEC_REF_118" NUMBER,
         "SECN_118" VARCHAR2(88),
         "SEC_REF_119" NUMBER,
         "SECN_119" VARCHAR2(88),
         "SEC_REF_120" NUMBER,
         "SECN_120" VARCHAR2(88),
         "SEC_REF_121" NUMBER,
         "SECN_121" VARCHAR2(88),
         "SEC_REF_122" NUMBER,
         "SECN_122" VARCHAR2(88),
         "SEC_REF_123" NUMBER,
         "SECN_123" VARCHAR2(88),
         "SEC_REF_124" NUMBER,
         "SECN_124" VARCHAR2(88),
         "SEC_REF_125" NUMBER,
         "SECN_125" VARCHAR2(88),
         "SEC_REF_126" NUMBER,
         "SECN_126" VARCHAR2(88),
         "SEC_REF_127" NUMBER,
         "SECN_127" VARCHAR2(88),
         "SEC_REF_128" NUMBER,
         "SECN_128" VARCHAR2(88),
         "SEC_REF_129" NUMBER,
         "SECN_129" VARCHAR2(88),
         "SEC_REF_130" NUMBER,
         "SECN_130" VARCHAR2(88),
         "SEC_REF_131" NUMBER,
         "SECN_131" VARCHAR2(88),
         "SEC_REF_132" NUMBER,
         "SECN_132" VARCHAR2(88),
         "SEC_REF_133" NUMBER,
         "SECN_133" VARCHAR2(88),
         "SEC_REF_134" NUMBER,
         "SECN_134" VARCHAR2(88),
         "SEC_REF_135" NUMBER,
         "SECN_135" VARCHAR2(88),
         "SEC_REF_136" NUMBER,
         "SECN_136" VARCHAR2(88),
         "SEC_REF_137" NUMBER,
         "SECN_137" VARCHAR2(88),
         "SEC_REF_138" NUMBER,
         "SECN_138" VARCHAR2(88),
         "SEC_REF_139" NUMBER,
         "SECN_139" VARCHAR2(88),
         "SEC_REF_140" NUMBER,
         "SECN_140" VARCHAR2(88),
         "SEC_REF_141" NUMBER,
         "SECN_141" VARCHAR2(88),
         "SEC_REF_142" NUMBER,
         "SECN_142" VARCHAR2(88),
         "SEC_REF_143" NUMBER,
         "SECN_143" VARCHAR2(88),
         "SEC_REF_144" NUMBER,
         "SECN_144" VARCHAR2(88),
         "SEC_REF_145" NUMBER,
         "SECN_145" VARCHAR2(88),
         "SEC_REF_146" NUMBER,
         "SECN_146" VARCHAR2(88),
         "SEC_REF_147" NUMBER,
         "SECN_147" VARCHAR2(88),
         "SEC_REF_148" NUMBER,
         "SECN_148" VARCHAR2(88),
         "SEC_REF_149" NUMBER,
         "SECN_149" VARCHAR2(88),
         "SEC_REF_150" NUMBER,
         "SECN_150" VARCHAR2(88),
         "SEC_REF_151" NUMBER,
         "SECN_151" VARCHAR2(88),
         "SEC_REF_152" NUMBER,
         "SECN_152" VARCHAR2(88),
         "SEC_REF_153" NUMBER,
         "SECN_153" VARCHAR2(88),
         "SEC_REF_154" NUMBER,
         "SECN_154" VARCHAR2(88),
         "SEC_REF_155" NUMBER,
         "SECN_155" VARCHAR2(88),
         "SEC_REF_156" NUMBER,
         "SECN_156" VARCHAR2(88),
         "SEC_REF_157" NUMBER,
         "SECN_157" VARCHAR2(88),
         "SEC_REF_158" NUMBER,
         "SECN_158" VARCHAR2(88),
         "SEC_REF_159" NUMBER,
         "SECN_159" VARCHAR2(88),
         "SEC_REF_160" NUMBER,
         "SECN_160" VARCHAR2(88),
         "SEC_REF_161" NUMBER,
         "SECN_161" VARCHAR2(88),
         "SEC_REF_162" NUMBER,
         "SECN_162" VARCHAR2(88),
         "SEC_REF_163" NUMBER,
         "SECN_163" VARCHAR2(88),
         "SEC_REF_164" NUMBER,
         "SECN_164" VARCHAR2(88),
         "SEC_REF_165" NUMBER,
         "SECN_165" VARCHAR2(88),
         "SEC_REF_166" NUMBER,
         "SECN_166" VARCHAR2(88),
         "SEC_REF_167" NUMBER,
         "SECN_167" VARCHAR2(88),
         "SEC_REF_168" NUMBER,
         "SECN_168" VARCHAR2(88),
         "SEC_REF_169" NUMBER,
         "SECN_169" VARCHAR2(88),
         "SEC_REF_170" NUMBER,
         "SECN_170" VARCHAR2(88),
         "SEC_REF_171" NUMBER,
         "SECN_171" VARCHAR2(88),
         "SEC_REF_172" NUMBER,
         "SECN_172" VARCHAR2(88),
         "SEC_REF_173" NUMBER,
         "SECN_173" VARCHAR2(88),
         "SEC_REF_174" NUMBER,
         "SECN_174" VARCHAR2(88),
         "SEC_REF_175" NUMBER,
         "SECN_175" VARCHAR2(88),
         "SEC_REF_176" NUMBER,
         "SECN_176" VARCHAR2(88),
         "SEC_REF_177" NUMBER,
         "SECN_177" VARCHAR2(88),
         "SEC_REF_178" NUMBER,
         "SECN_178" VARCHAR2(88),
         "SEC_REF_179" NUMBER,
         "SECN_179" VARCHAR2(88),
         "SEC_REF_180" NUMBER,
         "SECN_180" VARCHAR2(88),
         "SEC_REF_181" NUMBER,
         "SECN_181" VARCHAR2(88),
         "SEC_REF_182" NUMBER,
         "SECN_182" VARCHAR2(88),
         "SEC_REF_183" NUMBER,
         "SECN_183" VARCHAR2(88),
         "SEC_REF_184" NUMBER,
         "SECN_184" VARCHAR2(88),
         "SEC_REF_185" NUMBER,
         "SECN_185" VARCHAR2(88),
         "SEC_REF_186" NUMBER,
         "SECN_186" VARCHAR2(88),
         "SEC_REF_187" NUMBER,
         "SECN_187" VARCHAR2(88),
         "SEC_REF_188" NUMBER,
         "SECN_188" VARCHAR2(88),
         "SEC_REF_189" NUMBER,
         "SECN_189" VARCHAR2(88),
         "SEC_REF_190" NUMBER,
         "SECN_190" VARCHAR2(88),
         "SEC_REF_191" NUMBER,
         "SECN_191" VARCHAR2(88),
         "SEC_REF_192" NUMBER,
         "SECN_192" VARCHAR2(88),
         "SEC_REF_193" NUMBER,
         "SECN_193" VARCHAR2(88),
         "SEC_REF_194" NUMBER,
         "SECN_194" VARCHAR2(88),
         "SEC_REF_195" NUMBER,
         "SECN_195" VARCHAR2(88),
         "SEC_REF_196" NUMBER,
         "SECN_196" VARCHAR2(88),
         "SEC_REF_197" NUMBER,
         "SECN_197" VARCHAR2(88),
         "SEC_REF_198" NUMBER,
         "SECN_198" VARCHAR2(88),
         "SEC_REF_199" NUMBER,
         "SECN_199" VARCHAR2(88),
         "SEC_REF_200" NUMBER,
         "SECN_200" VARCHAR2(88),
         "SEC_REF_201" NUMBER,
         "SECN_201" VARCHAR2(88),
         "SEC_REF_202" NUMBER,
         "SECN_202" VARCHAR2(88),
         "SEC_REF_203" NUMBER,
         "SECN_203" VARCHAR2(88),
         "SEC_REF_204" NUMBER,
         "SECN_204" VARCHAR2(88),
         "SEC_REF_205" NUMBER,
         "SECN_205" VARCHAR2(88),
         "SEC_REF_206" NUMBER,
         "SECN_206" VARCHAR2(88),
         "SEC_REF_207" NUMBER,
         "SECN_207" VARCHAR2(88),
         "SEC_REF_208" NUMBER,
         "SECN_208" VARCHAR2(88)
       );Thank you for any help/advice.
    Elie
    Edited by: EEG on Jun 12, 2011 2:09 PM

    So, is there some limit to the number of columns one can have in a "classic" or interactive report?Yes. See Oracle® Application Express Application Builder User's Guide Release 4.0, Appendix B: Oracle Application Express Limits.
    Any idea why I would be getting this error?No, but I've replicated it in APEX 4.0.2.00.07 on 11.2.0.1.0 EE using a table of 420 <tt>varchar2(88)</tt> columns:
    >
    ORA-20503: Current version of data in database has changed since user initiated update process. current checksum = "50C9BDC0AA1AEF0EB272E9158B2117B4" application checksum = "0"
    >
    Happens whether using <tt>select *</tt> or including all column names in the query. (I know you don't want to type all the column names, but I'd never use <tt>select *</tt> in a production application: always use a proper column list. You can get one without typing by drag-and-drop of a table in most IDEs, or a query from <tt>user_tab_columns</tt>.)
    I hit the problem at 274 columns. Such an arbitrary number leads me to think that the problem is not one of the number of columns per se, but is due to some other limit (possibly a 32K VARCHAR2/RAW buffer somewhere).
    Workaround:
    Updates to the report column attributes are actually being saved, and you can navigate them using the Page Definition tree view as described in Appendix B.
    Getting More Help:
    This is probably a bug. If you have a support agreement with Oracle raise an SR with Oracle Support.
    Also:
    <li>Search the forum using the "ORA-20503" code and other possible terms to see if there's anything relevant. I had a quick look but the only thread in this context recommended an upgrade on an Oracle 9 DB version that's not compatible with APEX 4.0.
    <li>To get the attention of the Oracle APEX team or anyone else who may know more about this problem than we do, edit your original post and change the Subject to be more specific about the actual nature of the problem: <em>BUG? APEX 4.0: ORA-20503 error editing report with 400+ columns</em>, and include your database version/edition and the definition of the <tt>PVTAB</tt> table.
    Finally:
    Somebody's bound to ask, so we might as well get started:
    <li>Why so many columns?
    <li>What requirement is this trying to fulfil?

  • ORA-22813 error when deleting spatial objects in LIVE

    Hi,
    We are getting an ORA-22813 error when attempting to delete a spatial object from a version-enabled table in workspace LIVE. The spatial object to be removed has a SDO type of multipolygon. The geometry information consists of 4 rings with a combined ordinate count of 4120. The statement used to delete the row is:
    delete from tableA where tableA.id in (select tableA.id from tableA where tableA.id = 3);
    The error occurs only on a 10g R1 Oracle instance (10.1.0.5.0) with Workspace Manager version 10.1.0.7.1. The delete operation succeeds without problems on a 10g R2 (10.2.0.2.0) instance with Workspace Manager version 10.2.0.3.1. The statement is also executed successfully on the 10g R1 instance if the table is not version-enabled.
    Any help on this would be appreciated.
    Thanks

    Hi,
    I would recommend filing a TAR in this one. The only ora-22813 error involving workspace manager and geometry columns that I know about involves queries that need to sort data for which the size of the geometry column was >30k. Does the execution plan for the delete statement involve any kind of sort? However, this is an old 9.2 bug, that I believe was fixed for all 10.1 and newer releases.
    Does the same error happen if you do not use the subquery?
    Regards,
    Ben

  • TNS Ora-12532 error When connecting with Db11 running in the VM

    I created a virtual machine from the PVM Entrerprise Linux 5 64 bits and db11g.
    Inside the virtual Machine the sqlplus system/manager1@VDB11 is working well.
    The tnsping 172.20.0.33 is working well too.
    But from the other external machine using oracle 11g client these command are not working: Tns Ora-12532 error.
    What to do?
    Thanks

    my virtual machine: vm1 have an static ip address 172.20.0.33
    the oracle listener is was configured with the same ip
    in the virtual machine : vm1 the /etc/hosts file content is:
    127.0.0.1 localhost.localdomain
    172.20.0.33 virtualdb11
    in the tnsnames.ora file in the virtual machine i have a service:
    VDB11 ...( host=172.20.0.33) (port=1521)
    under console connection with my virtual machine vm1 the command : sqlplus system/manager1@VDB11 is working well
    but when i working in an other external machine , where the tnsnames.ora have an entry:
    VDB11 ...(host=172.20.0.33)......
    the ping command : ping 172.20.0.33 is working well
    but sqlplus system/manager1@VDB11 is not work and return the error:
    ora-12532 tns

  • ORA-03115 Error using CLOB with JDBC

    When I try to access CLOB field data with JDBC driver, I gets following error:
    ORA-03115: unsupported network datatype or representation.
    I am using JDBC 8.1.6(Thin), Oracle 8.0.5
    on Linux OS.
    what's the problem ?
    Thank you for any help.
    Taesoo.
    null

    if it is a bug, then its better to upgrade the database to 10.2.0.4. it is the stable verion in 10g.

  • Is a delete with cascade faster then delete from 2 tables independently?

    Hi there,
    I have 2 tables, TableA and TableB. TableA's primary key is a foreign key of TableB.
    My question is, Would it be faster to delete the associated rows from TableA and TableB independently?
    Or is it faster to create TableB with the ON DELETE CASCADE clause?
    thanks for the help.

    Hi there,
    I have 2 tables, TableA and TableB. TableA's primary key is a foreign key of TableB.
    My question is, Would it be faster to delete the associated rows from TableA and TableB independently?
    Or is it faster to create TableB with the ON DELETE CASCADE clause?
    thanks for the help.

  • Found the problem (Re: ORA-01461 error in DB with char encoding = UTF8)

     

    Hi,
    Yes even i had this problem and setting this weblogic.oci.min_bind_size =660 solved.
    But the proble i face is this works if i get the connection through java code. Instead if i use Connection pool and edit the config.xml or do through admin console .This doesn't work even after setting this property. Any Help will be appreciated and it is pretty urgent.
    Thanx
    -Sugandha

  • ORA-02291 Integrity Constraint exception - 1:1 in BPEL context

    Hi,
    I am using toplink inside a BPEL process (DB adapter).
    I have a table PARTY with PK PARTY_ID and a table BILL_TO_CUSTOMER with PK BILL_TO_CUSTOMER_ID. They can be linked 1:1 using PARTY_ID = BILL_TO_CUSTOMER_ID. It works absolutely fine for update or select operations, but for inserts (using merge) NOT. I get an ORA-02291 error. From the log where I can see the tried SQL command the reason is obvious: He is trying to insert the BILL_TO_CUSTOMER before the PARTY and this does not work as there is a constraint.
    How do I have to change my toplink_mapping XML to get this working?
    Thank you very much, Best Regards,
    Martin
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>BillToCustomerParty</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>BillToCustomerParty.BillToCustomer</opm:class>
    <opm:alias>BillToCustomer</opm:alias>
    <opm:primary-key>
    <opm:field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_PARTY_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="findAllBillToCustomer" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>BillToCustomerParty.BillToCustomer</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:one-to-many-mapping">
    <opm:attribute-name>contactInformationCollection</opm:attribute-name>
    <opm:reference-class>BillToCustomerParty.ContactInformation</opm:reference-class>
    <opm:private-owned>true</opm:private-owned>
    <opm:target-foreign-key>
    <opm:field-reference>
    <opm:source-field table="CONTACT_INFORMATION" name="PARTY_ID" xsi:type="opm:column"/>
    <opm:target-field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_PARTY_ID" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:target-foreign-key>
    <toplink:batch-reading>true</toplink:batch-reading>
    <toplink:container xsi:type="toplink:container-policy">
    <toplink:collection-type>oracle.toplink.indirection.IndirectList</toplink:collection-type>
    </toplink:container>
    <toplink:indirection xsi:type="toplink:transparent-collection-indirection-policy"/>
    <toplink:selection-query xsi:type="toplink:read-all-query">
    <toplink:reference-class>BillToCustomerParty.ContactInformation</toplink:reference-class>
    <toplink:container xsi:type="toplink:container-policy">
    <toplink:collection-type>oracle.toplink.indirection.IndirectList</toplink:collection-type>
    </toplink:container>
    </toplink:selection-query>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>billToCustomerPartyId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_PARTY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>externalBillToCustomerId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="EXTERNAL_BILL_TO_CUSTOMER_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>hashAlgorithmValue</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="HASH_ALGORITHM_VALUE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>lastName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="LAST_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>firstName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="FIRST_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>middleName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="MIDDLE_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>nameSuffix</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="NAME_SUFFIX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>namePrefix</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="NAME_PREFIX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>customerOrganizationName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="CUSTOMER_ORGANIZATION_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressOrganizationName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_ORGANIZATION_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressDepartment</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_DEPARTMENT" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressContactName</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_CONTACT_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressBuilding</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_BUILDING" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressStreet</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_STREET" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressHouseNumber</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_HOUSE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressPoBox</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_PO_BOX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressLocality</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_LOCALITY" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressPostalCode</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_POSTAL_CODE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressProvince</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_PROVINCE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressFormatted</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_FORMATTED" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>genderType</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="GENDER_TYPE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>dateOfBirth</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="DATE_OF_BIRTH" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>clientOrganizationPartyId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="CLIENT_ORGANIZATION_PARTY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>phoneNumber</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="PHONE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>faxNumber</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="FAX_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>mobileNumber</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="MOBILE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>emailAddress</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="EMAIL_ADDRESS" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>lastUpdated</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="LAST_UPDATED" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressCountryId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="ADDRESS_COUNTRY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>currentContactInformationId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER" name="CURRENT_CONTACT_INFORMATION_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:one-to-one-mapping">
    <opm:attribute-name>billToCustomerGroup</opm:attribute-name>
    <opm:reference-class>BillToCustomerParty.BillToCustomerGroup</opm:reference-class>
    <opm:foreign-key>
    <opm:field-reference>
    <opm:source-field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_GROUP_ID" xsi:type="opm:column"/>
    <opm:target-field table="BILL_TO_CUSTOMER_GROUP" name="BILL_TO_CUSTOMER_GROUP_ID" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:foreign-key>
    <opm:foreign-key-fields>
    <opm:field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_GROUP_ID" xsi:type="opm:column"/>
    </opm:foreign-key-fields>
    <toplink:batch-reading>true</toplink:batch-reading>
    <toplink:selection-query xsi:type="toplink:read-object-query">
    <toplink:reference-class>BillToCustomerParty.BillToCustomerGroup</toplink:reference-class>
    </toplink:selection-query>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="BILL_TO_CUSTOMER"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>BillToCustomerParty.BillToCustomerGroup</opm:class>
    <opm:alias>BillToCustomerGroup</opm:alias>
    <opm:primary-key>
    <opm:field table="BILL_TO_CUSTOMER_GROUP" name="BILL_TO_CUSTOMER_GROUP_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="findAllBillToCustomerGroup" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>BillToCustomerParty.BillToCustomerGroup</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>billToCustomerGroupId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER_GROUP" name="BILL_TO_CUSTOMER_GROUP_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>clientOrganizationPartyId</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER_GROUP" name="CLIENT_ORGANIZATION_PARTY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>description</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER_GROUP" name="DESCRIPTION" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>code</opm:attribute-name>
    <opm:field table="BILL_TO_CUSTOMER_GROUP" name="CODE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="BILL_TO_CUSTOMER_GROUP"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>BillToCustomerParty.ContactInformation</opm:class>
    <opm:alias>ContactInformation</opm:alias>
    <opm:primary-key>
    <opm:field table="CONTACT_INFORMATION" name="CONTACT_INFORMATION_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="findAllContactInformation" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>BillToCustomerParty.ContactInformation</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>hashAlgorithmValue</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="HASH_ALGORITHM_VALUE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>lastName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="LAST_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>firstName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="FIRST_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>middleName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="MIDDLE_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>nameSuffix</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="NAME_SUFFIX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>namePrefix</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="NAME_PREFIX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>organizationName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ORGANIZATION_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressOrganizationName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_ORGANIZATION_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressDepartment</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_DEPARTMENT" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressContactName</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_CONTACT_NAME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressBuilding</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_BUILDING" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressStreet</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_STREET" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressHouseNumber</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_HOUSE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressPoBox</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_PO_BOX" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressLocality</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_LOCALITY" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressPostalCode</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_POSTAL_CODE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressProvince</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_PROVINCE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressFormatted</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_FORMATTED" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>contactInformationId</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="CONTACT_INFORMATION_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>datetimeReceived</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="DATETIME_RECEIVED" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>dateOfBirth</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="DATE_OF_BIRTH" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>genderType</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="GENDER_TYPE" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>phoneNumber</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="PHONE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>faxNumber</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="FAX_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>mobileNumber</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="MOBILE_NUMBER" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>emailAddress</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="EMAIL_ADDRESS" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>addressCountryId</opm:attribute-name>
    <opm:field table="CONTACT_INFORMATION" name="ADDRESS_COUNTRY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="CONTACT_INFORMATION"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <opm:class>BillToCustomerParty.Party</opm:class>
    <opm:alias>Party</opm:alias>
    <opm:primary-key>
    <opm:field table="PARTY" name="PARTY_ID" xsi:type="opm:column"/>
    </opm:primary-key>
    <opm:events xsi:type="toplink:event-policy"/>
    <opm:querying xsi:type="toplink:query-policy">
    <opm:queries>
    <opm:query name="BillToCustomerPartySelect" xsi:type="toplink:read-all-query">
    <opm:criteria operator="and" xsi:type="toplink:logic-expression">
    <toplink:left operator="equal" xsi:type="toplink:relation-expression">
    <toplink:left name="clientOrganizationPartyId" xsi:type="toplink:query-key-expression">
    <toplink:base name="billToCustomer" xsi:type="toplink:query-key-expression">
    <toplink:base xsi:type="toplink:base-expression"/>
    </toplink:base>
    </toplink:left>
    <toplink:right xsi:type="toplink:parameter-expression">
    <toplink:parameter name="clientOrganizationId" xsi:type="opm:column"/>
    </toplink:right>
    </toplink:left>
    <toplink:right operator="equal" xsi:type="toplink:relation-expression">
    <toplink:left name="externalBillToCustomerId" xsi:type="toplink:query-key-expression">
    <toplink:base name="billToCustomer" xsi:type="toplink:query-key-expression">
    <toplink:base xsi:type="toplink:base-expression"/>
    </toplink:base>
    </toplink:left>
    <toplink:right xsi:type="toplink:parameter-expression">
    <toplink:parameter name="externalBillToCustomerId" xsi:type="opm:column"/>
    </toplink:right>
    </toplink:right>
    </opm:criteria>
    <opm:arguments>
    <opm:argument name="externalBillToCustomerId">
    <opm:type>java.lang.String</opm:type>
    </opm:argument>
    <opm:argument name="clientOrganizationId">
    <opm:type>java.lang.Integer</opm:type>
    </opm:argument>
    </opm:arguments>
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>BillToCustomerParty.Party</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    <opm:query name="findAllParty" xsi:type="toplink:read-all-query">
    <toplink:timeout>0</toplink:timeout>
    <toplink:reference-class>BillToCustomerParty.Party</toplink:reference-class>
    <toplink:cache-usage>primary-key</toplink:cache-usage>
    <toplink:lock-mode>none</toplink:lock-mode>
    <toplink:container xsi:type="toplink:list-container-policy">
    <toplink:collection-type>java.util.Vector</toplink:collection-type>
    </toplink:container>
    </opm:query>
    </opm:queries>
    <toplink:does-exist-query xsi:type="toplink:does-exist-query">
    <toplink:existence-check>check-database</toplink:existence-check>
    </toplink:does-exist-query>
    </opm:querying>
    <opm:attribute-mappings>
    <opm:attribute-mapping xsi:type="toplink:one-to-one-mapping">
    <opm:attribute-name>billToCustomer</opm:attribute-name>
    <opm:reference-class>BillToCustomerParty.BillToCustomer</opm:reference-class>
    <opm:foreign-key>
    <opm:field-reference>
    <opm:source-field table="PARTY" name="PARTY_ID" xsi:type="opm:column"/>
    <opm:target-field table="BILL_TO_CUSTOMER" name="BILL_TO_CUSTOMER_PARTY_ID" xsi:type="opm:column"/>
    </opm:field-reference>
    </opm:foreign-key>
    <opm:foreign-key-fields>
    <opm:field table="PARTY" name="PARTY_ID" xsi:type="opm:column"/>
    </opm:foreign-key-fields>
    <toplink:batch-reading>true</toplink:batch-reading>
    <toplink:indirection xsi:type="toplink:value-holder-indirection-policy"/>
    <toplink:selection-query xsi:type="toplink:read-object-query">
    <toplink:reference-class>BillToCustomerParty.BillToCustomer</toplink:reference-class>
    </toplink:selection-query>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>partyId</opm:attribute-name>
    <opm:read-only>true</opm:read-only>
    <opm:field table="PARTY" name="PARTY_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>partyTypeId</opm:attribute-name>
    <opm:field table="PARTY" name="PARTY_TYPE_ID" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.Integer</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>activeInd</opm:attribute-name>
    <opm:field table="PARTY" name="ACTIVE_IND" xsi:type="opm:column"/>
    <opm:attribute-classification>java.lang.String</opm:attribute-classification>
    </opm:attribute-mapping>
    <opm:attribute-mapping xsi:type="toplink:direct-mapping">
    <opm:attribute-name>createdDatetime</opm:attribute-name>
    <opm:field table="PARTY" name="CREATED_DATETIME" xsi:type="opm:column"/>
    <opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
    </opm:attribute-mapping>
    </opm:attribute-mappings>
    <toplink:descriptor-type>independent</toplink:descriptor-type>
    <toplink:caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    <toplink:always-refresh>true</toplink:always-refresh>
    </toplink:caching>
    <toplink:remote-caching>
    <toplink:cache-type>weak-reference</toplink:cache-type>
    </toplink:remote-caching>
    <toplink:instantiation/>
    <toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
    <toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
    <toplink:tables>
    <toplink:table name="PARTY"/>
    </toplink:tables>
    </opm:class-mapping-descriptor>
    </opm:class-mapping-descriptors>
    </toplink:object-persistence>

    I am replying to very old reported problem, since i struggled to get the right reason for this error.
    In my database we had database constraint & associated trigger, On Insert the trigger gets Sequence. NextVal and inserts into PK column. This constraint trigger gets conflict with the Oracle Native Sequence Generator. I disabled the trigger and used my ESB native sequence (which also does sequence.nextVal) and it worked perfectly.
    If the trigger is Must then make sure that there is If condition wherein it checks to set NextVal only if no input has been provided for PK. If input contains PK value then trigger should do nothing.

  • ORA-01843 and ORA-02291 when installing AIA 2.0 on Linux server

    Hello,
    When installing AIA 2.0 on a RHEL 4.7 Linux server, even if OUI does say the installion is successful, the installActions log are not that good...
    We've got some ORA-01843 and ORA-02291 errors when running the createDiagnosticsCAVSData.sql.
    [exec] createBSRIntegScenarioTables:
    [exec] [echo] ----Creating createCAVSTables--------------
    [exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createBSRIntegScenarioTables.sql
    [exec] [sql] 152 of 152 SQL statements executed successfully
    [exec]
    [exec] createDiagnosticsCAVSData:
    [exec] [echo] ----Creating createCAVSTables--------------
    [exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createDiagnosticsCAVSData.sql
    [exec] [sql] Failed to execute: Insert into CAVS_DEFINITIONS (DEFINITION_ID,TYPE,DESCRIPTION,STATE,SERVICE_TYPE,URL_WSDL,URL_ENDPOINT,SOAP_ACTION,SOAP_TRANSPORT_TYPE,MESSAGE_REQUEST,MESSAGE_RESPONSE,DELAY,VERSION,PROJECT_NAME,PROJECT_VERSION,EBS_NAME,EBS_VERSION,PROCESS_NAME,PROCESS_VERSION,SERVICE_NAME,SERVICE_VERSION,MESSAGE_NAME,MESSAGE_VERSION,PIP_NAME,PIP_VERSION,APPLICATION_NAME,APPLICATION_VERSION,TEST_PRIORITY,REFERENCE_ID_EXTERNAL,AUDITED_ON,AUDITED_BY) values (501,'Test','BPEL Transformation Diagnostics','Unlocked','Synchronous',null,'http://dvedvb40:7777/orabpel/default/AIADiagnosticsTransformBpelProcess/1.0','process','HTTP','<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body xmlns:ns1="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns1:PCM_OP_BILL_DEBIT_inputFlist> <ns1:BAL_GRP_OBJ>Test</ns1:BAL_GRP_OBJ> <ns1:DEBIT elem="523"> <ns1:BAL_OPERAND>1000</ns1:BAL_OPERAND> <ns1:TYPE>881</ns1:TYPE> </ns1:DEBIT> <ns1:DESCR>Sample Input</ns1:DESCR> <ns1:END_T>2007-07-31T12:00:00.000+5:30</ns1:END_T> <ns1:POID>A123</ns1:POID> <ns1:PROGRAM_NAME>100</ns1:PROGRAM_NAME> <ns1:SERVICE_OBJ>NA</ns1:SERVICE_OBJ> <ns1:SESSION_OBJ>NA</ns1:SESSION_OBJ> <ns1:START_T>2007-07-31T11:00:00.000+5:30</ns1:START_T> <ns1:STR_VERSION>527</ns1:STR_VERSION> <ns1:STRING_ID>528</ns1:STRING_ID> <ns1:SUB_BALANCES elem="530"> <ns1:CONTRIBUTOR_STR>Diagnostics</ns1:CONTRIBUTOR_STR> <ns1:ROLLOVER_DATA>1</ns1:ROLLOVER_DATA> <ns1:VALID_FROM>2007-07-31T11:00:00.000+5:30</ns1:VALID_FROM> <ns1:VALID_TO>2007-07-31T11:00:00.000+5:30</ns1:VALID_TO> </ns1:SUB_BALANCES> </ns1:PCM_OP_BILL_DEBIT_inputFlist> </soap:Body> </soap:Envelope>','<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <PCM_OP_BILL_DEBIT_outputFlist xmlns:ns0="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes" xmlns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns0:POID>Transformed POID value : A123</ns0:POID> <ns0:RESULTS elem="Transformed Element value : 523"/> </PCM_OP_BILL_DEBIT_outputFlist> </env:Body> </env:Envelope>',null,0,null,null,null,null,'Diagnostics Transformation',null,'DiagTransformationBPEL','1.0',null,null,'AIA Diagnostics',null,null,null,null,null,to_date('01-OCT-07','DD-MON-RR'),'oc4jadmin')
    [exec] [sql] java.sql.SQLException: ORA-01843: not a valid month
    [exec] [sql] Failed to execute: Insert into CAVS_DEFINITION_NSXPATHS (DEFINITION_ID,NAMESPACE_ALIAS,NAMESPACE) values (501,'env','http://schemas.xmlsoap.org/soap/envelope/')
    [exec] [sql] java.sql.SQLException: ORA-02291: integrity constraint (AIA.DEFINITION_NSXPATHS_D_FK) violated - parent key not found
    [exec] [sql] *1 of 43 SQL statements executed successfully*
    Any advice to solve this issue?
    Thanks in advance.
    Regards,
    K.
    Edited by: KaRiNe_Fr on 3 juin 2009 01:55 createDiagnosticsCAVSData.sql instead of createBSRIntegScenarioTables.sql...

    Hello,
    me again...
    Is this table CAVS_DEFINITIONS important to be populated for the rest of the AIA installation?
    The installation keeps on failing and it is a real issue for us...
    If of any use, here are some results from SQL requests onto our AIA database:
    SQL> SELECT * FROM NLS_DATABASE_PARAMETERS ;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8ISO8859P15
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD.MM.YYYY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.4.0
    20 rows selected.
    SQL> select to_date('01-OCT-07','DD-MON-RR') from dual;
    TO_DATE('
    01-OCT-07
    Regards,
    KaRiNe.
    Edited by: KaRiNe_Fr on 3 juin 2009 01:59

  • ORA-02291 - ORA-02063 on merge with dml error logging through DB link

    Hello all,
    I have 2 DB's and I would like to merge records from A into B with dml error logging through a db link.
    Exemple:
    merge into B@dblink
    using (select ... from A where...)
    when matched then
    when not matched then
    log errors into err$_A reject limit unlimited;
    When I use this, and exception is thrown:
    ORA-02291: integrity constraint (B.constraint_name) violated - parent key not found
    ORA-02063: preceding line from dblink
    I've got no idea of what causes this.
    Could anyone please help me ?
    Thanks !
    Regards,
    TDE.

    Hello damorgan,
    Thanks for your answer.
    I've well understood that its was a foreign key violation, and I guess that's an error in the source: wee make only logical deletes, and I'm quite sure the problem is there.
    Anyway, I really would understand why dml error logging doesn't work in this case.
    I'll investigate and keep you informed.
    Regards.

  • Master/Details tables with CASCADE delete giving "table mutating" error

    Hi,
    I have two tables in a master/details configuration (table 1 is "master", table 2 is "details").
    The details has a FK contraint relation to the master with a CASCADE delete (so when the master is deleted, all associated details are deleted).
    The master table has a column "last_updated_datetime" which is updated by a master table update trigger whenever most (excluding the last_updated_datetime column) columns are updated.
    The details table has an update trigger which also updates the master table's last_updated_datetime column (whenever a detail row is changed).
    The details table also has a delete trigger which also updated the master table's last_updated_datetime column (whenever a detail row is deleted).
    The problem I have is: When the master record is deleted, which cascade deletes the details record(s), the delete trigger on the details table throws a "table is mutating" error.
    I understand that the "mutating" error is "correct" because the master record is being deleted.
    But is there some way I can get around this problem (for example, having the details table delete trigger not update the master table last_updated_datetime) when it's this cascade delete?
    Thanks for your help!

    create table master (
      id number primary key,
      changed date not null
    create table detail (
      id number primary key,
      master_id references master (id) on delete cascade
    create or replace package pkg is
      master_deleted boolean := false;
    end;
    create or replace trigger bds_master
      before delete on master
    begin
      pkg.master_deleted := true;
    end;
    create or replace trigger ads_master
      after delete on master
    begin
      pkg.master_deleted := false;
    end;
    create or replace trigger adr_detail
      after delete on detail
      for each row
    begin
    if not pkg.master_deleted then
        update master
           set changed = sysdate
         where id = :old.master_id;
      end if;
    end;
    insert into master values (1, sysdate - 10);
    insert into detail values (11, 1);
    insert into detail values (12, 1);
    insert into master values (2, sysdate - 10);
    insert into detail values (21, 2);
    insert into detail values (22, 2);
    insert into master values (3, sysdate - 10);
    insert into detail values (31, 3);
    insert into detail values (32, 3);
    commit;
    select * from master order by id;
            ID CHANGED                                                             
             1 01.09.08                                                            
             2 01.09.08                                                            
             3 01.09.08                                                            
    select * from detail order by id;
            ID  MASTER_ID                                                          
            11          1                                                          
            12          1                                                          
            21          2                                                          
            22          2                                                          
            31          3                                                          
            32          3                                                          
    delete detail where id = 21;
    select * from master order by id;
            ID CHANGED                                                             
             1 01.09.08                                                            
             2 11.09.08
             3 01.09.08                                                            
    select * from detail order by id;
            ID  MASTER_ID                                                          
            11          1                                                          
            12          1                                                          
            22          2                                                          
            31          3                                                          
            32          3                                                          
    delete master where id in (1, 2);
    select * from master order by id;
            ID CHANGED                                                             
             3 01.09.08                                                            
    select * from detail order by id;
            ID  MASTER_ID                                                          
            31          3                                                          
            32          3                                                           Regards,
    Zlatko
    Edited by: Zlatko Sirotic on Sep 11, 2008 11:15 PM
    This is disaster - ten attempts to format code!

  • Creating database problem with ORA-01519: error while processing file '' ne

    Dear all,
    I am having rough time with creating database manually. can anyone help me with the following errors.
    ALERT LOGFILE:-
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
    ORA-01519: error while processing file '' near line
    CREATE DATABASE SCRIPT:-
    create database ORACLE5
    user sys identified by bala
    user system identified by bala
    logfile
    group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
    group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
    group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
    maxlogfiles 5
    maxlogmembers 5
    maxloghistory 1
    maxdatafiles 50
    maxinstances 1
    datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
    default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
    character set US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    INIT.ORA FILE:-
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_format=ARC%S_%R.%T
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=oracle5
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
    core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
    user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
    # File Configuration
    #db_create_file_dest=D:\oracle\product\10.1.0\oradata
    db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")

    Hi,
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
    Bartek

  • ORA-12008: error in materialized view refresh path with ORA-01652

    I have a temp tablespace with 2 tempfiles of 2GB each (total 4GB) but still refresh of materialized view is failing with following error:
    5646690 - BIS Materialized View Refresh Program
    ORA-12008: error in materialized view refresh path
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP1
    I checked and temp ts is completly filled
    SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
    TABLESPACE_NAME BYTES_USED BYTES_FREE
    TEMP1 2147483648 0
    TEMP1 2147483648 0
    My question is how do I find out how much space I need for temp tablespace. what 's the best practise to size temp tablespace when running refresh. refresh is done by client who is submitting a request thru ebiz apps so I 'd like to size it correctly without having to keep guessing.
    Thanks so much in advance for any help

    Hello,
    Temp tablespace size depends how much sort by , order by operation your application performing. You can create new temp tablespace and drop old one with bigger file size
    CREATE  TEMPORARY TABLESPACE TEMP02 TEMPFILE '\mypath_to_temp\TEMP02' SIZE 256M REUSE AUTOEXTEND ON NEXT 256M MAXSIZE 8192M EXTENT MANAGEMENT LOCAL;
    ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP02;
    Drop tablespace temp including contents; -- Make sure you delete on temp data files.Here is link for your reading purpose
    http://www.idevelopment.info/data/Oracle/DBA_tips/Tablespaces/TBS_3.shtml
    Regards
    Edited by: OrionNet on Mar 6, 2009 6:15 PM

  • ORA-00472: PMON  process terminated with error

    Hi,
    I got this error in alert log.But the clients didn't complain they had a downtime.But in alert log I see the following.Why the db got restarted and why the clients could not notice it.Can somebody please reply why this has happened.
    Mon Jul 18 12:28:02 2011
    ARC1: terminating instance due to error 472
    Mon Jul 18 12:28:03 2011
    Errors in file /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc:
    ORA-00472: PMON process terminated with error
    Instance terminated by ARC1, pid = 2306362
    Mon Jul 18 12:28:52 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =242
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
    processes = 2000
    shared_pool_size = 536870912
    large_pool_size = 54525952
    java_pool_size = 75497472
    streams_pool_size = 54525952
    control_files = /data/plsprod/p02/control01.ctl, /data/plsprod/p03/control02.ctl, /data/plsprod/p04/control03.ctl
    db_block_size = 8192
    db_cache_size = 104857600
    compatible = 10.2.0.3
    log_archive_dest_1 = location=/data/plsprod/archredo MANDATORY REOPEN
    log_archive_dest_2 = SERVICE=talon_plsprod.travimp.com LGWR ASYNC NOAFFIRM REOPEN=60 NODELAY
    log_archive_dest_state_1 = enable
    log_archive_dest_state_2 = enable
    standby_archive_dest = /data/plsprod/archredo
    log_archive_format = redo_plsprod_%r_%t_%s.arc
    log_buffer = 6120448
    fast_start_mttr_target = 30
    undo_management = AUTO
    undo_tablespace = plsprod_undo
    undo_retention = 1500
    remote_login_passwordfile= EXCLUSIVE
    db_domain = travimp.com
    instance_name = plsprod
    service_names = plsprod.travimp.com
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=catalina)(PORT=1521))
    background_dump_dest = /backups/p01/app/oracle/admin/plsprod/bdump
    user_dump_dest = /backups/p01/app/oracle/admin/plsprod/udump
    core_dump_dest = /backups/p01/app/oracle/admin/plsprod/cdump
    session_max_open_files = 60
    sort_area_size = 1048576
    sort_area_retained_size = 1048576
    db_name = plsprod
    open_cursors = 100
    os_authent_prefix =
    pga_aggregate_target = 26214400
    aq_tm_processes = 0
    PMON started with pid=2, OS id=5623926
    PSP0 started with pid=3, OS id=5566632
    MMAN started with pid=4, OS id=5328992
    DBW0 started with pid=5, OS id=4362640
    DBW1 started with pid=6, OS id=4808940
    LGWR started with pid=7, OS id=4358468
    CKPT started with pid=8, OS id=4784160
    SMON started with pid=9, OS id=4354538
    RECO started with pid=10, OS id=4313420
    MMON started with pid=11, OS id=4771908
    MMNL started with pid=12, OS id=4743272
    Mon Jul 18 12:28:53 2011
    ALTER DATABASE MOUNT
    Mon Jul 18 12:28:57 2011
    Setting recovery target incarnation to 1
    Mon Jul 18 12:28:57 2011
    Successful mount of redo thread 1, with mount id 2894903685
    Mon Jul 18 12:28:57 2011
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Mon Jul 18 12:28:58 2011
    ALTER DATABASE OPEN
    Mon Jul 18 12:28:58 2011
    Beginning crash recovery of 1 threads
    parallel recovery started with 15 processes
    Mon Jul 18 12:28:58 2011
    Started redo scan
    Mon Jul 18 12:28:58 2011
    Completed redo scan
    1696 redo blocks read, 56 data blocks need recovery
    Mon Jul 18 12:28:58 2011
    Started redo application at
    Thread 1: logseq 17759, block 26354
    Mon Jul 18 12:28:58 2011
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 17759 Reading mem 0
    Mem# 0: /data/plsprod/p01/redo_t1_g1_f1.log
    Mem# 1: /data/plsprod/p02/redo_t1_g1_f2.log
    Mon Jul 18 12:28:58 2011
    Completed redo application
    Mon Jul 18 12:28:58 2011
    Completed crash recovery at
    Thread 1: logseq 17759, block 28050, scn 35195499598
    56 data blocks read, 56 data blocks written, 1696 redo blocks read
    Mon Jul 18 12:28:58 2011
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=29, OS id=4338022
    Mon Jul 18 12:28:58 2011
    ARC0: Archival started
    ARC1: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC1 started with pid=30, OS id=1081522
    LNS1 started with pid=31, OS id=5537854
    Mon Jul 18 12:29:01 2011
    Thread 1 advanced to log sequence 17760
    Thread 1 opened at log sequence 17760
    Current log# 2 seq# 17760 mem# 0: /data/plsprod/p01/redo_t1_g2_f1.log
    Current log# 2 seq# 17760 mem# 1: /data/plsprod/p02/redo_t1_g2_f2.log
    Successful open of redo thread 1
    Mon Jul 18 12:29:01 2011
    ARC0: STARTING ARCH PROCESSES
    Mon Jul 18 12:29:01 2011
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    Mon Jul 18 12:29:01 2011
    SMON: enabling cache recovery
    Mon Jul 18 12:29:02 2011
    ARC2: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    ARC0: Becoming the heartbeat ARCH
    ARC2 started with pid=32, OS id=5644370
    Mon Jul 18 12:29:02 2011
    ARC0: Standby redo logfile selected for thread 1 sequence 17759 for destination LOG_ARCHIVE_DEST_2
    Mon Jul 18 12:29:02 2011
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    Mon Jul 18 12:29:03 2011
    Successfully onlined Undo Tablespace 16.
    Mon Jul 18 12:29:03 2011
    SMON: enabling tx recovery
    Mon Jul 18 12:29:03 2011
    Database Characterset is US7ASCII
    replication_dependency_tracking turned off (no async multimaster replication found)
    WARNING: AQ_TM_PROCESSES is set to 0. System operation might be adversely affected.
    Completed: ALTER DATABASE OPEN
    Mon Jul 18 12:29:58 2011
    Shutting down archive processes
    Mon Jul 18 12:30:03 2011
    ARCH shutting down
    ARC2: Archival stopped

    Hi CKPT,
    Please find the output of the trace file as below.I deleted the repetitive output "Attempting to send buffer 0x111441d30 start block 91942 block count 84
    total size to send 43008 blocksize 512" as it exceeds maximum length of 30000 characters in this post.
    CATALINA_mardiprd>cat /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc
    /backups/p01/app/oracle/admin/plsprod/bdump/plsprod_lns1_3772752.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /p01/app/oracle10g/product/10.2.0.3
    System name: AIX
    Node name: catalina
    Release: 3
    Version: 5
    Machine: 00044C5FD600
    Instance name: plsprod
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Unix process pid: 3772752, image: oracle@catalina (LNS1)
    *** SERVICE NAME:() 2011-07-18 09:42:11.573
    *** SESSION ID:(2189.1) 2011-07-18 09:42:11.573
    *** 2011-07-18 09:42:11.573 57516 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2011-07-18 09:42:11.574 57569 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2011-07-18 09:42:12.577 71560 kcrr.c
    Sending online log thread 1 seq 17731 [logfile 3] to standby
    Opening logfile [logno 3]
    Redo shipping client performing standby login
    *** 2011-07-18 09:42:12.693 65194 kcrr.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Allocate ASYNC blocks: Previous blocks=0 New blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 3 block count 35
    total size to send 17920 blocksize 512
    *** 2011-07-18 09:42:27.009
    Attempting to send buffer 0x111441d30 start block 38 block count 2914
    total size to send 1491968 blocksize 512
    *** 2011-07-18 09:42:50.007
    Attempting to send buffer 0x111441d30 start block 2952 block count 2
    total size to send 1024 blocksize 512
    *** 2011-07-18 09:43:01.441
    Attempting to send buffer 0x111441d30 start block 2954 block count 19286
    total size to send 9874432 blocksize 512
    Attempting to send buffer 0x111441d30 start block 22240 block count 19657
    total size to send 10064384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 41897 block count 1687
    total size to send 863744 blocksize 512
    *** 2011-07-18 09:43:13.007
    Attempting to send buffer 0x111441d30 start block 43584 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 43585 block count 13
    total size to send 6656 blocksize 512
    Attempting to send buffer 0x111441d30 start block 43598 block count 19008
    total size to send 9732096 blocksize 512
    *** 2011-07-18 09:43:24.265
    Attempting to send buffer 0x111441d30 start block 62606 block count 19349
    total size to send 9906688 blocksize 512
    *** 2011-07-18 09:43:25.524 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:25.524 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 81955 block count 10066
    total size to send 5153792 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17731. Using it
    Closing thread 1 sequence 17731 logno 3 nab 92021 los 35193489640 nxs 35193490559
    *** 2011-07-18 09:43:26.686 71560 kcrr.c
    Sending online log thread 1 seq 17732 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 20407
    total size to send 10448384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 20409 block count 20349
    total size to send 10418688 blocksize 512
    Attempting to send buffer 0x111441d30 start block 40758 block count 19751
    total size to send 10112512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 60509 block count 20260
    total size to send 10373120 blocksize 512
    *** 2011-07-18 09:43:33.262 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:33.262 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 80769 block count 11251
    total size to send 5760512 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17732. Using it
    Closing thread 1 sequence 17732 logno 1 nab 92020 los 35193490559 nxs 35193490735
    *** 2011-07-18 09:43:33.541 71560 kcrr.c
    Sending online log thread 1 seq 17733 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    *** 2011-07-18 09:43:34.387
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 19192
    total size to send 9826304 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19194 block count 18876
    total size to send 9664512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 38070 block count 19565
    total size to send 10017280 blocksize 512
    Attempting to send buffer 0x111441d30 start block 57635 block count 19765
    total size to send 10119680 blocksize 512
    *** 2011-07-18 09:43:41.660 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:43:41.660 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 77400 block count 14627
    total size to send 7489024 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17733. Using it
    Closing thread 1 sequence 17733 logno 2 nab 92027 los 35193490735 nxs 35193490800
    *** 2011-07-18 09:43:41.928 71560 kcrr.c
    Sending online log thread 1 seq 17734 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 59038 block count 18758
    total size to send 9604096 blocksize 512
    *** 2011-07-18 09:44:42.141
    *** 2011-07-18 09:44:42.141 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:44:42.142 72204 kcrr.c
    Detected physical end of file
    total size to send 586240 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17744. Using it
    Closing thread 1 sequence 17744 logno 1 nab 92029 los 35193494218 nxs 35193494529
    *** 2011-07-18 09:45:58.974 71560 kcrr.c
    Sending online log thread 1 seq 17745 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 9013
    total size to send 4614656 blocksize 512
    Attempting to send buffer 0x111441d30 start block 9015 block count 20176
    total size to send 10330112 blocksize 512
    Attempting to send buffer 0x111441d30 start block 29191 block count 19808
    total size to send 10141696 blocksize 512
    Attempting to send buffer 0x111441d30 start block 48999 block count 18939
    total size to send 9696768 blocksize 512
    *** 2011-07-18 09:46:10.146
    Attempting to send buffer 0x111441d30 start block 67938 block count 19124
    total size to send 9791488 blocksize 512
    Attempting to send buffer 0x111441d30 start block 87062 block count 3690
    total size to send 1889280 blocksize 512
    *** 2011-07-18 09:46:12.644 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:12.644 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 90752 block count 1267
    total size to send 648704 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17745. Using it
    Closing thread 1 sequence 17745 logno 2 nab 92019 los 35193494529 nxs 35193494940
    *** 2011-07-18 09:46:13.690 71560 kcrr.c
    Sending online log thread 1 seq 17746 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 19533
    total size to send 10000896 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19535 block count 11151
    total size to send 5709312 blocksize 512
    Attempting to send buffer 0x111441d30 start block 30686 block count 20154
    total size to send 10318848 blocksize 512
    *** 2011-07-18 09:46:20.822
    Attempting to send buffer 0x111441d30 start block 50840 block count 19083
    total size to send 9770496 blocksize 512
    Attempting to send buffer 0x111441d30 start block 69923 block count 19167
    total size to send 9813504 blocksize 512
    *** 2011-07-18 09:46:22.573 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:22.573 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 89090 block count 2933
    total size to send 1501696 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17746. Using it
    Closing thread 1 sequence 17746 logno 3 nab 92023 los 35193494940 nxs 35193495191
    *** 2011-07-18 09:46:23.637 71560 kcrr.c
    Sending online log thread 1 seq 17747 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 8093
    total size to send 4143616 blocksize 512
    Attempting to send buffer 0x111441d30 start block 8095 block count 20288
    total size to send 10387456 blocksize 512
    Attempting to send buffer 0x111441d30 start block 28383 block count 18967
    total size to send 9711104 blocksize 512
    *** 2011-07-18 09:46:31.007
    Attempting to send buffer 0x111441d30 start block 47350 block count 5237
    total size to send 2681344 blocksize 512
    Attempting to send buffer 0x111441d30 start block 52587 block count 20188
    total size to send 10336256 blocksize 512
    Attempting to send buffer 0x111441d30 start block 72775 block count 19167
    total size to send 9813504 blocksize 512
    *** 2011-07-18 09:46:37.430 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:46:37.430 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 91942 block count 84
    total size to send 43008 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17747. Using it
    Closing thread 1 sequence 17747 logno 1 nab 92026 los 35193495191 nxs 35193495503
    *** 2011-07-18 09:46:37.501 71560 kcrr.c
    Sending online log thread 1 seq 17748 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    Attempting to send buffer 0x111441d30 start block 2 block count 2052
    total size to send 1050624 blocksize 512
    *** 2011-07-18 09:46:43.059
    total size to send 8164352 blocksize 512
    *** 2011-07-18 09:48:18.781
    *** 2011-07-18 09:48:18.781 72367 kcrr.c
    Detected proper completion of online log
    **** 2011-07-18 09:48:18.781 72204 kcrr.c*
    Detected physical end of file
    Attempting to send buffer 0x111441d30  start block 90604  block count 1416
    total size to send 724992  blocksize 512
    Online entry still exists for log 2 thr 1 seq 17754. Using it
    Closing thread 1 sequence 17754 logno 2 nab 92020 los 35193496751 nxs 35193496934
    **** 2011-07-18 09:48:19.891 71560 kcrr.c*
    *Sending online log thread 1 seq 17755 [logfile 3] to standby*
    *Opening logfile [logno 3]*
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    *Log file opened [logno 3]*
    Attempting to send buffer 0x111441d30 start block 2 block count 19248
    total size to send 9854976 blocksize 512
    Attempting to send buffer 0x111441d30 start block 19250 block count 20166
    total size to send 10324992 blocksize 512
    Attempting to send buffer 0x111441d30 start block 39416 block count 4955
    total size to send 2536960 blocksize 512
    Attempting to send buffer 0x111441d30 start block 44371 block count 19903
    total size to send 10190336 blocksize 512
    *** 2011-07-18 09:48:30.215
    Attempting to send buffer 0x111441d30 start block 64274 block count 19991
    total size to send 10235392 blocksize 512
    *** 2011-07-18 09:48:32.370 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:48:32.370 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 84265 block count 7754
    total size to send 3970048 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17755. Using it
    Closing thread 1 sequence 17755 logno 3 nab 92019 los 35193496934 nxs 35193498387
    *** 2011-07-18 09:48:32.472 71560 kcrr.c
    Sending online log thread 1 seq 17756 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 19214
    total size to send 9837568 blocksize 512
    *** 2011-07-18 09:48:40.267
    Attempting to send buffer 0x111441d30 start block 19216 block count 19981
    total size to send 10230272 blocksize 512
    Attempting to send buffer 0x111441d30 start block 39197 block count 19586
    total size to send 10028032 blocksize 512
    Attempting to send buffer 0x111441d30 start block 58783 block count 6569
    total size to send 3363328 blocksize 512
    Attempting to send buffer 0x111441d30 start block 65352 block count 19894
    total size to send 10185728 blocksize 512
    *** 2011-07-18 09:48:47.133 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:48:47.133 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 85246 block count 6772
    total size to send 3467264 blocksize 512
    Online entry still exists for log 1 thr 1 seq 17756. Using it
    Closing thread 1 sequence 17756 logno 1 nab 92018 los 35193498387 nxs 35193500455
    *** 2011-07-18 09:48:47.344 71560 kcrr.c
    Sending online log thread 1 seq 17757 [logfile 2] to standby
    Opening logfile [logno 2]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 2]
    *** 2011-07-18 09:48:50.302
    Attempting to send buffer 0x111441d30 start block 2 block count 18546
    total size to send 9495552 blocksize 512
    Attempting to send buffer 0x111441d30 start block 18548 block count 19821
    total size to send 10148352 blocksize 512
    Attempting to send buffer 0x111441d30 start block 38369 block count 20457
    total size to send 10473984 blocksize 512
    *** 2011-07-18 09:49:02.194
    Attempting to send buffer 0x111441d30 start block 58826 block count 20477
    total size to send 10484224 blocksize 512
    Attempting to send buffer 0x111441d30 start block 79303 block count 12397
    total size to send 6347264 blocksize 512
    *** 2011-07-18 09:49:08.443 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 09:49:08.443 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 91700 block count 333
    total size to send 170496 blocksize 512
    Online entry still exists for log 2 thr 1 seq 17757. Using it
    Closing thread 1 sequence 17757 logno 2 nab 92033 los 35193500455 nxs 35193504614
    *** 2011-07-18 09:49:08.549 71560 kcrr.c
    Sending online log thread 1 seq 17758 [logfile 3] to standby
    Opening logfile [logno 3]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 3]
    Attempting to send buffer 0x111441d30 start block 2 block count 19640
    total size to send 10055680 blocksize 512
    *** 2011-07-18 09:49:15.005
    Attempting to send buffer 0x111441d30 start block 19642 block count 12646
    total size to send 6474752 blocksize 512
    Attempting to send buffer 0x111441d30 start block 92000 block count 23
    total size to send 11776 blocksize 512
    *** 2011-07-18 11:30:19.515 72367 kcrr.c
    Detected proper completion of online log
    *** 2011-07-18 11:30:19.515 72204 kcrr.c
    Detected physical end of file
    Attempting to send buffer 0x111441d30 start block 92023 block count 11
    total size to send 5632 blocksize 512
    Online entry still exists for log 3 thr 1 seq 17758. Using it
    Closing thread 1 sequence 17758 logno 3 nab 92034 los 35193504614 nxs 35194291751
    *** 2011-07-18 11:30:21.546 71560 kcrr.c
    Sending online log thread 1 seq 17759 [logfile 1] to standby
    Opening logfile [logno 1]
    Destination LOG_ARCHIVE_DEST_2 is in MAXIMUM PERFORMANCE mode
    Archiving to destination talon_plsprod.travimp.com ASYNC blocks=20480
    Log file opened [logno 1]
    Attempting to send buffer 0x111441d30 start block 2 block count 24
    total size to send 12288 blocksize 512
    *** 2011-07-18 11:30:27.006
    Attempting to send buffer 0x111441d30 start block 26 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27 block count 34
    total size to send 17408 blocksize 512
    Attempting to send buffer 0x111441d30 start block 61 block count 31
    total size to send 15872 blocksize 512
    *** 2011-07-18 11:30:39.003
    Attempting to send buffer 0x111441d30 start block 92 block count 32
    total size to send 16384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 124 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 126 block count 1
    total size to send 512 blocksize 512
    *** 2011-07-18 11:30:51.000
    Attempting to send buffer 0x111441d30 start block 127 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 128 block count 30
    total size to send 15360 blocksize 512
    Attempting to send buffer 0x111441d30 start block 158 block count 88
    total size to send 45056 blocksize 512
    Attempting to send buffer 0x111441d30 start block 246 block count 3
    total size to send 1536 blocksize 512
    *** 2011-07-18 11:31:03.002
    Attempting to send buffer 0x111441d30 start block 249 block count 32
    total size to send 16384 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27416 block count 4
    total size to send 2048 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27420 block count 14
    total size to send 7168 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27434 block count 54
    total size to send 27648 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27488 block count 10
    total size to send 5120 blocksize 512
    *** 2011-07-18 12:27:01.000
    Attempting to send buffer 0x111441d30 start block 27498 block count 78
    total size to send 39936 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27576 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27578 block count 56
    total size to send 28672 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27634 block count 60
    total size to send 30720 blocksize 512
    *** 2011-07-18 12:27:14.006
    Attempting to send buffer 0x111441d30 start block 27694 block count 7
    total size to send 3584 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27701 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27702 block count 106
    total size to send 54272 blocksize 512
    *** 2011-07-18 12:27:28.001
    Attempting to send buffer 0x111441d30 start block 27808 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27810 block count 37
    total size to send 18944 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27847 block count 2
    total size to send 1024 blocksize 512
    *** 2011-07-18 12:27:42.002
    Attempting to send buffer 0x111441d30 start block 27849 block count 78
    total size to send 39936 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27927 block count 43
    total size to send 22016 blocksize 512
    *** 2011-07-18 12:27:52.001
    Attempting to send buffer 0x111441d30 start block 27970 block count 1
    total size to send 512 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27971 block count 2
    total size to send 1024 blocksize 512
    Attempting to send buffer 0x111441d30 start block 27973 block count 38
    total size to send 19456 blocksize 512
    *** 2011-07-18 12:28:03.007
    ORA-00472: PMON  process terminated with error
    Closing Redo Read Context
    Redo Push Server: Freeing ASYNC PGA buffer
    LNS1: Doing a channel reset for next time around...
    Please help me out.

  • Oracle errors frm-40508 &ora-02291

    hello
    i m having a problem
    i have two tables for my project with one of em master and the other a detail one
    i m using developer 2000 for frontend
    when i try inserting data in the forms developed i encounter an error frm-40508 which says "unable to insert record" the corresponding ora error is ora-02291 which says "integrity constraint violated - parent key not found"
    i have a primary key in my master table which is used to connect it to details table through foreign key.feilds for the primary key in master and foreign key in details are same
    i dont have any such problem if i input data through sql command insert
    plz suggest me some solution to this problem
    thnx
    nipun

    Hi,
    Just try watching is therer ar no unique indexes on that table where u are doing an insert. another reason might be the composite primary key or the combination that might be confusing you.
    U can try out adding an exception block to the trigger and try raise when-dup-val-on-index exception
    Thanks,
    Vishal

Maybe you are looking for

  • Macbook Pro not displaying 1080p on my monitor anymore after 10.8.4.

    Hey,  My Macbook Pro 8,2 15" early 2011 unibody does not display on my BENQ g2420hd screen anymore.  I am using a thunderbolt to HDMI cable and it used to work fine.  I have tried my macbook pro with the same lead through a different screen and that

  • Updated to 10.9.2 and now Bluetooth Not Available and no Bluetooth pref pane

    Anyone else having this issue?

  • Issues regarding workitem text

    HI All, I see the Workitem text mismatches when compared to Workitem lying in SBWP and the email send to ms outlook and also surprisingly when compared to SBWP and SOST I see the same mismatch.Can some one help me in finding the issue and also the fi

  • How to change the Group name?

    Hi I made some groups and assigned users to it. Now the need requires me to change the names of the group. Could you please explain me how to do this and also will this chage be also effective in the desktop master rule. I'm using EP6.0, SP11 Thanks

  • Render pause doesn't relieve the processor

    Ever since I started using AE (from version CS to CS4 now) I remember having that problem: the pause button in the render queue stops rendering but it DOES NOT relieve your processor in anyway nor does it free up any memory consumed. So I wonder what