ORA-02291 SQL EXCEPTION
I have one table name Route(RouteID NUMBER Primary Key,RouteName VARCHAR2)
I have one more Table Destination(DestId NUMBER f reference oreignKey(RouteID)).
I am going to Insert Data into the Destination Table Without having an entry In route Table.Then,I am getting an Exception ORA-02291 Parent Key Was not Found.I have tried to handle that Exception.but im not able to handle that Exception.I want to know how to Handle that Exception.?..Please give me some Suggestions...
I don't think you can cause its a parent key violation.
Do you want to store the ora_errors exceptions?You need to embed that in PL?SQL and create a log table.
Procedure insert_into_destination_table IS
start_time date :=sysdate;
proc_name varchar2(40) :='Insert_into_destination_table';
cnt integer :=0;
Begin
insert into Table Destination
values('AAA');
add_log(proc_name, cnt, start_time, 'Finish!');
EXCEPTION
WHEN OTHERS THEN
rollback;
add_log(proc_name, cnt, start_time, substr(SQLCODE||' '||SQLERRM, 1, 199));
Cheers!
Similar Messages
-
FRM-40735:KEY-COMMIT ORA-02291 trigger raised unhandled exception
FRM-40735:KEY-COMMIT ORA-02291 trigger raised unhandled exception. when i tried to save records.
I am using multi record block , 12 records will display at a time, i am trying to save 1st and 5th record which i changed.
calling a procedure in key-commit trigger
PROCEDURE desig_updation IS
V_count number := get_block_property('employee_master',query_hits);
BEGIN
go_block('employee_master');
first_record;
for i in 1.. V_count loop
if((:desig is not null ) and (:new_date is not null) and (:emp_desig<>:desig) and (:new_date >=:emp_desig_date)) then
:emp_desig :=:desig;
:emp_grade:=:grade;
:emp_desig_date:=:new_date;
:emp_upd_by:=:global.usr;
:emp_upd_on:=:system.current_datetime;
if( (:radio_group=2) and (:incr_amt is not null)) then
increment_process;
end if;
end if;
if :system.last_record ='TRUE' then exit;
else next_record;
end if;
end loop;
END;
PROCEDURE commit_action IS
BEGIN
desig_updation;
commit_form;
IF FORM_SUCCESS THEN
CLEAR_FORM(NO_VALIDATE);
EXECUTE_TRIGGER('PRE-FORM');
END IF;
END;
key-commit-trigger
commit_action;
commit_form;
IF FORM_SUCCESS THEN
CLEAR_FORM(NO_VALIDATE);
EXECUTE_TRIGGER('PRE-FORM');
END IF;
PROCEDURE increment_process IS
m_gross_sal number;
p_rslt varchar2(200);
p_status varchar2(20);
BEGIN
delete from INCR_TEMP where ECODE = :emp_code ;
m_gross_sal := aod_gross_salary(:emp_orgn,:emp_code,'A');--find current salary
insert into INCR_TEMP(ECODE , CURR_SAL ,
INCREMENT_AMT ,TOTAL_AOD,
STATUS,INCR_TYPE)
values(:emp_code,m_gross_sal,
:incr_amt,m_gross_sal+:incr_amt,
'N','I');
forms_ddl('commit');
update_emp_increment(:emp_orgn,:emp_code,
TRUNC(to_date(to_char(:new_Date,'DD/MM/YYYY'),'DD/MM/YYYY')),null,
:incr_amt, p_rslt,
:parameter.p_user,to_date(to_char(SYSDATE,'DD/MM/YYYY'),'DD/MM/YYYY'),'I',
p_status);
END;
thanks,
rinzIt seems you are insert some data in child table. For which parent data does not exist. In simple primary key values does not exist while you are trying to insert in foreign key values. check this link.
http://www.lmgtfy.com/?q=ORA-02291
-Ammad -
Consolidator Exception: ORA-02291
We have Olite 10g R2 on a Windows 2003 5.2 Operating system. We packaged an application and published it to the Mobile Server. When we attempt to assign access to a user or a group we are getting a VIRTUAL PATH IS NULL error. Even though we get this error it still shows the user or group as having access on the APPLICATION: ACCESS table. When we attempt to set the ROLES for the USER or GROUP we then get the following error.
Error in executing “ Save application “:oracle.lite.web.resource.ResourceException: CONS-10049: Consolidator Exception: ORA-02291: integrity constraint (MOBILEADMIN.C$ALL_CLIENT_ITEMSFK) violated – parent key not found
The 10.2.0.2.0 patchset has been applied. We are still getting both of these errors. Is there another patch that is required? Need some help.When you publish an application data is created in the mobileadmin repository schema
C$ALL_PUBLICATIONS will contain one record for each publication item you create (plus a few pre-loaded default ones). The record includes the select statement used to define the snapshot for the publication item, so if this is for an object with a lot of columns or a complex select statement it can result in a large record. From this error is looks like the table space definition is too small.
You need to talk to your DBAs about getting this increased. If it is too small as well as problems with the publish, the MGP process may fail as well as by default the CFM$ inqueue and CMP$ out queue tables also get created in this tablespace -
Hi,
I am using WLCS 3.5/WLS 6.0 service pack 2/Oracle 8.1.6 with WebLogic
jdrivers (816_7)(weblogicoci37.dll) and am trying to display the sample
application. When the placeholders are loading I get the following
exceptions:
####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
Can anybody help?
Laura :-)All my fault - have now solved problem by running the install users script -
feel a bit stupid but at least the problem is fixed!! Thanks for all your
help people. :-)
"Laura Allen" <[email protected]> wrote in message
news:[email protected]...
Hi,
I am using WLCS 3.5/WLS 6.0 service pack 2/Oracle 8.1.6 with WebLogic
jdrivers (816_7)(weblogicoci37.dll) and am trying to display the sample
application. When the placeholders are loading I get the following
exceptions:
####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:27 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:35 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '11' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:41 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:46 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_top_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
####<02-Aug-01 11:53:50 BST> <Warning> <ph:placeholder> <ecsoft-lo-twks1>
<wlcsServer> <ExecuteThread: '13' for queue: 'default'> <> <> <000000>
<Content Error (Placeholder:cs_side_generic) SQL Exception:ORA-03115:
unsupported network datatype or representation>
Can anybody help?
Laura :-) -
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. -
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
nipunHi,
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 -
0. Am using these products:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
1. Form is commited. I am the only user of the form.
2. Button trigger contains only
Insert into xxxxx (b1,b2,b3) values(y1,y2,y3);
but the insert doesn't succeed.
Table xxxxx
a. is not a base table of the form
b. is without parent or child.
c. has no database triggers.
The datatypes of the b1,b2,b3 match y1,y2,y3 respectively.
A 'when others' exception handler is on the insert statement.
The statement works fine outside the form.
Result:
1. Exception handler doesn't catch error
2. Receive message
frm-40735 when-button-pressed raised unhandled exception ora-02291
How do I correct it?
Edited by: 887186 on Sep 23, 2011 4:25 PMInsert into xxxxx (b1,b2,b3) values(y1,y2,y3);So, what happens when you try your INSERT through SQL Developer or SQL*Plus? Do you still get the error? If so, regardless of what you say, there is a constraint on the target table. You either need to delete the constraint or add the matching parent record first. :)
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Sep 28, 2011 9:17 AM -
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. -
SQL exception in File Adapter.
Hi experts,
I have a sender adapter of type file to retrieve data from ftp conexion. If I use a ftp client I can see remove the files, but when I active the communication channel appears this error in the communication channel monitor:
Error: com.sap.aii.af.ra.ms.api.DeliveryException: Problem inserting 633c24f5-b66e-4216-17b8-b91aa544cfcc(OUTBOUND) into the database: java.sql.SQLException: ORA-01400: no se puede realizar una inserción NULL en ("SAPSR3DB"."XI_AF_MSG"."VERS_NBR")
Any idea?
What is the reason which a sql exception is raised?
Thanks in advance.
Jose ManuelCheck Temporary Tablespace is Empty.
Go thru this thread for other inputs to resolve ur problem :
java.sql.SQLException -
ORA-17002 IO Exceptions since Windows Vista
I just wanted to add a comment about the following dead thread that got locked after someone resurrected it:
The specified item was not found.
So Rüdiger, if you see this, please do not post to long dead threads. Open your own and reference the other question or discussion thread.
The new title I post here reflects the fact that this issue became much more prevalent after Microsoft made a fix in Vista that Oracle learned of through the following bug (logged against JDBC)
and SR (logged against Microsoft):
Bug 9373409 - SUDDENLY JDBC THIN GOT CONNECTION ABORT ERROR ONLY WINDOWS 2008 OR VISTA ENV
and
Microsoft's SR: SRF100225601418
"This is expected behavior by the fix of winsock code since Vista.
Windows has two different type of buffer for recv data (normal and
urgent). Windows has only 16 packets buffer for urgent packet since
Windows Vista. Because winsock layer was rewrote and the buffer was
restricted for reduce memory-leak and urgent attack.
4-1 This is hard-corded limitation. Therefore customer can not set the
buffer size by registry.
4-2 The workaround is recv MSG_OOB data on client (don't ignore)."
Assuming the ORA-17002 IO Exception applies both to connection aborts and break packets (as noted in the dead thread), then there are a couple of ways to proceed:
1. Disable Out Of Band Breaks (oracle.net.disableOob=true, either via AddVMOption in sqldeveloper.conf or via Java param -Doracle.net.disableOob=true)
2. Get the database patch for your version (11.2.0.2 in Rüdiger's case) as indicated in Bug 9373409. Otherwise it is fixed in 12.1.
Regards,
Gary
SQL Developer TeamUsman wrote:
>
Hi,
We are developing a JDBC application using WebLogic 6.0 as AppServer. When we
rolled out the application in production, things work fine for about a day or
so, then calls to Stored Procedures start giving ORA-17002 (io exception) and
ORA-17009 (Closed Statement) exceptions while calling Stored Procedures. Restarting
the server 'fixes' the problem for one more day.... We are not able to reproduce
this behaviour in test or development servers.
Can anybody suggest something.....
Regards,
Usman.Hi. Describe how you are obtaining and using pool connections. Also, do download the
latest thin driver from Oracle, because they have recently fixed some serious
bugs in it.
Let me know,
Joe -
ORA-02291 during MERGE on self-referenced table
Hello,
I encountered error ORA-02291 when I tried to use MERGE statement on the table with "self-referenced" foreign key. Using the foreign key deferrable did not help. The only one thing, which helped me, was using errorlog table. See the demonstration:
Working as common user:
SQL> CONNECT scott/tiger
First of all, I create table and (not deferrable) constraints:
CREATE TABLE fkv (
id NUMBER(1) CONSTRAINT nn_fkv_id NOT NULL,
parent_id NUMBER(1) CONSTRAINT nn_fkv_paid NOT NULL
ALTER TABLE fkv ADD CONSTRAINT pk_fkv_id PRIMARY KEY (id);
ALTER TABLE fkv ADD CONSTRAINT fk_fkv_paid FOREIGN KEY (parent_id) REFERENCES fkv(ID) NOT DEFERRABLE;
INSERT is working well:
INSERT INTO fkv (
id,
parent_id
SELECT
1,
1
FROM
DUAL;
COMMIT;
1 rows inserted.
commited.
MERGE statement using UPDATE branch is working well too:
MERGE INTO fkv USING (
SELECT
1 AS ID,
1 AS PARENT_ID
FROM
DUAL
) a
ON (
fkv.id = a.id
WHEN MATCHED THEN
UPDATE SET
fkv.parent_id = a.parent_id
WHERE
A.ID IS NOT NULL
DELETE WHERE a.id IS NULL
WHEN NOT MATCHED THEN
INSERT (
ID,
parent_id
VALUES (
A.ID,
A.PARENT_ID);
COMMIT;
1 rows merged.
commited.
And now is coming the strange behaviour:
MERGE INTO fkv USING (
SELECT
2 AS id,
2 AS PARENT_ID
FROM
DUAL
) a
ON (
fkv.id = a.id
WHEN MATCHED THEN
UPDATE SET
fkv.parent_id = a.parent_id
WHERE
A.ID IS NOT NULL
DELETE WHERE a.id IS NULL
WHEN NOT MATCHED THEN
INSERT (
ID,
parent_id
VALUES (
A.ID,
A.PARENT_ID);
SQL Error: ORA-02291: integrity constraint (SCOTT.FK_FKV_PAID) violated - parent key not found
ROLLBACK;
rollback complete.
Ok, even it is not a good solution, I try deferrable constraint:
ALTER TABLE fkv DROP CONSTRAINT fk_fkv_paid;
ALTER TABLE fkv ADD CONSTRAINT fk_fkv_paid FOREIGN KEY (parent_id) REFERENCES fkv(id) DEFERRABLE INITIALLY DEFERRED;
table FKV altered.
table FKV altered.
MERGE INTO fkv USING (
SELECT
2 AS id,
2 AS PARENT_ID
FROM
DUAL
) a
ON (
fkv.id = a.id
WHEN MATCHED THEN
UPDATE SET
fkv.parent_id = a.parent_id
WHERE
A.ID IS NOT NULL
DELETE WHERE a.id IS NULL
WHEN NOT MATCHED THEN
INSERT (
ID,
parent_id
VALUES (
A.ID,
A.PARENT_ID);
1 rows merged.
COMMIT;
SQL Error: ORA-02091: transaction rolled back
ORA-02291: integrity constraint (SCOTT.FK_FKV_PAID) violated - parent key not found
... deffered constraint did not help :-(
Let's try another way - errorlog table; for the first with the not deferrable constraint again:
ALTER TABLE fkv DROP CONSTRAINT fk_fkv_paid;
ALTER TABLE fkv ADD CONSTRAINT fk_fkv_paid FOREIGN KEY (parent_id) REFERENCES fkv(ID) NOT DEFERRABLE;
table FKV altered.
table FKV altered.
BEGIN
sys.dbms_errlog.create_error_log (
dml_table_name => 'FKV',
err_log_table_name => 'ERR$_FKV'
END;
anonymous block completed
Toys are prepared, let's start with error logging:
MERGE INTO fkv USING (
SELECT
2 AS id,
2 AS PARENT_ID
FROM
DUAL
) a
ON (
fkv.id = a.id
WHEN MATCHED THEN
UPDATE SET
fkv.parent_id = a.parent_id
WHERE
A.ID IS NOT NULL
DELETE WHERE a.id IS NULL
WHEN NOT MATCHED THEN
INSERT (
ID,
parent_id
VALUES (
A.ID,
A.PARENT_ID)
LOG ERRORS INTO err$_fkv;
1 rows merged.
Cannot belive, running SELECT for confirmation:
SELECT * FROM err$_fkv;
SELECT * FROM fkv;
no rows selected
ID PARENT_ID
1 1
2 2
Ok, COMMIT:
COMMIT;
commited.
SELECT for confirmation again:
SELECT * FROM err$_fkv;
SELECT * FROM fkv;
no rows selected
ID PARENT_ID
1 1
2 2
Using deffered constraint and error logging is working well too.
Metalink and Google did not help me. I am using databases 10.2.0.5 and 11.2.0.3.
Has somebody encountered this problem too or have I missed something?
Thank you
D.drop table fkv;
CREATE TABLE fkv (
id NUMBER(1) CONSTRAINT nn_fkv_id NOT NULL,
parent_id NUMBER(1) CONSTRAINT nn_fkv_paid NOT NULL
CREATE INDEX PK_FKV_ID ON FKV(ID);
ALTER TABLE fkv ADD CONSTRAINT pk_fkv_id PRIMARY KEY (id);
ALTER TABLE FKV ADD CONSTRAINT FK_FKV_PAID FOREIGN KEY (PARENT_ID) REFERENCES FKV(ID);Now run your MERGE statement and it works with non deferrable constraints.
Personally, I would contact support about this before depending on it in production.
P.S. I was not able to reproduce your findings that dropping and re-adding the constraints changes things. I suspect that when you dropped the constraint the index was NOT dropped, so you kept a non-unique index.
Try again using ALTER TABLE FKV DROP CONSTRAINT PK_FKV_ID drop index; -
ORA-13754: "SQL Tuning Set" "" does not exist for user "SYS"
While calling dbms_stats.seed_col_usage I got the following error. Can someone help me on how to resolve it
sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 14 14:37:38 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> show user
USER is "SYS"
SQL> begin
2 dbms_stats.seed_col_usage(null,null,400);
3 end;
4 /
begin
ERROR at line 1:
ORA-13754: "SQL Tuning Set" "" does not exist for user "SYS".
ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 17379
ORA-06512: at "SYS.DBMS_STATS", line 28451
ORA-06512: at line 2
Thank You
SarayuAccording to the documentation:
SEED_COL_USAGE ProcedureThis procedure iterates over the SQL statements in the specified SQL tuning set, compiles them and seeds column usage information for the columns that appear in these statements.
Syntax
DBMS_STATS.SEED_COL_USAGE (
sqlset_name IN VARCHAR2,
owner_name IN VARCHAR2,
time_limit IN POSITIVE DEFAULT NULL);>
It looks like you need to provide a SQLSET_NAME and OWNER_NAME to use this procedure correctly, to which you've provided NULLs. I don't see any exceptions in the documentation that indicate special processing when NULLs are provided. -
Sql Exception : Sql command not properly ended
Hi,
I have the following piece of code which i am using to search into the database and display the result in my jsp page. But it is throwing this exception. This happens only when i give 2 conditions. If i try to search with only one parameter, it works fine and returns the result. But when i enable two parameters , it throws the exception.
Below is the code i have written.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@page import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
String queryString=null;
String Part_Number=null;
String Revision_Id=null;
String Part_Desc=null;
String Keyword_Name=null;
String Design_Style=null;
String Configuration_Name=null;
String Charateristic_Name=null;
String pN=null;
String rI=null;
String pD=null;
String kN=null;
String dS=null;
String coN=null;
String chN=null;
queryString ="select * from PART";
Connection con=null;
Statement pst=null;
ResultSet rs=null;
Part_Number =request.getParameter("part_nbr");
Revision_Id=request.getParameter("rev_id");
Part_Desc=request.getParameter("part_desc");
Keyword_Name=request.getParameter("keyword_name");
Design_Style=request.getParameter("Design_style");
Configuration_Name=request.getParameter("configuration");
Charateristic_Name=request.getParameter("characteristic");
pN=Part_Number.trim();
rI=Revision_Id.trim();
pD=Part_Desc.trim();
kN=Keyword_Name.trim();
dS=Design_Style.trim();
coN=Configuration_Name.trim();
chN=Charateristic_Name.trim();
System.out.println("Part Number In success: "+pN);
System.out.println("Rev Number In serchsuccess: "+rI);
System.out.println("part desc In seachsuccess: "+pD);
System.out.println("Keyword In sesuccess: "+kN);
System.out.println("Design style In sesuccess: "+dS);
System.out.println("Config In sesuccess: "+coN);
System.out.println("charac In sesuccess: "+chN);
System.out.println("queryString in sesuccess: "+queryString);
if(rI!=null)
queryString = queryString+" where REV_ID= '"+rI+"'";
if(pD!=null)
queryString = queryString+" where OBJ_DESC= '"+pD+"'";
System.out.println("queryString in sesuccess: "+queryString);
try
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
System.out.println("driver manager");
con=DriverManager.getConnection("jdbc:oracle:thin:@172.18.93.53:1521:PDMDumm", "Dumm1", "satyam");
System.out.println("connection established");
pst = con.createStatement();
rs = pst.executeQuery(queryString);
System.out.println("Query executed");
catch(SQLException se)
System.out.println("database error2");
se.printStackTrace();
catch(Exception e)
System.out.println("error");
if(rs!=null)
%>
<table>
<tr>
<th> PartNumber
<th> Revision_Id
<th> Description
<th> Characteristic
<th> Configuration
<th> DesignStyle
<th> Keyword
<th> Planned Eff In Dte
<th> Infos
<th> Native File
</table>
<tr>
<%
while(rs.next())
%>
<td> <%=rs.getString(1) %>
<td> <%=rs.getString(2) %>
<td> <%=rs.getString(3) %>
<td> <%=rs.getString(4) %>
<td> <%=rs.getString(5) %>
<td> <%=rs.getString(6) %>
<td> <%=rs.getString(7) %>
<td> <%=rs.getString(8) %>
<td> <%=rs.getString(9) %>
<td> <%=rs.getString(10) %>
<%
%>
</body>
</html>And this is the exception i get.
Part Number In success:
Rev Number In serchsuccess:
part desc In seachsuccess: cat
Keyword In sesuccess: ----
Design style In sesuccess: ----
Config In sesuccess: ----
charac In sesuccess: ----
queryString in sesuccess: select * from PART
queryString in sesuccess: select * from PART where REV_ID= '' where OBJ_DESC= 'cat'
driver manager
connection established
database error2
java.sql.SQLException: ORA-00933: SQL command not properly ended
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java)
at org.apache.jsp.searchsuccess_jsp._jspService(searchsuccess_jsp.java:129)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at SearchKdcc.doPost(SearchKdcc.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)Hi drvijayy2k2 ,
Thanks for replying.
I used your code in my application and this is the problem i am facing now. The query is getting executed but its not taking the value from the database because of the Null Rev Id that is getting inputted into queryString. I have given only part_desc as the search criteria. If i just search using part description , commenting the rev_id part , i am able to retrieve the result from the database.
I have to code in a way using which i can search using either rev_id or part_desc , or using both at the same time.
Part Number In success:
Rev Number In serchsuccess:
part desc In seachsuccess: cat
Keyword In sesuccess: ----
Design style In sesuccess: ----
Config In sesuccess: ----
charac In sesuccess: ----
queryString in sesuccess: select * from PART
queryString in sesuccess: select * from PART where REV_ID= '' and OBJ_DESC= 'cat'
driver manager
connection established
Query executed -
Dear all,
please help me, what exception name i must use
(like "NO_DATA_FOUND" or "DUP_VAL_ON_INDEX") for error handling
(exception) for ORA-02291 : integrity constraint(....) violated -
parent key not found.
Thank you.
Regards
Teguh SantosoFind out the error no. Oracle returns for this error & in the
front-end (Ex:Forms) create a Pragma Exception error handler &
give ur user defined error message when the user encounters
it....
Hope this suffices.
Santhosh -
JDBC PL/SQL exception not shown in System Alert email
Hi expert,
The PL/SQL exception caught in the communication channeli do not show up in the alert emails. What could be the reason behind it?
We configured the SXMS_TO_ADAPTER_ERRLINES to capture the error message in alert category and configured the alert rule accordingly also. The system alert mail is show as below:
If that is the PL/SQL error(Adapter Framework exception: null):
Adapter type: JDBC
Error text from the Adapter Engine:
If that is the exception captured in Adapter Framework, not PL/SQL error:
Adapter type: JDBC
Error text from the Adapter Engine: Error when attempting to get processing resources: com.sap.aii.af.lib. util.concurrent.ResourcePoolException: Unable to create new pooled res ource: DriverManagerException: Can not establish connection:: SQLExcep tion: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or direc tory
Is that because the system alert only can print out the detail error message captured in Adapter Framework? Is there any way to capture all of the possible errors in adapter engine?Hi Ruby,
Please use the container variable "SXMS_TO_ADAPTER_ERRTXT" in your alert category configuration to get the error text from Adapter Engine.
The details of the container variable can be found at this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Regards, Gaurav.
Maybe you are looking for
-
My auto-indent and code formatting is not working.
Usually on dreamweaver CS5.5 my code (html) would indent my <div> tags and align them up with the end div </div>. Not only were the <siv> tags formateed but various of others tags were as well. How Dreamweaver used to format my code: <head>
-
Brand New rMBP 13" Wifi Issues
I have a new Macbook Pro Retina 13" Late-2013 model that is having Wifi disconnect issues. It seems to happen when the computer goes to sleep and wakes up. It refuses to reconnect to any of my preferred networks when it wakes up. I was on the phone w
-
Restricting record in the select query
Is there any way to restrict the number of search (e.g 10) records in the SELECT query ?
-
Can I resize thumbnails in the Review widget?
In the review widget options, the sixth option down is called "Drag Thumbnail to Target." Does anyone know if I can resize the thumbnails at the bottom?
-
Error message in purchase requisition
Hello friends, While creating purchase requisition am getting an error like this "No commitment item entered in item 00010 1000" please help me on this..... Thanks