Another newb SQL error

Following the advice I got from my last topic I created now my tables and now I want to fill it with my data but I get an error

Here is my sql command complete. Since the last time, I learned that a foreign key can be implemented in a single table and cannot be reproduced

to work around this problem, I changed my foreign key as you can see in "fkone" . But why make me errors when trying to add information

I want to say that I did get errors in the first two tables so that I am ""hurts / not understand " "

CREATE THE CUSTOMER TABLE)
CUSTOMERNAME varchar (25),
STREET varchar (25),
CUSTOMERCITY varchar (25),
CONSTRAINT CUSTOMER_pk PRIMARY KEY (CUSTOMERNAME));

CREATE TABLE DEPOT)
CUSTOMERNAME varchar (25),
BRANCHNAME varchar (25),
Int ACCOUNTNUMBER,
Decimal (7.2), the balance
CONSTRAINT DEPOSIT_pk PRIMARY KEY (ACCOUNT number));

CREATE TABLE READY)
CUSTOMERNAME varchar (25),
BRANCHNAME varchar (25),
LOANNUMBER int,
Decimal AMOUNT (7.2),
CONSTRAINT LOAN_pk PRIMARY KEY (LOANNUMBER));

CREATING A TABLE BRANCH)
BRANCHNAME varchar (25),
BRANCHCITY varchar (25),
ASSETS in decimals (7.2),
CONSTRAINT BRANCH_pk PRIMARY KEY (BRANCHNAME));

ALTER TABLE DEPOT
Add CONSTRAINT fk_BRANCH
FOREIGN KEY (BRANCHNAME)
BRANCH (BRANCHNAME) REFERENCES
WE DELETE CASCADE;

ALTER TABLE DEPOT
Add CONSTRAINT fk_CUSTOMER
FOREIGN KEY (CUSTOMERNAME)
REFERENCES CUSTOMERS (CUSTOMERNAME)
WE DELETE CASCADE;

ALTER TABLE READY
Add CONSTRAINT fkone_BRANCH
FOREIGN KEY (BRANCHNAME)
BRANCH (BRANCHNAME) REFERENCES
WE DELETE CASCADE;

ALTER TABLE READY
Add CONSTRAINT fkone_CUSTOMER
FOREIGN KEY (CUSTOMERNAME)
REFERENCES CUSTOMERS (CUSTOMERNAME)
WE DELETE CASCADE;

INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('YORKSHIRE', 'NOTTINGHAM', ' 10000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES (' MIDLANDS', 'NOTTINGHAM',' 20000 ');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('ROYALBANK', 'NOTTINGHAM', ' 25000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ("HFE", 'DERBY', '15000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('SOUTH', 'DERBY', '30000');

INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ("JONES", "VICTORIA", "NOTTINGHAM");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('STONE', 'CHURCH', 'NOTTINGHAM');
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('SMITH', 'DERBY', 'LEICESTER');
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ("AHMED", "CHURCH", "DERBY");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('BRAUN', "ALFRED", "DERBY");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('CHAN', 'VICTORIA', 'NOTTINGHAM');

Problems occur when you try to insert the following data in my tables

INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES (' JONES', 'YORKSHIRE', ' 1 ', 100' ");
INSERT INTO DEPOT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('BRAUN', '' MIDLANDS, '20', 150');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('AHMED', 'ROYALBANK', '30', '480');
INSERT INTO DEPOT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('SMITH', '' MIDLANDS, '21', 600');


INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('STONE', 'ROYALBANK', '31', '450');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('STONE', '' MIDLANDS, '22', 70');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('BRAUN', 'SOUTH', ' 41 "," 2000");
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES (' JONES', "HFE", ' 42 ', 4100' ");

ERROR on line 1:

ORA-02291: integrity constraint (N0430265. FK_CUSTOMER) violated - parent key does not

If you're wondering what I'm trying to achieve is the task I'm supposed to do.

  1. Add the following four tables for your
    database by using the SQL CREATE TABLE statement (stressed primary keys)

Customer
(customerName, street customerCity)

  1. Deposit
    (customerName, branchName, account number,
    balance) - where branchName and customerName are the foreign keys to tables Branch
    and the client.
  2. Loan
    (customerName, branchName, loanNumber,
    amount) - where branchName and customerName are the foreign keys to tables Branch
    and the client.
  3. Directorate-General of the
    (branchName, branchCity, assets).

2. Add
the following data rows for each table using the INSERT command:




Directorate-General of the



branchName





assets



branchCity



Yorkshire





10000



Nottingham



Midlands





20000



Nottingham





Customer



customerName





Street



customerCity



Jones





Victoria



Nottingham



Patel





Church



Nottingham



Deposit





customerName



branchName



Account number



Balance



Jones



Yorkshire



1



100







Loan





customerName



branchName



loanNumber



amount



Jones



Yorkshire



11



3000


Thank you for taking your time to help I appreciate all of your comments I get this can improve my SQL because I am in it and I want to my class of ace

I let down all the tables and copy them and paste in oracle and see what I get atm cause I get the same error, but cannot determine where I'm wrong

CuriousStudentJo wrote:

Following the advice I got from my last topic I created now my tables and now I want to fill it with my data but I get an error

Here is my sql command complete. Since the last time, I learned that a foreign key can be implemented in a single table and cannot be reproduced

to work around this problem, I changed my foreign key as you can see in "fkone". But why make me errors when trying to add information

I want to say that I have not gotten errors in the first two tables until I have "hurt / not understand."

CREATE THE CUSTOMER TABLE)
CUSTOMERNAME varchar (25),
STREET varchar (25),
CUSTOMERCITY varchar (25),
CONSTRAINT CUSTOMER_pk PRIMARY KEY (CUSTOMERNAME));

CREATE TABLE DEPOT)
CUSTOMERNAME varchar (25),
BRANCHNAME varchar (25),
Int ACCOUNTNUMBER,
Decimal (7.2), the balance
CONSTRAINT DEPOSIT_pk PRIMARY KEY (ACCOUNT number));

CREATE TABLE READY)
CUSTOMERNAME varchar (25),
BRANCHNAME varchar (25),
LOANNUMBER int,
Decimal AMOUNT (7.2),
CONSTRAINT LOAN_pk PRIMARY KEY (LOANNUMBER));

CREATING A TABLE BRANCH)
BRANCHNAME varchar (25),
BRANCHCITY varchar (25),
ASSETS in decimals (7.2),
CONSTRAINT BRANCH_pk PRIMARY KEY (BRANCHNAME));

ALTER TABLE DEPOT
Add CONSTRAINT fk_BRANCH
FOREIGN KEY (BRANCHNAME)
BRANCH (BRANCHNAME) REFERENCES
WE DELETE CASCADE;

ALTER TABLE DEPOT
Add CONSTRAINT fk_CUSTOMER
FOREIGN KEY (CUSTOMERNAME)
REFERENCES CUSTOMERS (CUSTOMERNAME)
WE DELETE CASCADE;

ALTER TABLE READY
Add CONSTRAINT fkone_BRANCH
FOREIGN KEY (BRANCHNAME)
BRANCH (BRANCHNAME) REFERENCES
WE DELETE CASCADE;

ALTER TABLE READY
Add CONSTRAINT fkone_CUSTOMER
FOREIGN KEY (CUSTOMERNAME)
REFERENCES CUSTOMERS (CUSTOMERNAME)
WE DELETE CASCADE;

INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('YORKSHIRE', 'NOTTINGHAM', ' 10000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES (' MIDLANDS', 'NOTTINGHAM',' 20000 ');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('ROYALBANK', 'NOTTINGHAM', ' 25000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ("HFE", 'DERBY', '15000');
INSERT INTO BRANCH (BRANCHNAME, BRANCHCITY, ASSETS) VALUES ('SOUTH', 'DERBY', '30000');

INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ("JONES", "VICTORIA", "NOTTINGHAM");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('STONE', 'CHURCH', 'NOTTINGHAM');
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('SMITH', 'DERBY', 'LEICESTER');


INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ("AHMED", "CHURCH", "DERBY");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('BRAUN', "ALFRED", "DERBY");
INSERT INTO CUSTOMER (CUSTOMERNAME, STREET, CUSTOMERCITY) VALUES ('CHAN', 'VICTORIA', 'NOTTINGHAM');

Problems occur when you try to insert the following data in my tables

INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES (' JONES', 'YORKSHIRE', ' 1 ', 100' ");
INSERT INTO DEPOT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('BRAUN', '' MIDLANDS, '20', 150');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('AHMED', 'ROYALBANK', '30', '480');
INSERT INTO DEPOT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('SMITH', '' MIDLANDS, '21', 600');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('STONE', 'ROYALBANK', '31', '450');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('STONE', '' MIDLANDS, '22', 70');
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES ('BRAUN', 'SOUTH', ' 41 "," 2000");
INSERT INTO DEPOSIT (CUSTOMERNAME, BRANCHNAME, ACCOUNT NUMBER, BALANCE) VALUES (' JONES', "HFE", ' 42 ', 4100' ");

ERROR on line 1:

ORA-02291: integrity constraint (N0430265. FK_CUSTOMER) violated - key parent not found

If you're wondering what I'm trying to achieve is the task I'm supposed to do.

  1. Add the following four tables for your
    database by using the SQL CREATE TABLE statement (stressed primary keys)

Customer
(customerName, street customerCity)

  1. Deposit
    (customerName, branchName, account number,
    balance) - where branchName and customerName are foreign keys to tables Branch
    and the client.
  2. Loan
    (customerName, branchName, loanNumber,
    amount) - where branchName and customerName are foreign keys to tables Branch
    and the client.
  3. Directorate-General of the
    (branchName, branchCity, assets).

2. Add
the following data rows for each table using the INSERT command:

Directorate-General of the

branchName
 

assets
 

branchCity
 

Yorkshire

10000

Nottingham

Midlands

20000

Nottingham

Customer

customerName
 

Street

customerCity
 

Jones

Victoria

Nottingham

Patel

Church

Nottingham

Deposit
 

customerName
 

branchName

Account number

Balance
 

Jones

Yorkshire

1

100

Loan
 

customerName

branchName

loanNumber

amount

Jones

Yorkshire

11

3000

Thanks for taking your time to help I appreciate every feedback I get this can improve my SQL because I am in it and I want to my class of ace

I DROP ALL THE TABLES AND COPIED AND PASTED THE DATA AND LINES WHERE CREATED SO I DON'T KNOW WHERE THIS PROBLEM BUT THANKS AGAIN GUYS I TOTALLY A STEP CLOSER

UNDERSTANDING SQL

Tags: Database

Similar Questions

  • Changing table - SQL error: ORA-04091: table XYZ is changing, function of triggering/can not see

    Hi all

    I am a newbie to Oracle and I am faced with the above error. Please see the below code snippets. Can someone please tell what I am doing wrong? Thank you in advance.

    Thank you

    CREATE TABLE ABC

    (

    ID VARCHAR2 ENABLE NUMBER NOT NULL,

    FIELD1 ACTIVATE THE NUMBER NOT NULL,

    FIELD2 ACTIVATE THE VARCHAR2 (8 BYTE) NOT NULL,

    CONSTRAINT JOB_PK PRIMARY KEY (ID)

    )

    ;

    CREATE TABLE XYZ

    (

    ACTIVATE THE NUMBER 4 R_ID NOT NULL,.

    ID VARCHAR2 ENABLE NUMBER NOT NULL,

    Column1 NUMBER (2.0) default 0.00,.

    Column2 NUMBER (2.0) default 0.00,.

    COLUMN3 NUMBER (2.0).

    NUMBER (2.0) TOTAL 0.00 default.

    CONSTRAINT TRIP_PAYMENT_PK PRIMARY KEY (ID)

    )

    ;

    create or replace trigger trigger1

    After Insert on XYZ

    for each line

    Declare

    number of newTotal;

    Start

    newTOTAL: =: new. Column1 +: new. Column2 +: new. COLUMN3;

    setting a day of XYZ together Total = newTotal;

    end;

    Insert into ABC (1, 45, ' Demo');

    insertion in XYZ (1, 1, 12.50, 10.20 33,50, ");

    Error report:

    SQL error: ORA-04091: table XYZ is changing, function of triggering/can not see

    Try one before line

    create or replace trigger trigger1

    before inserting on XYZ

    for each line

    Start
    : new. TOTAL: =: new. Column1 +: new. Column2 +: new. COLUMN3;
    end;

  • SQL error: ORA-01873: the interval leading precision is too small

    Hello

    My requirement is to get the current timestamp in the format microsec Epoch.

    I am trying to execute the following query

    Select (CAST (((current_timestamp-TO_DATE (1er janvier 1970 00:00:00 ', ' 'JJ-MM-AAAA HH24:MI:SS)) * 24 * 60 * 60 * 1000000) AS varchar (32))) as "dt" from dual;))

    I get the following error
    Error from the 1 in the command line:
    Select (CAST (((current_timestamp-TO_DATE (1er janvier 1970 00:00:00 ', ' 'JJ-MM-AAAA HH24:MI:SS)) * 24 * 60 * 60 * 1000000) AS varchar (32))) as double 'dt'))
    Error report:
    SQL error: ORA-01873: the interval leading precision is too small
    01873 00000 - "the interval leading precision is too small."
    * Cause: The precision of the interval leading is too small to store the
    specified interval.
    * Action: Increase the accuracy of foreground of the interval or specify a
    meantime, with smaller leading precision.

    But if I tried to do
    Select (CAST (((sysdate-TO_DATE (1er janvier 1970 00:00:00 ', ' 'JJ-MM-AAAA HH24:MI:SS)) * 24 * 60 * 60 * 1000000) AS varchar (32))) as "dt" from dual;))
    works fine, but I get the bad epochtime sysdate has no time zone information.

    Please help me how to do the first query to work so that I can get the current_timestamp change to gmt and convert it in time.
    Please let me know if there is another way to get the Epochtime.

    Depending on whether you want to or not to include the fraction of a second use:

    with t as (
               select  current_timestamp at time zone 'gmt' - to_timestamp_tz('01/01/1970 00:00:00 GMT','MM-DD-YYYY HH24:MI:SS TZR') interval_diff,
                       cast(current_timestamp at time zone 'gmt' as date) - to_date('01/01/1970 00:00:00', 'MM-DD-YYYY HH24:MI:SS') num_diff
                 from  dual
              )
    select  cast(
                 (
                  (
                   (
                    extract(day from interval_diff) * 24 + extract(hour from interval_diff)
                   ) * 60 + extract(minute from interval_diff)
                  ) * 60 + extract(second from interval_diff)
                 ) * 1000000
                 AS varchar(32)
                ) as "ts",
            cast(num_diff * 24 * 60 * 60 * 1000000 AS varchar(32)) as "dt"
      from t
    / 
    
    ts                   dt
    -------------------- --------------------
    1336237158093000     1336237158000000
    
    SQL>  
    

    SY.

  • SQL error

    Hello I get a SQL error everytime I click on solve a puzzle on a PTC site, that message is what I get.

    Database of error: Invalid SQL: SELECT user.membership, memberships.downline_earns from user JOIN membership WE memberships.id = user .membership WHERE user .username = 'Is A' type = '1'

    MySQL error: 1064 (you have an error in your SQL syntax; check the manual that corresponds to your MySQL Server version for the syntax to use near 'A' right and type = 1 "at line 1)

    Missed session.

    Any ideas of any software or a way to fix this would be appreciated.

    It is a problem on the web server, and not on your computer. All you can do is inform the operator of the site.

  • Using Merge in oracle 11g this error SQL Error: ORA-30926: failed to get a stable set of rows in the source tables

    whenever I run this code I get this error

    SQL Error: ORA-30926: failed to get a stable set of rows in the source tables

    30926 00000 - "impossible to get a stable set of rows in the source tables.

    * Cause: A stable set of rows could not be achieved due to the large dml

    activity or one not deterministic where clause.

    * Action: Remove any non deterministic of the clauses and reissue of the dml.

    Don't know wht goes wrong!


    SQL:

    MERGE IN VENDORS_ACTIVE_DATE s

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case when ((d.VENDOR = s.VENDOR) and (d.COMPANY_CODE = s.COMPANY_CODE)))

    )

    then "MATCH".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    else 'UPDATE '.

    chck end)

    from (select * from VENDORS_ACTIVE_DATE where COMPANY_CODE = 2) s

    full outer join (select * provider where COMPANY_CODE = 2) d

    on (d.COMPANY_CODE = s.COMPANY_CODE AND s.COMPANY_CODE = 2)

    ) d

    WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.chck in ('UPDATE', 'GAME', 'DELETE'))

    WHEN MATCHED THEN

    UPDATE SET s.VENDOR = d.VENDOR

    WHERE d.chck in ('UPDATE', 'DELETE')

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (SELLER, COMPANY_CODE)

    VALUES (d.VENDOR, d.COMPANY_CODE)

    Work request: (deleted the duplicate data in tables (source and target))

    MERGE IN VENDORS_ACTIVE_DATE s

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.ACTIVEDATE, s.ACTIVEDATE) ACTIVEDATE.

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case when ((d.VENDOR = s.VENDOR))

    - AND D.ACTIVEDATE = S.ACTIVEDATE

    and NVL (d.ACTIVEDATE, trunc (sysdate)) = NVL (s.ACTIVEDATE, trunc (sysdate))

    and (d.COMPANY_CODE = s.COMPANY_CODE)

    )

    then "MATCH".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    else 'UPDATE '.

    chck end)

    from (select * from suppliers where COMPANY_CODE = 2) d

    full outer join (select * from vendors_active_date where COMPANY_CODE = 2) s

    on (d.COMPANY_CODE = s.COMPANY_CODE and s.vendor = d.vendor)

    ) d

    WE (d.COMPANY_CODE = s.COMPANY_CODE AND d.VENDOR = s.VENDOR AND d.chck in ('UPDATE', 'GAME', 'DELETE'))

    WHEN MATCHED THEN

    S.ACTIVEDATE = UPDATE SET d.ACTIVEDATE

    WHERE d.chck in ('UPDATE', 'DELETE')

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (VENDOR, ACTIVEDATE, COMPANY_CODE)

    VALUES (d.VENDOR, d.ACTIVEDATE, d.COMPANY_CODE)

  • SQL Error: Invalid identifier ORA-00904

    Hello

    The Version of SQL Developer: 11g

    Two tables: nav_vendors (source), vendor (destination)

    Both having 16 'Same' columns (data will differ for some records of... for some data records are same to check the process DML works according to the need).

    I'm trying to insert update and delete using merge operation

    I m getting error below whenever I tried to merge them. All column names are the same in the table.

    SQL error: ORA-00904: "S". "" COMPANY_CODE ": invalid identifier

    SQL:

    MERGE INTO s source

    USING (nvl (d.VENDOR, s.VENDOR) selection of the SELLER,

    NVL (d.Name, s.Name) NAME.

    NVL (d.NAME3, s.NAME3) Name3,

    NVL (d.ADDRESS1, s.ADDRESS1) address1.

    NVL (d.DISTRICT, s.DISTRICT) DISTRICT.

    NVL (d.CITY, s.CITY), CITY,

    NVL (d.Country, s.Country) COUNTRIES.

    NVL (d.Postcode, s.Postcode) ZIP Code,

    NVL (d.TELEPHONE, s.TELEPHONE), PHONE,.

    NVL (d.Fax, s.Fax) FAX.

    NVL (d.contact, s.contact) CONTACT.

    NVL (d.URL, s.URL) URL.

    NVL (d.email, s.email) EMAIL.

    NVL (d.DELIVERY_TOLERANCE, s.DELIVERY_TOLERANCE) DELIVERY_TOLERANCE.

    NVL (d.EXCLUDE_REWORK_TEXT, s.EXCLUDE_REWORK_TEXT) EXCLUDE_REWORK_TEXT.

    NVL (d.COMPANY_CODE, s.COMPANY_CODE) COMPANY_CODE.

    (case

    When ((d.VENDOR = s.VENDOR)

    and (d.NAME = s.NAME)

    and (d.NAME3 = s.NAME3)

    and (d.ADDRESS1 = s.ADDRESS1)

    and (d.DISTRICT = s.DISTRICT)

    and (d.CITY = s.CITY)

    and (d.COUNTRY = s.COUNTRY)

    and (d.POSTCODE = s.POSTCODE)

    and (d.TELEPHONE = s.TELEPHONE)

    and (d.FAX = s.FAX)

    and (d.CONTACT = s.CONTACT)

    and (d.URL = s.URL)

    and (d.EMAIL = s.EMAIL)

    and (d.DELIVERY_TOLERANCE = s.DELIVERY_TOLERANCE)

    and (d.EXCLUDE_REWORK_TEXT = s.EXCLUDE_REWORK_TEXT)

    and (d.COMPANY_CODE = s.COMPANY_CODE))

    then "correspondence".

    When d.COMPANY_CODE is null

    then 'DELETE '.

    When s.COMPANY_CODE is null

    then "INSERT."

    on the other

    "no match."

    chck end)

    of s nav_vendorz

    full outer join of the seller d

    On(d.COMPANY_CODE=s.COMPANY_CODE)

    ) d

    (S.COMPANY_CODE = d.COMPANY_CODE AND (in d.chck ("not matched", 'match', 'DELETE')))

    WHEN MATCHED THEN

    ->UPDATE SET s.company_code = d.company_code <-error line

    WHERE in d.chck ("not matched", "DELETE")

    DELETE WHERE d.chck = 'DELETE '.

    WHEN NOT MATCHED THEN

    INSERT (VENDOR, NAME, ADDRESS1, NAME3, NEIGHBORHOOD, CITY, COUNTRY, CODE POSTAL, PHONE, FAX, CONTACT, URL, EMAIL, DELIVERY_TOLERANCE, EXCLUDE_REWORK_TEXT, COMPANY_CODE)

    VALUES

    (d.VENDOR, d.NAME, d.NAME3, d.ADDRESS1, d.DISTRICT, d.CITY, d.COUNTRY, d.POSTCODE, d.TELEPHONE, d.FAX, d.CONTACT, d.URL, d.EMAIL, d.DELIVERY_TOLERANCE,d.EXCLUDE_REWORK_TEXT,d.COMPANY_CODE);/

    (1) use different alias names

    (2) do not try to update a column that is used to 'ON' clause.

  • SQL error: ORA-31038: invalid number '420,05' when extracting data from XML

    Hello everyone ,

    J’ai créé dieting

    DBMS_XMLSCHEMA. REGISTERSCHEMA (SCHEMAURL = > 'OrdenDetalle.xsd', SCHEMADOC = > ' <? xml version = "1.0" encoding = "UTF?) 8 "? >

    " < xs: schema xmlns: XS =" http://www.w3.org/2001/XMLSchema ">

    < xs: element name = "Monsigniore" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Quantity" type = "Integer" / >

    < xs: element name = "FechaCreacion" type = "xs: DateTime" / >

    < xs: element name = "Version" type = "xs: String" / >

    < xs: ELEMENT ref = "News" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "News" >

    < xs: complexType >

    < xs: Choice >

    < xs: element name = "OrdenCompra" type = "T_OrdenCompra" / >

    < / xs: Choice >

    < / xs: complexType >

    < / xs: element >

    < name XS: complexType = "T_OrdenCompra" >

    < xs: SEQUENCE >

    < xs: element name = "Code" type = "xs: String" / >

    < xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoEstado" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoLicitacion" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Description" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoTipo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Type" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TipoMoneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "State" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoEstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EstadoProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Fechas" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TieneItems" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "PromedioCalificacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CantidadEvaluacion" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Well" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Freighters" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalNeto" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "PorcentajeIva" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Impuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Financing" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TipoDespacho" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FormaPago" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Comprador" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Proveedor" minOccurs = "0" maxOccurs = "1" / >

    < xs: ELEMENT ref = "Items" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < xs: element name = "Items" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Quantity" type = "Integer" / >

    < xs: element name = "News" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: ELEMENT ref = "Item" minOccurs = "0" maxOccurs = "unbounded" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < name XS: complexType = "OrdenCompraBusqueda" >

    < xs:complexContent >

    < xs:extension base = "T_OrdenCompra" >

    < / xs:extension >

    < / xs:complexContent >

    < / xs: complexType >

    < xs: element name = "Item" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Correlativo" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoCategoria" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Category" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoProducto" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Product" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EspecificacionComprador" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "EspecificacionProveedor" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Quantity" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Moneda" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    "< xs: element name ="PrecioNeto"type ="XS: Decimal"minOccurs ="0"maxOccurs ="1"/ >

    < xs: element name = "TotalCargos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalDescuentos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "TotalImpuestos" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Total" type = "xs: Decimal" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Fechas" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "FechaCreacion" type = "xs: DateTime" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaEnvio" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaAceptacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaCancelacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FechaUltimaModificacion" type = xs: DateTime "" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Comprador" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "CodigoOrganismo" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreOrganismo" type = "xs: String" nillable = "true" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RutUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoUnidad" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Activity" type = "xs: String" nillable = "true" / >

    < xs: element name = "DireccionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "ComunaUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RegionUnidad" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < xs: element name = "Proveedor" >

    < xs: complexType >

    < xs: SEQUENCE >

    < xs: element name = "Code" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Number" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Activity" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CodigoSucursal" type = "Integer" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "RutSucursal" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Address" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Comuna" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Region" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "Country" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "NombreContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "CargoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "FonoContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < xs: element name = "MailContacto" type = "xs: String" minOccurs = "0" maxOccurs = "1" / >

    < / xs: SEQUENCE >

    < / xs: complexType >

    < / xs: element >

    < / xs: Schema >

    ', LOCAL = > true, GENTYPES = > false, GENBEAN = > false, GENTABLES = > false,

    FORCE = > false, OPTIONS = > DBMS_XMLSCHEMA. REGISTER_BINARYXML, OWNER = > USER);

    I have a table with one xml domain.

    CREATE TABLE XML_Orden_Detalle (Fecha_GET date default current_date not null,

    Fecha_Ordenes number not null,

    Correlativo_Ordenes number not null,

    Codigo_Orden varchar2 (20) not not null primary key,

    Cant_Item,

    Date of InicioProceso,

    Date of FinProceso,

    Xmltype Orden_Detalle not null)

    Orden_Detalle XMLTYPE COLUMN

    STORE AS BINARY XML

    XMLSCHEMA " " http://xmlns.Oracle.com/xdb/schemas/CCS_XML/OrdenDetalle.xsd "" "

    ELEMENT "command";


    I inserted data like that, without any Errors:

    " < Command containing = ' http://www.w3.org/2001/XMLSchema "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance ">

    < Number > 1 < / quantity >

    < FechaCreacion > 2015-05-28T 12: 10:26.947000 < / FechaCreacion >

    v1 < version > < / Version >

    < Return >

    < OrdenCompra xsi: type = "OrdenCompraBusqueda" >

    3879-2661-SE14 < code > < / code >

    < Number > PSP DAEM 2014.  COFFEE BREAK PARA FRINGE OP21838 < / number >

    < CodigoEstado > 6 < / CodigoEstado >

    3902 5-on 14 < CodigoLicitacion > < / CodigoLicitacion >

    < Description > PSP DAEM 2014.  COFFEE BREAK PARA FRINGE OP21838 < / description >

    < CodigoTipo > 8 < / CodigoTipo >

    < Type > SE < / Type >

    < TipoMoneda > CLP < / TipoMoneda >

    Is < State > < / Estado >

    < CodigoEstadoProveedor > 4 < / CodigoEstadoProveedor >

    Is < EstadoProveedor > < / EstadoProveedor >

    < Fechas >

    < FechaCreacion > 2014-12-29T 17: 43:32.287000 < / FechaCreacion >

    < FechaEnvio > 2014-12-31T 10: 32:35.480000 < / FechaEnvio >

    < FechaAceptacion > 2015 - 01-01 T 21: 03:03.660000 < / FechaAceptacion >

    < FechaCancelacion xsi: Nil = "true" / >

    < FechaUltimaModificacion > 2014-12-29T 17: 51:00.000000 < / FechaUltimaModificacion >

    < / Fechas >

    < TieneItems > 1 < / TieneItems >

    < PromedioCalificacion > 5 < / PromedioCalificacion >

    < CantidadEvaluacion > 1 < / CantidadEvaluacion >

    < Well > 0 < / well >

    cargo <>0 < / cargo >

    < TotalNeto > 53782 < / TotalNeto >

    < PorcentajeIva > 19 < / PorcentajeIva >

    < Impuestos > 10218 < / Impuestos >

    < total > 64000 < / Total >

    < Financing > 1140569 < / financing >

    < Country > CL < / Pais >

    < TipoDespacho > 12 < / TipoDespacho >

    < FormaPago > 2 < / FormaPago >

    < comprador >

    < CodigoOrganismo > 118069 < / CodigoOrganismo >

    < NombreOrganismo > Ilustre municipalidad of Bulnes < / NombreOrganismo >

    < RutUnidad > 69.141.200 - 8 < / RutUnidad >

    < CodigoUnidad > 4799 < / CodigoUnidad >

    Daem < NombreUnidad > < / NombreUnidad >

    < Actividad / >

    < DireccionUnidad > VICTOR BIANCHI Nº415 < / DireccionUnidad >

    Bulnes < ComunaUnidad > < / ComunaUnidad >

    < RegionUnidad > Region del Biobio < / RegionUnidad >

    < Country > CL < / Pais >

    Antonella Brunetti < NombreContacto > < / NombreContacto >

    Adquisiciones < CargoContacto > < / CargoContacto >

    < FonoContacto > 56-42-2204053-2204054 < / FonoContacto >

    < MailContacto > [email protected] < / MailContacto >

    < / comprador >

    < Proveedor >

    < Code > 275020 < / code >

    Luis < number > < / number >

    < Activity > MANUFACTURING OF PAN, BLOCK PANADERIA Y PRODUCTOS < / activity >

    < CodigoSucursal > 280820 < / CodigoSucursal >

    Luis < NombreSucursal > < / NombreSucursal >

    < RutSucursal > 5.940.940 - 9 < / RutSucursal >

    < Address > Carlos Palacios 125 < / address >

    Bulnes < Comuna > < / Comuna >

    Region del Biobio < region > < / region >

    < Country > CL < / Pais >

    < NombreContacto > Luis Leonardo Valdés Landero < / NombreContacto >

    Gerente < CargoContacto > < / CargoContacto >

    < FonoContacto > (56) (42) 631498 < /FonoContacto >

    < MailContacto > [email protected] < / MailContacto >

    < / Proveedor >

    elements <>

    < Quantity > 7 < / quantity >

    < Return >

    < item >

    < Correlativo > 1 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > 3 LITROS BEBIDAS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 10 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 1550 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 15500 < / Total >

    < / point >

    < item >

    < Correlativo > 2 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > DEEMED OF 1 1/2 LITYROS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 10 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 1150 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 11500 < / Total >

    < / point >

    < item >

    < Correlativo > 3 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > PACKAGES SERVILLETAS < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 8 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 170 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 1360 < / Total >

    < / point >

    < item >

    < Correlativo > 4 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > pounds OF AZÚCAR < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 5 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 580 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 2900 < / Total >

    < / point >

    < item >

    < Correlativo > 5 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > NESCAFE < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 2 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 3900 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 7800 < / Total >

    < / point >

    < item >

    < Correlativo > 6 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    < EspecificacionComprador > CAJAS OF TE 20 BOWL < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 5 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto > 340 < / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 1700 < / Total >

    < / point >

    < item >

    < Correlativo > 7 < / Correlativo >

    < CodigoCategoria > 30222700 < / CodigoCategoria >

    < Category > items para estructuras, obras y construcciones / permanent Construcciones / industriales Construcciones < / categories >

    < CodigoProducto > 30222703 < / CodigoProducto >

    < product > ALMACEN Mercancias < / product >

    TRITON GALLETAS < EspecificacionComprador > < / EspecificacionComprador >

    < EspecificacionProveedor / >

    < Number > 31 < / quantity >

    < Moneda > CLP < / Moneda >

    < PrecioNeto >420,05< / PrecioNeto >

    < TotalCargos > 0 < / TotalCargos >

    < TotalDescuentos > 0 < / TotalDescuentos >

    < TotalImpuestos > 0 < / TotalImpuestos >

    < total > 13021,550000000001 < / Total >

    < / point >

    < / News >

    < / object >

    < / OrdenCompra >

    < / News >

    < / Monsigniore >

    However when I extract data, for example:


    Select *.

    from xmltable (to_char (' / Monsigniore/news/OrdenCompra/Items/News/Item[1] ''))

    passage (select Orden_Detalle

    of xml_Orden_Detalle

    where Fecha_Ordenes = 20150101 and Correlativo_ordenes = 83)

    path of columns Correlativo varchar2 (15) 'Correlativo '.

    , Path of varchar2 (15) CodigoCategoria 'CodigoCategoria '.

    , Path Categoria Varchar2 (100 CHAR) "category.

    , Path of varchar2 (15) CodigoProducto 'CodigoProducto '.

    , Path of Producto Varchar2 (100 CHAR) 'product '.

    , Path of the EspecificacionComprador Varchar2 (100 CHAR) "EspecificacionComprador".

    , Path of the EspecificacionProveedor Varchar2 (100 CHAR) "EspecificacionProveedor".

    , Amount varchar2 (15) path 'amount '.

    , Path of the Moneda Varchar2 (16 CHAR) "Moneda".

    , Path of varchar2 (15) PrecioNeto 'PrecioNeto '.

    , Path of varchar2 (15) TotalCargos 'TotalCargos '.

    , Path of varchar2 (15) TotalDescuentos 'TotalDescuentos '.

    , Path of varchar2 (15) TotalImpuestos 'TotalImpuestos '.

    , Path of varchar2 (15) total 'Total '.

    );


    delivery the following error:


    Informed of error:

    SQL error: ORA-31038: Valor number no valido: "420,05."

    «31038 00000 - "value not valid %s: \"%s\»»

    * Cause: The text in the XML document does not represent a valid

    value given the data type and other constraints in the schema.

    * Action: Make sure the value specified in the XML documents is valid

    regarding the data type and other constraints in the schema.

    Note that extract le agenda [1] but the reported error is à la point [7]

    Please If anyone can Help me with le solution for no report error

    Thank you very much in advance

    Carlos

    in Chile, the decimal point are ', 'no'.', the xml data table is OK for us

    You do not understand.

    Regardless of the locale, numeric values limited by a type of data XS: Decimal must use a point in a correct XML representation, otherwise, the document is not valid by the XSD.

    (3) TO_CHAR (...) the code is part of a procedure

    Again, do NOT build a dynamic path like that.

    Why not just move through the records returned by the query (if you need close at all)?


    FOR rec in)

    SELECT x.*

    From your_table t

    XMLTABLE (...) x

    )

    LOOP

    END LOOP;


    What is the role of the v_CantItems variable? Paging?

    Whence its value?

  • Invalid column index: Houston-27122: SQL error in the preparation of the statement

    Hello

    I get under the exception in my extended OAF page:

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.  Instruction: SELECT OpportunityEO.lead_id, OpportunityEO.last_update_date as LastUpdateDate, OpportunityEO.creation_date, OpportunityEO.lead_number, OpportunityEO.customer_id, NVL(OpportunityEO.TOTAL_AMOUNT,0) as value TotalAmount, OpportunityEO.Decision_Date, OpportunityEO.win_probability, OpportunityEO.description as the Description, OpportunityEO.Currency_Code, OpportunityEO.Source_Promotion_Id, OpportunityEO.OWNER_SALESFORCE_ID, OpportunityEO.TOTAL_REVENUE_OPP_FORECAST_AMT, null as VehicleResponseCode, ast.meaning as OpptyStatusName, null as CurrencyName, null as SalesStageName, hp.party_name as Nom_tiers, null as CustomerCategory , null as null as ContactName, null as PersonFirstName, null as PersonLastName, null as PersonMiddleName, null as salutation, null as EmailAddress, JobTitle as null, null as PhoneCountryCode, null as PhoneAreaCode, null as PhoneNumber PersonId, null as PhoneExtension, null as PhoneLineType, to_number (null) ContactPointId, null as FormattedPhone OpportunityEO.attribute1, hp.attribute4 city, (case WHEN (OpportunityEO.attribute13) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute13) END) as a country , (case WHEN (OpportunityEO.attribute14) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute14) END) as Province, null as PostalCode, to_number (null) ContactLocationId, null as address, null as SourceName, jrt.resource_name as ResourceName, null as SalesChannel, null as RelationShipId, null as PrimaryContactPartyId, null as CustState, null as CustCity, null as CustCountry, null as CustProvince, null as CustPostalCode, to_number (null) as CustomerLocationId , null as CustAddress, null, OpptyUpdatedBy, null, OpptyCreatedBy, null as MethodologyNm, null as CloseReason, null as AssignmentStatusNm, OpportunityEO.PRM_Referral_Code as ReferralCode, null as PrimaryPhoneCountryCode, null as PrimaryPhoneAreaCode, null as PrimaryPhoneNumber, null as PrimaryPhoneExtension, null as PrimaryPhoneLineType, to_number (null) CustomerContactPointId, null as CustFormattedPhone, null as CustEmailAddress, null as ConvAmt, null as ConvFrcstAmt, null in the source code of as_leads_all OpportunityEO  , (SELECT / * + no_merge * / separate FROM as_accesses_all aaa aaa.lead_id WHERE the aaa.sales_lead_id of the aaa.lead_id IS NULL AND IS NOT NULL AND aaa.open_flag = 'Y' AND aaa.salesforce_id =: 0) social security, ast as_statuses_tl, as_lead_contacts_all alca, hz_parties HC, fnd_territories_tl ftt, hp hz_parties, jrt from jtf_rs_resource_extns_tl WHERE OpportunityEO.lead_id = secu.lead_id AND OpportunityEO.status = ast.status_code AND ast.language = USERENV('LANG') AND OpportunityEO.lead_id = alca.lead_id AND OpportunityEO.customer_ ID = alca.customer_id AND ALCA.primary_contact_flag = 'Y' AND alca.contact_party_id = hcp.party_id (+) AND hcp.country = ftt.territory_code AND ftt.language = USERENV ('LANG') AND OpportunityEO.customer_id = hp.party_id AND OpportunityEO.owner_salesforce_id = jrt.resource_id AND jrt.language = USERENV ('LANG') ORDER BY LastUpdateDate DESC

    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)

    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)

    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    # # 0 in detail

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Could someone please help me to set up this bug?

    Thank you

    Anupam

    Anupam,

    It is difficult to understand the code as there are many alternatives to the query that happens. Not really sure why it is written a lot of code.

    Since the code of the AOS, that all extensions have been made on this page?

    The error is coming in the method executeQuery viewObject. The executeQuery() method is replaced? If so, can you provide this code?

    If this is not the case, try to print the query, the dynamic whereclause, the whereclause parameters, just before calling the executeQuery() and see what are the upcoming values. This will help you to debug more far.

    The query in the error message it is only a bind variable, is there anywhere in the code, it tries to set multiple connection parameters?

    See you soon

    AJ

  • Lineage tracing an SQL error: ORA-22813: value of the operand exceeds the limits of the system

    Hi all

    I started playing with OEMM and I get the following error when I try to 'Trace Data Impact' in an Oracle table. Here's what I do:

    • I created a template and collected a few schemas/tables:

    Capture.JPG

    Capture1.JPG

    • Now when I try to "Trace Data Impact' on the table AP_DEF_STG, I get the following:

    Capture2.JPG

    Capture3.JPG

    Capture4.JPG

    I already tried to create a "Configuration" for her, I tried to text instead of graphics, but the error is the same. If I go to a view of Oracle and do a "track Data Lineage", I get the same error again.


    That someone was already been in this situation? This is the full error trace:


    ({"error": true, "errorMessage": "SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system"})

    ', 'errorType': 'Line error', 'errorCodes': "[LNGTRC_E0016]".

    ","stackTrace":"Error Codes - [LNGTRC_E0016].

    Request - VizModelLineage

    Settings - showInternalObject [false] showNoType [true] showControlLinks [false] startingIds [17 #4723 #0] isBizUI [false] ObjectID [17 #1 #0] showSummaryView [true] collapseLevel [features] resetCache [fake] profile [] showMappingsAsNodes [true] skipCache [false] tracingDirection [3] tracingType [DataLineage] [ReportTree2202015-104855025] originalStartingObject cacheId [17 #4723 #0] viewType actionType [loadlineage] of viewId [ReportTree2202015-104855025] [ModelLineage]

    MITI.web.common.exceptions.LineageUIException: SQL for tracing line error: ORA-22813: value of the operand exceeds the limits of the system

    at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:284)

    at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)

    at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)

    at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)

    at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)

    to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system

    at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)

    at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)

    at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)

    at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)

    at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)

    at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)

    at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)

    at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)

    at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)

    ... 21 more

    Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)

    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)

    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)

    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)

    at MITI.util.database.Query.executeStatement (Query.java:45)

    at MITI.util.database.Statement.execute (Statement.java:66)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)

    at MITI.util.database.Transaction.execute (Transaction.java:92)

    at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)

    ... more than 27

    Caused by:

    MITI.server.services.lineage.LineageException: (LNGTRC_E0016) SQL error during the tracing of lineage: ORA-22813: value of the operand exceeds the limits of the system

    at MITI.server.services.lineage.database.LineageDataSource.handle (LineageDataSource.java:41)

    at MITI.util.database.CommonDataSource.handleSQLException (CommonDataSource.java:124)

    at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:83)

    at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)

    at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)

    at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)

    at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)

    at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)

    at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)

    at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)

    at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)

    at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)

    at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)

    to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)

    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)

    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)

    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)

    at MITI.util.database.Query.executeStatement (Query.java:45)

    at MITI.util.database.Statement.execute (Statement.java:66)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)

    at MITI.util.database.Transaction.execute (Transaction.java:92)

    at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)

    ... more than 27

    Caused by:

    java.sql.SQLException: ORA-22813: value of the operand exceeds the limits of the system

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)

    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)

    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)

    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)

    at MITI.util.database.Query.executeStatement (Query.java:45)

    at MITI.util.database.Statement.execute (Statement.java:66)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:50)

    to MITI.util.database.CommonDataSource$ 1.run(CommonDataSource.java:47)

    at MITI.util.database.Transaction.execute (Transaction.java:92)

    at MITI.util.database.CommonDataSource.executeTransaction (CommonDataSource.java:80)

    at MITI.util.database.CommonDataSource.executeStatement (CommonDataSource.java:54)

    at MITI.server.services.lineage.impl.LineageImpl.traceLineage (LineageImpl.java:554)

    at MITI.server.services.lineage.common.LineageTracer.traceLineage (LineageTracer.java:1078)

    at MITI.server.services.lineage.common.LineageTracer.traceDataLineage (LineageTracer.java:313)

    at MITI.server.services.lineage.common.LineageTracer.traceTechnicalData (LineageTracer.java:176)

    at MITI.web.common.service.facades.LineageFacadeImpl.getLineageGraph (LineageFacadeImpl.java:245)

    at MITI.flash.tabs.VizModelLineage.getLineageTree (VizModelLineage.java:429)

    at MITI.flash.tabs.VizModelLineage.buildLineageGraph (VizModelLineage.java:356)

    at MITI.flash.tabs.VizModelLineage.performAction (VizModelLineage.java:148)

    at MITI.server.servlets.FlashServlet.doPost (FlashServlet.java:156)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    Oracle has published OEMM 12.2.1 and this error is gone! So if you are facing this problem in an older version, just go to the newest one.

  • SQL error: ORA-00979: not a GROUP BY

    Hi team,

    I am trying to execute the query

    SELECT DISTINCT comp.company_name |' -' || COMP.contract_number AS 'company_name '.

    , UPPER (bh.first_name) AS 'budget_holder '.

    , INITCAP (sup.first_name) |' -' || SUP. Surname AS 'supervisor '.

    , INITCAP (emp.status) AS "Department".

    , INITCAP (emp.first_name |) » '|| EMP. Surname) AS "employee."

    r.employee_id

    , emp.paaf_number AS 'paaf_num '.

    , emp.employee_payroll_number AS 'payroll_num '.

    , emp.discipline AS 'discipline '.

    , NVL (SUM (tg.week_day1), 0) AS "day 1".

    , NVL (SUM (tg.week_day2), 0) AS "day 2".

    , NVL (SUM (tg.week_day3), 0) AS day '3 '.

    , NVL (SUM (tg.week_day4), 0) AS "day4.

    , NVL (SUM (tg.week_day5), 0) AS "day5".

    , NVL (SUM (tg.week_day6), 0) AS "day6.

    , NVL (SUM (tg.week_day7), 0) AS "day 7".

    r.valid_from

    r.valid_to

    Tw_roster_data r

    JOIN tw_employee emp

    ON emp.employee_id = r.employee_id

    JOIN tg tw_timesheet_stage

    ON tg.employee_id = r.employee_id

    AND tg.week_commencing = r.valid_from

    JOIN the tw_contracting_company comp

    ON comp.contracting_company_id = r.contracting_company_id

    JOIN tw_supervisor sup

    ON sup.supervisor_id = tg.supervisor_id

    JOIN tw_budget_holder bh

    ON bh.budget_holder_id = sup.budget_holder_id

    WHERE r.contracting_company_id = 101

    AND r.VALID_FROM = January 31, 2015.

    AND r.VALID_TO = February 6, 2015"

    Group of r.employee_id, comp.company_name, bh.first_name,

    EMP.paaf_number, emp.employee_payroll_number, emp.discipline,

    r.valid_from, r.valid_to;

    But still the error below

    Error in the command line: 1 column: 17

    Error report-

    SQL error: ORA-00979: not a GROUP BY expression

    00979 00000 - "not a GROUP BY expression"

    Can help.

    Hello

    When to use analytical function oracle other columns used based on the analysis, must be included in the GROUP BY Clause

    SELECT expression1, expression2, ... expression_n,
      aggregate_function (expression)
    FROM tables
    WHERE conditions
    GROUP BY expression1, expression2, ... expression_n;
    

    SQL 101: Seen are medium and other aggregate data

      SELECT DISTINCT
             comp.company_name || ' - ' || comp.contract_number AS "company_name",
             UPPER (bh.first_name) AS "budget_holder",
             INITCAP (sup.first_name) || ' - ' || sup.surname AS "supervisor",
             INITCAP (emp.status) AS "department",
             INITCAP (emp.first_name || ' ' || emp.surname) AS "employee",
             r.employee_id,
             emp.paaf_number AS "paaf_num",
             emp.employee_payroll_number AS "payroll_num",
             emp.discipline AS "discipline",
             NVL (SUM (tg.week_day1), 0) AS "day1",
             NVL (SUM (tg.week_day2), 0) AS "day2",
             NVL (SUM (tg.week_day3), 0) AS "day3",
             NVL (SUM (tg.week_day4), 0) AS "day4",
             NVL (SUM (tg.week_day5), 0) AS "day5",
             NVL (SUM (tg.week_day6), 0) AS "day6",
             NVL (SUM (tg.week_day7), 0) AS "day7",
             r.valid_from,
             r.valid_to
        FROM tw_roster_data r
             JOIN tw_employee emp
                ON emp.employee_id = r.employee_id
             JOIN tw_timesheet_stage tg
                ON tg.employee_id = r.employee_id
                   AND tg.week_commencing = r.valid_from
             JOIN tw_contracting_company comp
                ON comp.contracting_company_id = r.contracting_company_id
             JOIN tw_supervisor sup
                ON sup.supervisor_id = tg.supervisor_id
             JOIN tw_budget_holder bh
                ON bh.budget_holder_id = sup.budget_holder_id
       WHERE     r.contracting_company_id = 101
             AND r.VALID_FROM = '31-JAN-2015'
             AND r.VALID_TO = '06-FEB-2015'
    GROUP BY
    comp.contract_number
    ,comp.company_name
    ,bh.first_name
    ,sup.first_name
    ,sup.surname
    , emp.status
    ,emp.first_name
    ,emp.surname
    r.employee_id,
    emp.paaf_number,
    emp.employee_payroll_number,
    emp.discipline,
     r.valid_from,
     r.valid_to;
    
  • FRM-40734: internal error: PL / SQL error occurred after clone R12.1.3

    Hello

    I cloned instance of PROD to test successfully, but opening form taking a lot of time to open any form and obtain the FRM-40734 error: internal error: PL / SQL error has occurred.

    Please let me know if everyone faced and solved the problem.

    Bypass tried:

    1. the cleasned nodes and was properly executed autoconfig on all nodes.

    EXEC FND_CONC_CLONE. SETUP_CLEAN;

    2 compiled forms and compiled JAR files.

    Fixing screen shot of the error.

    no luck

    Thank you

    Urgo

    Problem solved after giving permission to $APPLCSF / directory tml.

    Thank you

    Uday

  • Desktop disconnected due to an SQL error

    All of our users view put me off their desktop computers and after the search for the cause I found in the event database on the server to view conection there a SQL error any.  This seems to be the only place where I can see the error.  Here's what the error said... "Cannot create events tables: cannot delete the view 'user_events'", because it does not exist or you are not allowed. ' "  This sql server work since last year and the same way. No changes have been made in the past months, but all of a sudden...  I can't fnd or any other event in SQL server and are the only errors that appear in the application of connection broker log.  Event ID 104 Broker_Machine_Not_Ready.  Anyone has any ideas on this?  Thanks for the research!

    View of the horizon 6.0

    5.5 ESXi

    Whatever it is in the case of Windows opens a session on the server connection, or in SQL Server logs or logs events on the SQL computer? Sounds almost like you've lost the connection to the DB.

    Geoff

  • SQL error on vmo_workflowtoken 22001

    I have a workflow that extracts inventory information and fills a SQL database.  He travels 20 VMs or more and then throws the following error:

    05 2013-08-09:09:47.488 - 0400 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 22001

    05 2013-08-09:09:47.488 - 0400 error data truncation [JDBCExceptionReporter]

    05 2013-08-09:09:47.488 - 0400 WARN [JDBCExceptionReporter] SQL Error: 8152, SQLState: 22001

    05 2013-08-09:09:47.488 - 0400 binary or error string [JDBCExceptionReporter] would be truncated.

    05 2013-08-09:09:47.488 - 0400 WARN [WorkflowRuntimeServiceImpl] unable to update the symbolic content workflow for the id '8a809d523fc5422201404e98146404b8 '.

    org.springframework.dao.DataIntegrityViolationException: could not execute the batch update JDBC; SQL [update vmo_workflowtoken set businessstate =?, currentitemstate =?, enddate =?, globalstate =?, itemdisplaynamestack =?, itemnamestack =?, itemstackfordisplay =?, runningpassword =?, runningusername =?, startdate =?, taskid =?, title =?, wfexecutionstack =? where id =?]; nested exception is org.hibernate.exception.DataException: could not execute JDBC batch update

    at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:648)

    at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:104)

    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:403)

    at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:58)

    at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)

    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:163)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

    to $Proxy197.saveAndFlush (Unknown Source)

    at com.vmware.o11n.service.impl.WorkflowRuntimeServiceImpl.updateWorkflowTokenWithContent(WorkflowRuntimeServiceImpl.java:880)

    at sun.reflect.GeneratedMethodAccessor876.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

    to $Proxy203.updateWorkflowTokenWithContent (Unknown Source)

    at com.vmware.o11n.service.factory.VcoFactoryFacade.updateWorkflowTokenWithContent(VcoFactoryFacade.java:1078)

    at sun.reflect.GeneratedMethodAccessor6605.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:92)

    at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:81)

    at com.vmware.o11n.service.factory.LocalVSOFactoryInvocationHandler.invokeOperation(LocalVSOFactoryInvocationHandler.java:211)

    at com.vmware.o11n.service.factory.LocalVSOFactoryInvocationHandler.doInvoke(LocalVSOFactoryInvocationHandler.java:254)

    at com.vmware.o11n.service.factory.LocalVSOFactoryInvocationHandler.invoke(LocalVSOFactoryInvocationHandler.java:140)

    to $Proxy261.updateWorkflowTokenWithContent (Unknown Source)

    at ch.dunes.model.client.VSOFactoryClient.updateWorkflowTokenWithContent(VSOFactoryClient.java:1904)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.checkpointWorkflowToken(WorkflowHandler.java:853)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.handleWorkflowTokenNextStep(WorkflowHandler.java:553)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.executeToken(WorkflowHandler.java:461)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.handleTokenExecution(WorkflowHandler.java:387)

    at $200 (WorkflowHandler.java:86) ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.access

    to ch.dunes.workflow.engine.mbean.helper.WorkflowHandler$ 1.execute(WorkflowHandler.java:303)

    at ch.dunes.model.ar.AccessRightsTemplate.executeWithAccessRights(AccessRightsTemplate.java:16)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.doExecute(WorkflowHandler.java:299)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.run(WorkflowHandler.java:203)

    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: org.hibernate.exception.DataException: could not execute JDBC batch update

    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)

    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)

    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)

    at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)

    at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)

    at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)

    at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)

    at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:960)

    at sun.reflect.GeneratedMethodAccessor811.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to org.springframework.orm.jpa.SharedEntityManagerCreator$ SharedEntityManagerInvocationHandler.invoke (SharedEntityManagerCreator.java:240)

    to $Proxy89.flush (Unknown Source)

    at org.springframework.data.jpa.repository.support.SimpleJpaRepository.flush(SimpleJpaRepository.java:379)

    at org.springframework.data.jpa.repository.support.SimpleJpaRepository.saveAndFlush(SimpleJpaRepository.java:344)

    at sun.reflect.GeneratedMethodAccessor810.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to org.springframework.data.repository.core.support.RepositoryFactorySupport$ QueryExecutorMethodInterceptor.executeMethodOn (RepositoryFactorySupport.java:368)

    to org.springframework.data.repository.core.support.RepositoryFactorySupport$ QueryExecutorMethodInterceptor.invoke (RepositoryFactorySupport.java:349)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)

    ... more than 40

    Caused by: java.sql.BatchUpdateException: truncation of data

    at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:947)

    at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeBatch(CachedPreparedStatement.java:478)

    at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:519)

    at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)

    at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

    ... more than 62

    05 08-2013 09:09:47.488 - 0400 ERROR [WorkflowHandler] unexpected error during the processing of a workflow transition

    java.lang.RuntimeException: error...

    *****************************

    He is not related to a particular VM, so I don't know where is the problem.  Any ideas?

    I see that there are 2 elements scripts containing "Extract information from the virtual machine - SL" Workflow "/" ("' Get CPU / memory ' and ' Get network / IP '").

    You can try to rename to something without ' / '.

  • Can not complete the configuration of the HA agent on the host. Another HA configuration error

    Dear team,


    I am facing a problem when setting up the AP on a single server. Scenario is the following:-


    Six months back I install the VMWare solution for our Organization. ESXi 4.1 is. At this time there were two servers in the cluster, and both have been configured with HA successfully.

    Now, I have a server added more in the Cluster, but when I'm trying to configure the AP on the same system, it gives the error "cannot complete the configuration for HA agent on the host computer.". Another HA configuration error. "(Screenshot attached) so many times I click with the right button on the server and select reconfigure VMware HA but failed.


    Could someone help me please. It is a live system and the knot very critical. If need help on an urgent basis.


    But in addition, we also bought a 1 year (TS) technical support for our prodcut. Could someone please guide me how can I get a ticket for it.

    Thank you and best regards,

    Gaurav Asthana


    Hi all

    Thank you for your kind support. My problem is solved and it is very simple. By turn off and turn on again the HA on the Cluster setting, the problem is solved. All servers are now configured HA.

    Thank you again...

    Gerard

  • Install HRCS9.0 Linux question: the application designer and Tuxedo domain Boot have SQL error

    People,


    Hello. I was installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and Windows XP-based client computer.  The architecture of my internet is WebLogic11g/Tuxedo11g/OracleDatabase 11 GR 1 material. PeopleTools 8,53 works correctly in the browser.

    In the database server Oracle Linux 5.10 machine, I run scripts 'createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql' one by one. Can I use Data Mover to load Windows XP data into the Oracle Linux 5.10 DB HRCS90 instance. The Data Mover script hrcs90ora.dms is done correctly in Windows XP. Configuration Manager is configured correctly.  But when I login in the application designer, I can't connect and get the message as below:


    «Security Table Manager (Get): the database is release 8.52.»  The PeopleTools running require databases at 8.53 release. »


    I followed the http://docs.oracle.com/cd/E37306_02/psft/acrobat/PeopleTools-8.53-Upgrade_02-2013.pdf document to upgrade HCM and HR 9.0 revision 5 Database Instance HRCS90 in Oracle Database Server with Linux. My upgrade is complete. The above problem is solved.

    When I login in the application designer in Windows XP, the error message as below:

    File: E:\pt853-903-R1-retail\peopletools\src\pssys\stmget.cpp SQL error.

    Stmt #: 2539 error Position: 26 back: 904-ORA-00904: "OPERPSWDSALT": invalid identifier:

    Fail SQL Stmt:

    Select the VERSION, OPERPSWD, OPERPSWDSALT, ENCRYPTED, SYMBOLICID, ACCTLOCK from myAccessId.PSOPRDEFN where OPRID =: 1

    When I boot the Tuxedo Application Server Domain HRCS90 under Linux, I get the same error message as below:

    File:/VOB/PeopleTools/src/pssys/stmget.cpp an SQL error:

    Stmt #: 2539 error Position: 26 back: 904-ORA-00904: "OPERPSWDSALT": invalid identifier:

    Fail SQL Stmt:

    Select the VERSION, OPERPSWD, OPERPSWDSALT, ENCRYPTED, SYMBOLICID, ACCTLOCK from myAccessId.PSOPRDEFN where OPRID =: 1

    ... ...

    GenMessageBox (0,0,M): Signon database: could not access the HRCS90 database with user Psalm code

    I checked the PSOPRDEFN table in the database Linux HRCS90, not the OPERPSWDSALT field.

    I also checked the connection process PS the user traverses the 3 tables: PSOPRDEFN and PSACCESSPRFL, PSSTATUS.

    My oprid, the symbolicid and the accessid ownerid in the 3 tables are correct.

    My question is:

    Why is there a strange OPERPSWDSALT field in the SQL statement that causes Signon failed?  How to solve the problem of access code?

    Thank you.

    > Then it connects with SQL > and then run script rel853.sql, but its outcome is not just because the database is started with sysdba.

    The database is always started '' as sysdba. '' "Useless" to connect as sysdba to run the PSoft script while accessid.

    You need to come back in the book of the Oracle.

    Fair enough, this is my last word to this thread.

    Nicolas.

Maybe you are looking for