Detail table data control not insert data

Hello

I use JDev 11.1.2.4 and fusion web application, I have 2 main table and, when I run APP module and insert data in the table in detail its registered successfully, but when I drag the VO of the data control to af:form some data and other will be null.

Any suggestion?

Concerning

Finally I found the solution

https://forums.Oracle.com/message/10493807

Tags: Java

Similar Questions

  • Help to insert data in table chain control

    Hello world

    I'm trying to insert 2 chain control data in a table. I had to insert 1 control of the string in a table data, but when I try to add 1 chain control, it doesn't work. You guys could help me?

    Thank you

    I think that's what is wanted... to add data to a table. Only problem is that it is an an indicator of control so this example may require changes slightly if the user needs a control. If you don't want the user to enter anything, this method should work. The function used is insert into table

  • do not insert date field-very urgent

    Thanks in advance any help appreciated

    im getting all the data in tabular form and insert csv using the insert, the field date (not datetime) is not to insert (vb.net) and showing no error
    IM get the data in the string wat iv table to do all by inserting Ive used all the techniques of conversion but still do not insert

    Hello
    You must specify the 'specified' attribute in order to insert or update a field that is not of type string.
    For example, I assume that your program to do something like:

    expression obj.date=%%date %.

    but you must do it too:

    obj.date_specified = true

    This is for any field as a number, date, boolean, etc... is not a string.

    It will be useful.
    Kim.

  • Find all tables that have not at least a DATE column

    DB version: 10 gr 2

    View user_tab_cols using, how can I find the tables that have not at least a column of DATE(user_tab_cols.data_Type='DATE')?
    SELECT table_name
      FROM user_tables
    WHERE table_name NOT IN  ( SELECT DISTINCT
                                      table_name
                                 FROM user_tab_cols
                                WHERE DATA_TYPE  = 'DATE'
                             );
    

    Concerning
    Arun

  • QBE on uncommitted in af:table data

    Hello
    I use Jdev v11.1.1.7.0.
    I have an af:table in which I insert, delete, or back up data.
    I also enabled on this table QBE.
    If I add a few lines and back up the data before you do a query using QBE, it works very well. But if adding a few lines and without clicking on save I QBE, then it behaves erratically i.e. search results get lost when I remove the query criteria.
    But if you try to add a row with the same primary key (which had in a row lost), it gives me the error. So that means that the rank is still there.

    Anyone have any idea on this? I can explain in more detail if you wish. Is this default behavior of adf that is it does not support qbe on the unvalidated data?

    Hello

    as an employee of Oracle, you can use the internal mailing list JDeveloper and internal forums (particularly when you are working with internal builds of JDeveloper)

    To answer your question (assuming that the original Version of the application is based on an EO), set the query of the VO mode focus also on the feature cache. If the QBE is based on a custom ViewCriteria, then you can set this on the view criteria (see the second tab in the editor view criteria). If you use the view "all attributes that can be interrogated" by default, use the following Java code to set the query VO mode

    vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS |) ViewObject.QUERY_MODE_SCAN_DATABASE_TABLES);

    Frank

  • [ADF, JDev12.1.3] Mastering the form with detail tables: questions about Insertion/deletion, commit / rollback, primary key, handling,...

    Hallo,

    I have a panelTabbed with 4 tabs. In the 1st tab, there is a master form while each of the other tabs, there is a secondary table. Each tab "reads" vo.

    Please see here http://digilander.libero.it/flattit82/OTN_FILES/VoInTabs.png

    I created the graphichs/layout and now it's time to take care of the management of the transaction.

    In the master tab / form

    1)

    Here, I would put a button to remove the master record.

    When I delete a record in the primary table an automatism in the database (MS SQL Server) will automatically delete any registration which are linked to it in the detail tables.

    Could the automated system as this causes problems?

    In the Details tabs / tables

    2)

    I would put a button in each row to delete the line delivering. Can I just drag-and - drop, like button, af line: table the operation "Delete" of the VO istance detail used to create the af: table?

    3)

    If Yes, by clicking on the button performs the default delete operation. But if need to perform some actions before you run the deletion (or, in General, any other operation), how can I do?

    4)

    To create a folder that I use Create or CreateInsert? And what are the differences between them?

    5)

    When I create a new record I need set the value of a field of the VO on which is based the af: table. He filed, let's call it RowDetNumber, is not displayed in the af: table, because it doesn't have be filled in by the user. Mut value is calculated and set "secretly" before posting the new line to the database table. In particular, its value must be calculated as

    Select max (RowDetNumber) + 1

    of table_on_which_VO_is_based

    where some_conditions_on_fields_of_the_same_VO


    For example

    The VO selects all of the records that have FkId =: value. If value = 3, VO selection records:

    ID RowDetNumber OtherFields FkId

    1   3     1             ...

    2   3     2             ...

    3   3     3             ...

    4   3     4             ...

    The new record must be RowDetNumber = 5.

    I would like to know how permorm this.

    In general

    6)

    If the database tables have 1 or more triggers I have to take care of something?

    7)

    On the book "development of Web Applications with Oracle ADF Essentials - Sten E. Vesterli", I have read it could be problems when you use tables of database non-Oracle with auto-increment fields.

    The advice of author uncheck the 'Required' box in the model.

    All tables in my database have a primary keys that are auto-increment... so I uncheck the "mandatory"?

    8)

    In general how do I set these fields? I have to put in OT, VO or both?

    Thank you

    Federico

    Hello

    (1) you will need to re - question child iterators so that they do not look stale data

    (2) Yes. Ensure that the table is PPRed after deleting the line (should happen automatically if ChangeEventPolicy on iterator is set to ppr)

    (3) double click on the button and it creates a bean managed for you. It allows you to check a box to generate the code he would run to remove the line. Everything you put in front of the generated code is your code before

    (4) in the case of tables, use createInsert as it adds the new line to the rowset (transaction)

    (5) suggest to do this use a database trigger and the data attribute value DBSequence VO type

    (6) do not 'drop table' issue in SQL (sorry, couldn't resist ;-))

    (7) If you follow the advice of the author, Yes. What it does, I have it does not throw an exception if a value is missing in the validation of the line

    (8) usually you set whatever it is at the level of the OS and put only things on VO if you want to override the default value for a specific behavior


    Frank

  • Tables and table data

    Hello-

    How is it when I create a node of a table property value and build a table of this node of property value, it gives me an annexed table?

    I tried indexing in this table twice for a single row of values, but when I try to compare the 1 index of this row in the table with the

    first index value from an array of the same size, the equal sign will not indent the table created index from the table. I see that the

    output wire is pink, which means that the value is considered as text... How can I convert that to a number so that I can compare the first value of a line

    in a table of the first value of a picture of a line to determine if they are equal? Array index is fed data points from

    a graph and once this 1st value of the array index is the first index value of the row in the table, I hope to have the index given in the table

    turns green when there is a football game. Thank you.

    Hello

    I'm not absolutely sure I knew you. Displaying a VI or a screenshot could be useful...

    However, attached, you will find a simple VI compare the first value of a table wanted the first value of a table row.

    Note that the table data type is string, not digital. No matter if you put numerical values in the table there are always string. A conversion is necessary to compare the values in array of numeric values.

    The values in the table are displayed as a 2D array in which the first dimension contains the lines (x).

    I hope I could help you with that.

  • table data type error

    Cheap DBA

    I use oracle 11.1.0 on vista OS. I created a table called 'phones.


    SQL > desc phones
    Name Null? Type
    ----------------------------------------- -------- ----------------------------

    PHONE NUMBER (20)

    SQL > insert into values phones (0423004328765);

    1 line of creation.

    SQL > select count (*) from phones;

    COUNT (*)
    ----------
    5

    SQL > select * from phones;

    PHONE
    ----------
    425374154
    425367889
    4.2300E + 12
    4.2300E + 11
    4.2300E + 11

    The issue is that the first two entries in the table is the same that I've inserted into the table (insert into values phones (425374154).
    But the last three entries are not presented in the table that I've inserted into the table (insert into values of phones ((0423004328765);)

    Please help me.

    Thank you

    Published by: starting August 7, 2011 09:30
    SQL> column phone format 999999999999; 
    

    tells SQL * more to display a numeric column named PHONE that is selected using up to 12 digits before moving on to scientific notation. It's the same way that you can control the width of a column of basic text, i.e.

    SQL> column table_name format a10;
    SQL> select table_name from user_tables
    

    Displays the TABLE_NAME column using 10 characters per line. Assuming that you have a long table names, they will be wrapped to the next line.

    Justin

  • How to load data from matrix report in the base using ODI table data

    Hello

    How to load matrix report data in the base table data using oracle Data Integrator?

    Description of the requirement:

    This is the data from matrix report:
    JOB                       DEPT10                DEPT20  
    ___________________________ _____________
    ANALYST                                           6000
    CLERK                   1300                     1900 
    Need to convert it to the format below:
    JOB                             Dept                        Salary
    _____________________________________________
    ANALYST                  DEPT10      
    ANALYST                  DEPT20                     6000
    CLERK                       DEPT10                    1300
    CLERK                       DEPT20                    1900
        
    Thank you for your help in advance. Let me know if any other explanation is needed.

    Your list seems to be a bit restrictive, you can do much more with the procedures of ODI.

    If you create the new procedure and add a step. In the 'source' tab command you define technology and pattern according to your source database. Use the unpivot operator as described in the link, please, instead of using "SELECT *' use the column names and aliases for example:"

    SELECT workstation,
    deptsal as deptsal,
    saldesc as saledesc
    OF pivoted_data
    UNPIVOT)
    deptsal-<-->
    FOR saldesc-<-->
    IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
    )

    Then in your tab 'command on target' defined technology and drawing on your target db, then put your INSERT statement for example:

    INSERT INTO job_sales
    (employment,
    deptsal,
    saledesc
    )
    VALUES
    (
    : job,.
    : deptsal,.
    : saledesc
    )

    That's why you use bind variables from source to load data into the target.

    Obviously if the source and target table is in the same database, you can have it all in a single statement to the "command on target' as

    INSERT INTO job_sales
    (employment,
    deptsal,
    saledesc
    )
    SELECT workstation,
    deptsal as deptsal,
    saldesc as saledesc
    OF pivoted_data
    UNPIVOT)
    deptsal-<-->
    FOR saldesc-<-->
    IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
    )

    also assign the log count "Insert" on the tab corresponding to your INSERT statement, so that you know how many rows you insert into the table.

    I hope this helps.

    BUT remember that this feature is out in Oracle 11 g.

  • Grid Enterprise Manager 11 g Table data?

    Hello, in Enterprise Manager 11 g, is there a grid or spreadsheet a data tables edit? Not the "view data", but something where the data can be changed?

    Thank you

    No, use SQL Developer. Enterprise Manager is a tool for monitoring and administration.

    Werner

  • Select table data in another table

    Hello

    I want to select data from A table, which is not in table B.

    Currently I am doing:

    Select
    smofnut,
    nameA,
    dobA
    a.
    If smofnut not in
    (select A snoB, B).
    where smofnut = snoB
    and nameA = Name)

    But above all it is very slow.

    I can do something like:

    Select
    smofnut,
    nameA,
    dobA
    of A, B
    where
    EXCLUDE (smofnut = snoB and nameA = Name)

    Please note that I need the place where the condition on the two columns.

    any help will be appreciated.

    -Harvey

    What are approximate data to A and B?
    What is 'very slow '?
    What version of Oracle?
    What is the query plan?

    Without knowing anything about your system, my first thought would be to see if a NOT EXISTS happened to be faster for your data

    SELECT snoA,
           nameA,
           dobA
      FROM a
     WHERE NOT EXISTS (
        SELECT 1
          FROM b
         WHERE a.snoA = b.snoB
           AND a.nameA = b.nameB )
    

    Of course, I don't know why you want to join A & B in your NOT IN subquery. It would seem that you would need just a subquery correlated, i.e.

    SELECT snoA,
           nameA,
           dobA
      FROM a
     WHERE snoA NOT IN (
        SELECT snoB
          FROM b
         WHERE a.snoA = b.snoB
           AND a.nameA = b.nameB )
    

    This should be more efficient than the original request. The NOT EXISTS version may or may not be more effective than NOT IN according to data volumes.

    Justin

  • copy and paste the table data

    Hi all

    I'm trying to convert some WinHelp files old HTMLHelp format. All files have as subjects with the same tables of three columns.

    Part of the done conversion tables look more "pretty", then we have a new scheme of formatting of table together upwards in a model of .htt file.

    It is, I can copy the new table and its formatting in my editor WYSIWYG RoboHelp... but to transfer DATA from the old table, I have to cut and paste data from each cell individually. I can just select the table of old (and its data) "in mass" and paste the data into the new table snazzy. Because the tables have three columns and up to 30 lines, it can become quite painful, cut and paste data from each cell in the corresponding cell in the new table.

    Is it possible to make this process faster? Ideally, I'd like to just reduce the process steps:

    (1) copy a blank version of the table of new, prettier in RoboHelp WYSIWYG.
    (2) cut out of the old table data.
    (3) paste the data into the new table.

    I hope I do my question clearly...

    Thanks in advance!
    Dave

    Colum, I think that his anxiety is caused by not being not able to copy/paste the content in multiple cells, you can in Word.

    Unfortunately, Dave, that is not possible...

    Leon

  • FND_REQUEST. SUBMIT_REQUEST returns request_id, but documents are not inserted into the table AP_INVOICES_ALL

    simultaneous program returns request_id, but the lines are not inserted into the AP_INVOICES_ALL table.

    where can I check for errors? is there any error log written by simultaneous program?

    Please do not post any duplicates- FND_REQUEST. SUBMIT_REQUEST stores the error messages in the table

  • Table data type

    Is there any equivalent data type to create a table inside a stored procedure or a package, and the table is only valid in the stored procedure or package.
    Something like this [http://www.developer.com/db/article.php/3414331/Using-the-Table-Data-Type-in-SQL-Server-2000.htm] what we have in sql server.

    I'm pretty new in Oracle world.

    Any help will be much appreciated.

    Thanks in advance.

    Yes... You can declare a record type in the package body

    TYPE rec_type () IS RENDERING
    NUMBER of col1,
    col2 VARCHAR2 (2 CHAR)
    ....
    );

    then simply declare a type of table top the record type

    TYPE tab_type IS TABLE OF THE rec_type;

    You can make statements within the body to keep it private, or in the spec to make it public

    It could be that useful...

  • Popup do not insert in the table and not refreshing called page...

    Greetings



    Environment: APEX 3.1.1.00.09 on AIX 5.3 with 10 gr 2



    I read a lot of threads about my question and I think I'm getting closer to the answer but in some sort have combined a too big number of suggestions and am tripping over my own code.



    Please look at my sample application on apex.oracle.com:



    Workspace: galway

    User: gwicke

    Password: gwicke



    Please start by Page3, select any agency and then click on "add a new contract."

    There are currently a label "BOLD" < facilities > < strong > 'Add new Builder' which is a link that should open a popup window. Type a name in the field, and then click 'Create Builder'. This should INSERT the row into the table builder, close the pop-up window, assign the new name of the generator to the item page calling "Name Builder" and fill the screen element.



    In current state, the application will open the pop-up, allow entry and close by clicking on the button "create Builder." However, the new constructor is NOT inserted into the table and the calling page element is not met.



    Looking at the Page elements and Session State, I can see the correct values assigned to the elements "Pn_BULDER_NAME" on the popup page (4) and the calling page (2), but the value does not appear on the screen.



    I read here where there really two parallel universes, not forgiveness, Articles of two versions of the screen, a State of Session and the other which is displayed in the browser and there are measures to be taken to be sure that is displayed is updated to state of Session I want in this case.



    I entered the Javascript code on Page4 - header to set the 'passBack2()' function and the code in the section "Option URL Redirect" to the button "Add Builder" if all goes well perform protocol ARP for the INSERT, assign items to page 2 and close the pop-up window. He gets not quite everything.



    Any helpp is greatly appreciated. Thanks to Dene for most of the suggestions I have followed by code.



    -gary

    Hi Gary,.

    I think that there is a very simple solution to this topic - is not this spot really last night.

    First, Yes, you could use a "button" to manage the call for the popup - make sure that the button is a type of URL 'button', which is actually an A tag with the appeal under target URL. Otherwise, you could take you existing a tag and use the same class for one of your buttons attribute because this should make it look like a button.

    More importantly, however, I think we could do as:

    1. on your call popup page 2, clear cache for page 4 (the popup page) - I already did in your application by updating the url

    2. on page popup, allow the user to enter their desired P4_BUILDER_NAME value (not sure if you want to do something to make it unique?)

    3 let the user click on create on the shortcut menu. He will submit the page, that will make your P4_BUILDER_RANK (pk) value and insert a new record in the table (you might consider the creation of a sequence and a trigger to handle the creation of new value PK?).

    4 - assuming that the P4_BUILDER_RANK then exist (it would not if there is a mistake somewhere), then conditionally display a region that had a piece of javascript submit page 2 and closes then itself - we don't need to move everything back to page 2 (see below)

    5. as the P4_BUILDER_NAME and the P4_BUILDER_RANK exist in the session, to which page 2 be reloaded, (A) the selection list should be updated with the new generator (still not sure why all my entries appeared downstairs instead of in alphabetical?) and (B) the P2_BUILDER_NAME and the P2_BUILDER_RANK can have Post calculation calculations together (NVL) ((: P4_BUILDER_NAME,: P2_BUILDER_NAME) and NVL (: P4_BUILDER_RANK,: P2_BUILDER_RANK) respectively)-l' effect is, if there are the values stored in the page P4 elements, we use them, otherwise, we use whatever values were in the elements of page P2

    6 - Finally, to stop (5) that happens in all the loading of page 2, you would need to clear the cache of page 4 in as many places as possible - for example, branches for a 2 page or buttons on page 2

    The reason why we cannot pass values back to page 2, it is one of the elements is a list of selection. The value we want to select will appear not on the selection list until the page has been sent. So, we can set the value and submit because the value is not there. We can introduce and define the value, because the javascript don't know when the page has been updated (or, at least, you need an independent mechanism to identify, which can get complicated).

    So, in other words, as long as we know that if the values are in the session, we can use Post calculation calculations to set our fields to these values. The only thing to keep in mind is that we must ensure that these session values only exist when in need - so we empty the cache. This principle should work for any type of terrain - but as you have no doubt seen, simple text fields can be updated by the popup directly as the field must accept any value that we give.

    My only recommendation would be to completely remove the MRU of the page process because they are not necessary (they simply confuse the issue) and you could make your fetch PK and record insert into a single process - just to keep things clean and tidy, you understand!

    When I finished last night with your app, I will leave so that javascript can create an option on the select list, and then set the value. But the method described above seems to be much simpler.

    Andy

Maybe you are looking for