[11g] ORA-22993 when extracted xmltype great values in the outbreak of the BIU as a CLOB in another table

[I ask nicely for a few comments for this question.

Someone else can reproduce it with the test below?

Is my code invalid or false?

Or what is the problem here?

-Thank you

Frank

]

Hello

Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

PL/SQL Release 11.2.0.3.0 - Production

CORE Production 11.2.0.3.0

AMT for Linux: Version 11.2.0.3.0 - Production

NLSRTL Version 11.2.0.3.0 - Production

Trigger Before Insert or Update to a table, I invoke a PL/SQL package function to check the size of an xmltype column (passing as IN OUT NOCOPY).

PL/SQL functions retrieves the xmltype. GetClobVal(), check its size, and when it is beyond a limit, he tries to insert the data into another table (GTT - global temporary table).

Finally, it changes the value of the value of the column of xmltype to the shorter XML (just by referring to the corresponding record in the TWG).

But the Insert SQL in the TWG operation strike ORA-22993: specified input is greater than the amount actual source.

I don't know why this happens. In the internet I only find references on importing files in lob/clob.

Anyone have the same problem?

I know that you prefer to have a sample program to demonstrate the problem - I'll try to post one, but it will take time.

But maybe someone can help me based on the information above already.

-Thanks a lot!

Best regards

Frank

I have reproduced the issue.

It must be a bug.

Tags: Database

Similar Questions

  • need to "extract" a numerical value of the given XML node

    My question: -.
    of a document XML how can I 'extract' a numeric value for use in a "customized math expression" to convert inches into millimetres/centimetres dimensional data?

    FYI: -.
    When you use a component XML Connector that I am able to load and display the values of XML data, of my choice, the XML document required; the data is loaded into the components that are instances of TextArea or TextInput.

    background: -.
    in order to make use of the value of XML data I tried to assign it to an 'intermediate and temporary variable' using the ComponentInstanceName.text option in an assignment, but that effort failed, where this post.

    your comments: -.
    all comments, suggestions, ideas are received with gratitude; Please keep in mind that cindy I am a newb to XML format, but hope that change in the coming months.

    Thanks for your time.

    ... and so, I discovered that the main reason for my bad be able to access the data is due to the fact that the xml data is not fully charged in my application when my code is trying to access. of course it's because of the asynchronous loading of the Flash XML Connector component behavior.

    so the repair to the original message is:-
    check that the data is fully loaded into the app and only then access and assign it to all the other required variables.

    SORTING :)

  • CH - when you type a value in the feather of a Shape in it rounds - properties

    When I type 61.2px in the value of the pen of a shape, for example, it rounds it up to 61px how can I disable this?

    Tab positioning before you click on enter.

  • Migration to Jdev12c: Null pointer when you select 'no value' in the drop-down list

    Hello world

    We will migrate an ADF 11.1.2.3.0 to 12.1.2 JDeveloper app so we have a page jspx with a chart based on a VO and a drop-down list selectOneChoice to optionally filter the data of the VO, which makes the graph to change automatically.

    In version 11, it works perfectly, but in 12, when the user does not select no matter what filter you get this exception:

    < 26 November 2013 20 H 32' THIS > < WARNING > < org.apache.myfaces.trinidad.util.MessageFactory > < BEA-000000 > <

    java.lang.NullPointerException

    at com.sun.el.parser.AstValue.setValue(AstValue.java:214)

    at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:291)

    at org.apache.myfaces.trinidad.component.UIXEditableValue.updateModel(UIXEditableValue.java:361)

    at org.apache.myfaces.trinidad.component.UIXEditableValue.processUpdates(UIXEditableValue.java:311)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.updateChildrenImpl(UIXComponentBase.java:1430)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.updateChildren(UIXComponentBase.java:1420)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.processUpdates(UIXComponentBase.java:1174)

    ....

    Any idea?

    Thank you very much in advance,
    Jose.

    Hi Jose

    In your links, select your list. Then in the Inspector properties at the end, you will see something like optionList (don't remember the name), but you'll know when you see it. Select the index instead of the object.

    Concerning

  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • How to pass the value of the Timestamp from one Page to another

    From a column report link, I need to pass a DATE (that includes both) form one page to the next. If I use the basic name/value pairs under the section of the column link, the URL stops when it encounters a colon. For example, '2012-05-08 16:38 ' invades as ' 2012-05-08 16 "»

    In addition, all values after the colon in the DATE value are removed from the URL.

    I know not why this is happening. This is because oracle sees the ":" and this is a field terminator does not assume.

    How can I work around this problem? I saw the post suggesting the API URL_ENCODE but, I can see someone to call this, or any other code in the section of the link column. I've also seen some people suggest that this be done as a conditional branch. Simularly, I can't find in any case to call the branch section of the link column.

    There must be a way to pass this value, and I can't be the first person to ever attempt this. I am totally stuck and have spend hours on this issue.

    Thank you


    -Joe

    As fac586 said, you wouldn't have this problem if RISKDM2. INTRADAY_VM_CLEARER has a primary key, you can reference instead. Still, can you guarantee that the date will be unique?

    If so, suggested use fac586 of 'YYYYMMDDHH24MI' format mask for the link, but set the value of a hidden point new (say PX_HIDDEN_PARAM_ITEM). The last step then on the page that you are linking, have simply a page process that defines the element of effective date of to_date (PX_HIDDEN_PARAM_ITEM, 'YYYYMMDDHH24MI'). This before the process that brings back the record and after that should work just fine.

  • How to assign values to the application points to leave on a table

    Hello

    I have a FORM on a table with two or three elements. How to assign values to the elements of the application with the values in the elements of form, every time the value of the element is entry, change or page is sent?

    I created a dynamic action to the region level with Event - change to run the suite of PL/SQL, I tried with 3 different ways in PL/SQL, as shown below, but it didn't work.

    BEGIN

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v ('P1_FY'));

    : APP_FY: =: P1_FY;

    END;

    BEGIN

    APEX_UTIL. SET_SESSION_STATE ('APP_FY', v: P1_FY);

    END;

    Then I created an action dynamic at the ITEM level with change event to run the suite of PL/SQL and tried with PL/SQL, as shown below, but it didn't work.

    I need to assign values to the elements of the request form as these elements of the application will be used in many other pages in the application. How to I get there?

    Thank you.

    If a dynamic action of PL/SQL execution, you must send your list of page elements in the parameter "Elements of Page to submit.

    See the section 'run pl/sql' for this post.

    If the page is submitted, the elements of the page will be automatically set to session state, and you can have a page process make the code you have.

  • How to get the value of the cell in a bean of a table of the adf in the screen at the click of the button.

    Hello

    I have an editable table in my screen. When the user enters text on any cell in the column, I would like to get the text entered my beans for this cell when the button is clicked.

    And if you use BC?

    Quite simply, take table iterator form pageDef and get the appropriate attribute of line current value...

  • How to pass values and the development of a movieclip to another

    Hello

    I created a few dynamic movieclips.

    When I click and hold on one of them, I want another library bound MC to appear and the new MC must be movable.

    I can do the new MC appear, and I can make it draggable.  However, I am a bit lost when it comes to tell Flash to forget the old clip and make the new one "online".

    In other words - after a click-hold, I want the new movieclip to be mobile without the user to mouse to the top and then click on new.

    Thanks for your help.

    Shaun

    If you are using AS3, when you click down to just create the new instance, preferably directly aligned to the top of the object you clicked on to the bottom, then use startDrag (false) on it. Something like...

    clickedMC.addEventListener (MouseEvent.MOUSE_DOWN, createNew);

    function createNew(evt:MouseEvent):void {}
    var newMC:MC = new MC();
    newMC.x = clickedMC.x;
    newMC.y = clickedMC.y;
    addChild (newMC);
    newMC.startDrag (false);
    }

  • Retrieve the value of the sequence

    Hello

    I'm fairly new to Apex and I have a question about it.

    I have a form that users can fill data and send it in a table.
    The PK is taken from a sequence and submit the value retrieved is put in the table.

    So far so good.

    Now what I want to do is that, on Submit, still recoverable it value of the sequence also be put in another table.
    I did a process with the following source:

    insert into kl_hw (hardware_id_fk, klantnr_fk) VALUES (: P4_HARDWARE_ID, 1);

    But the: P4_HARDWARE_ID has no value yet.
    What can I do to get the value of sequence early or what is the correct way to do this?

    Any help would be appreciated.

    Wim

    When you run 1 process, it's like a row of process of

    ? In this process define you a page hidden item using the method previously posted and then use this element when you provide elements to the other table...

    Thank you

    Tony Miller
    Webster, TX

    What happens if you were really stalking a paranoid schizophrenic... They would know?

    If you answer this question, please mark the thread as closed and give points where won...

  • Should I resize the LOG_BUFFER parameter to a greater value?

    Should I resize the LOG_BUFFER parameter to a greater value?

    The transaction of the application calls the work once every 5 seconds. The action is the insertion more than 14 MB of data in the 3 tables.
    The current value of LOG_BUFFER is 14 MB (default for Oracle).

    http://download-West.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams108.htm#sthref449

  • Select the value in the drop-down list ADF/JSF without command button

    Hello

    My request is constructed using ADF and JSF (and JDev 10.1.3) and the form of a table with 2 drop downs. When the user selects a value in the first descent down, the program should go to the database and extraction of valid values for the second drop-down list. This is the case on the selection of the value in the drop-down and the user should not be required to click on any button command like 'Go' or ' Submit'

    I'm new to JSF/ADF. How to get there? Any body there the code examples for this?

    Thank you

    http://tinyurl.com/ygnvl87 :D

    John

  • Matrix of distances: selection of values with the number of the column as a variable

    Hi all

    You wonder if SQL can do natively, let's go.

    I have a static table with the same amount of rows and columns, that changes forever; It represents the distances between locations (e.g. countries).
    It's basically a distance matrix (you can find a good example on Wikipedia ).

    My SQL statement must extract the distances of this matrix, based on the IDS of countries located in another table.
    Select a field is simple:

    SELECT * from cdistances where countryid =
    (select countryid from countries where upper (country) = upper (& getcountry));

    When I run the present, I get a line of all distances to all countries of the country I go when asked. But I would limit the outcome of a country of destination that I entered.

    Of course, a CASE statement would solve this nicely, but since we are talking more than 200 countries, which will become unmanageable.

    Another method that I approached is to use a variable as a column, as below:

    SELECT & getdestination of cdistances where countryid =
    (select countryid from countries where upper (country) = upper (& getcountry));

    It works well when I get directly the column identifier (manually from the keyboard) but I would like to automate even further.
    My names of columns in the matrix of distances are named as follows:
    countries1, countries2, countries3... country200 - where the number ID the real country, preceded by the constant string 'country '.
    So I tried to define a variable as a concat between 'country' and another variable:
    def getd2 = concat ("D2C", & testcountryid);
    Of course, it does not; the output of the script is:

    old: def getd2 = concat ('country', & testcountryid)
    New: def getd2 = concat ("country", 12)

    where I expected to be 'country12.

    I'm so little loss of thoughts. Maybe I'm pushing my train of thought in the wrong way, so I guess the general question would be: how to select a specific column of a table based on information outside the SQL statement dynamically?

    Hello

    I'm still confused.
    Is your table called chessking or testdistances, or you have 2 separate tables?

    I'm guessing that your single table is testdistances, and you want to pass a list of countryids, such as that of 3.1 to a query and get results as follows:

    `COUNTRYID  DISTANCE3  DISTANCE1
    ---------- ---------- ----------
             1         18         15
             3         13          1
    

    If so:

    DEFINE     country_list = "3,1"
    
    -- Preliminary Query, to set column_list
    COLUMN     column_list_col     NEW_VALUE column_list
    
    SELECT     'distance' || REPLACE ( '&country_list'
                               , ','
                         , ',distance'
                         )          AS column_list_col
    FROM    dual;
    
    -- Main Query
    SELECT     countryid
    ,     &column_list
    FROM     testdistances
    WHERE     countryid     IN (&country_list)
    ;
    

    Sorry, I'm out of time now. I'll explain more in a few hours.

  • Value for the select list

    Hello


    Can someone please let me know how to value to select list (display Null value: Yes, the Null value to display:--select--) through the text field and button.) When I enter a value in the text field and click the button, and then select field must be filled with the respective value.

    I tried to make it through the writing of a query in the source and through dynamic action button, they are populating the value to select the list but we null is folded down, then we must click on the selection list to display the value, but I want the value that is returned to be visible visible null instead.


    Kind regards
    Shoaib

    Hello
    >
    Can someone please let me know how to value to select list (display Null value: Yes, the Null value to display:--select--) through the text field and button.) When I enter a value in the text field and click the button, and then select field must be filled with the respective value.
    >
    a. What is the source of the LoV? Static? Dynamics?
    b. the value that you set using point and button is the value display or the return value of the LoV? It should be the return value.
    >
    I tried to make it through the writing of a query in the source and through dynamic action button, they are populating the value to select the list but we null is folded down, then we must click on the selection list to display the value, but I want the value that is returned to be visible visible null instead.
    >

    As you mention DA, you are on 4.x. But it is better to ask clearly the Apex version.
    See you soon,.

    PS: What you have specified in the Retrun Null value?

    Published by: Dominique on July 20, 2012 13:31

  • Filling of LOV based on a value in the text box.

    Hi all


    Will have a form page, that contains a text box and select an item list.

    For example:

    Name of the Department: the text box
    Employee name: selection list

    I need to learn all the employee name in the selection list based on the service name entered in the text box.

    I can't change the name of this Department as a pick list, or select the list to submit.

    Every time when I entered a value in the text box the value of the employee name department name must be autopopulated in the movement of the tab.

    Can someone help me to achieve this?

    Thank you
    Santini.

    Published by: Santini March 14, 2011 23:40

    Just install the employee like a LOV LOV cascading, it works even if the parent element is not a LOV itself

  • Choose cascade LOV option 'yes '.
  • Use the service element in the definition of the query of the LOV
  • Add the name of the option in the Parent parent points and items to submit the list.

Maybe you are looking for

  • adlibelf.dll?

    I get a pop up window when I double-click on a Win7 vi: "Labview.exe - error system, the program cannot start because ADLIBELF.dll is missing on your computer. Try reinstalling the program to fix this problem. If I just click the OK button in the pop

  • Webcam hp dv6000

    I'm an amateur at the comupters and forums. I bought a HP dv6500 laptop and all right but I can't get the webcam working. It can be as simple as turning on the webcam but I don't know how to do it all. Can you help me please I am running win 7 ultima

  • Missing pieces of waveform

    Hello I try to display 3 waveforms on a graph using samples of data in real-time. Waveforms draw ok in what concerns the samples being synchronized between them, but the waveforms of the parts are missing. (see attachment page, there is only one form

  • I wonder if more shared video memory will make my game to live better.

    allright, I have a Core 2 Duo 2 ghz cpu, 3 GB of RAM DDR2, an Intel GMA 4500MHD (128 MB dedicated video memory) and 1.2 GB of video memory shared (you know, the kind that comes out of your total RAM and is SLOW). I play games (halo 2, call of duty),

  • HP DesignJet 1000 series, a bad cable rear transport stop in the same place every time?

    Hello. On a series of 1000 HP DesignJet 1050c more think that FW A.52.02, a bad cable rear transport stop in the same place every time?  It stops just to the right of each start, attached photo Center.  Do not know if it is directed to the left or ri