Can't create detail VO  in one VO that including all attributes from M/D VO

Hi,
I have two EOs(BrFixreq/DafDefect) and two VOs(BrFixreqVO/DafDefectVO) based on the EOs, when create association between them I have selected "composition association" check box and "Cascade Update key Attributes" check box, and cardinality is 1 to 1.
And also another VO( TestViewObj) includes all attributes in BrFixreqVO and DafDefectVO, and set BrFixreq/DafDefect to updatable in TestViewObj definition , and add TestViewObj to an AM(AppModue).
When I run this AM in Oracle Business Component Browser, click "TestViewObj1" in left tab, and click the green plus sign on the toolbar, it only creates master VO attributes, not including detail VO attributes.
Any directions will be great help to me!
Thanks,
zeroxin

Hi,
I presume that your tables are associated "1 to 1".
This means that you could create your VO's and a viewLink and drop them in the page as Master(form)-Detail(form).
You would have to bind actions for both VO's in each CRUD button (ex. Insert should execute CreateInsertMaster and CreateInsertDetails).
Off course it would be better if things worked with a single VO because you would not have to do anything.
This is simply proposed as a workaround in case that you cannot make it work. More issues regarding the details of your implementation could occur that you would have to deal with.
Another way to handle this so that you have a single VO would be to create a database view that will handle insert, update, delete on both tables and create an Entity Object based on this view.
You can read more about this in the Fusion Developer's Guide For Oracle ADF (Chapter 37.5)
Gabriel.

Similar Messages

  • Can we create a folder in one desktop without sharing that folder in other desktop in mac?

    I have created a few desktop in my mac. Can i create a folder in one desktop, which does not share in other desktop?Can I have different folders in different desktop? how to do that?

    No. Desktop spaces affect only applications and their windows. If an icon appears on the desktop it appears on every desktop.

  • Can i create 23 functions in one proc

    Hi,
    Can I create 23 functions in one proc. In that functions data is manipulating at a time 6000 to 50000 records.
    Eg: 6000 time taking 2 minutes
    Will get any performance issue when I manipulate 20000- 50000 records at a time.
    There's no performance issue.
    Pls suggest me,
    -Thanks,

    Well from Pl/sql perspective you can declare any number of functions within a procedure.
    But Ennisb is right: you should be more cleare in what you try to achieve.
    AQ is really, really fast. So if these 5000, 6000 records are enqueued on a queueu you can create a job that dequeues and processes these a message at a time until the queue is empty. This job you could schedule several times using dbms_job in parallel. Then you'll find that the processing is really fast.
    Regards,
    Martien

  • How can i creat several rectangles with one draw rect.vi

    how can i creat several rectangles with one draw rect.vi? thanks
    Solved!
    Go to Solution.

    You can call it in a for loop, with an array of the rectangle coordinates you want to draw. Is this what you mean?
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    rectangle.png ‏11 KB

  • I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync each phone separately

    I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync contacts separately?

    How to rename your device in iTunes

  • Can we change the font in the email that is being sent from SAP ?

    Hi,
    I have a requirement where in we need to change the font for the contents in the mail being generated from SAP.
    I am using the FM SO_DOCUMENT_SEND_API1 to send my mail.And the contents are just appened to an internal table as text elements.
    Can we change the font in the email that is being sent from SAP  to Arial 10points?

    E-mails generated with that function module are created in plain text format.  The font that would appear when reading the e-mail would be dependt on the user's setting for the e-mail application (e.g. Outlook).
    To my knowledge, the font cannot be affected during it's creation.
    Hope this sheds some light on your issue.
    -Mark

  • How can i import a music CD including all sounds from 5Hz to 30KHz?

    In order to be really lossless what configuration must be used?

    +"how can i import a music CD including all sounds from 5Hz to 30KHz?"+
    +"In order to be really lossless what configuration must be used?"+
    That is two different questions. If you want "lossless," which is defined as being sonically equivalent to the source CD, iTunes has 3 choices, as thicks noted.
    However, that does not provide frequency content as high as 30 kHz, since normal CD encoding is based on 44/16 PCM, and rolls off well before that. If you want all those frequencies, you have to use studio quality masters based on 192/24 encoding, which is far beyond iTunes's capabilities to handle.

  • How can i cancel my att contract for ipad2 that i bought it from online store to use it in europe?

    How can i cancel my att contract for ipad2 that i bought it from online store to use it in europe?

    You don't have a contract with AT&T for an iPad. If you signed up for an AT&T data plan (only possible from the iPad itself, to the best of my knowledge) AT&T's iPad plan is a month-to-month and can be cancelled at any time through the same settings you used to sign up.
    Regards.

  • HT5567 Using my ipad1 I opened a link sent by a friend wh/ took me to Fox News page. Then got email from him saying his google act was hacked & not to open link. What can I do to protect against anything malicious that might have come from this link

    Using my ipad1 I opened a link sent by a friend wh/ took me to Fox News page. Then got email from him saying his google act was hacked & not to open link. What can I do to protect against anything malicious that might have come from this link

    Well, if it was going to do anything to your iPad, its too late now, isn't it?
    First off, it did not install anything on the iPad. Can't do that from a web site on an iOS device. The only thing you might consider is to clear your browser cache and data: Open Settings app > Safari:
    Clear History
    Clear Cookies and Data
    And if you are really the paranoid type, Advanced > Website Data > Remove All Website Data.

  • How can I create a new worksheet every time that one cell it´s filled

    I was looking in the references formulas and I find the formula "Direcction".
    My goal it´s to create a new worksheet everytime that some cells are filled.
    So I need one formula that alows me to put this reference and open automaticaly a new worksheet and this new table inside of this worksheet.
    It is clair the question?
    Someone can help me wiht that?

    Hi Wayne, Not really, the smaller table it´s not really important, I was trying to do the new sheet with it in that case.
    What I want is to use the dates in the row with the items markeds to create a new worksheet.
    I made an example donw here.
    I have the first table, than from it, I want to do 4 new tables
    I mean, everytime that I finish with one column I want to have a new table (in a new work sheet) with that items markeds.
    Do you think that script it´s possible to solve this?
    How can I do it?

  • I have created several short (3-5 minute) movies using iMovie 10.0.6 and Yosemite.  I want to create one movie that includes these short movies that I can then either burn to a DVD or show in iMovie's Theater.  How can I do it?

    I have created several short (3-5 minute) movies using iMovie 10.0.6 and Yosemite.  I want to combine those short movies into one movie that I can loop and burn on a DVD or show in iMovie Theater.  How can I do it?  The movies are now shared to iTunes.

    Another easy way to fix this.
    What I've noticed is that upon upgrading your projects and events to work with iMovie 10, initially it will work... Until you quit iMovie and reopen it again. Any events with hashtags will show up without the star next to the iMovie event. SO, if you happen to read this, after upgrading to iMovie 10 from its predecessor, immediately change the event name to NOT include a hashtag/pound symbol.
    Otherwise, if it's too late, you can either do the above or this...
    Hold down option and click on iMovie. This will prompt you Locate, Create a New Library, Cancel this window, or Choose a different library. What you want to do is create a new library, call it whatever you want to, this will only be temporary. After the program opens, it should be a blank Library. Then go to File > Open Library > iMovie Library (your original library) and proceed to change the name of your events. Quit the program. Go into your Movies folder in Finder, delete the library you temporarily created, and your back in business.

  • Can we create two Filters for one cube

    Hi all,
    I created two filters for one cube (in 11v), I assigned this filters to one user in shared services , so which filter work,
    I think ,We have to assign only one filter for one user , please i need clarification....
    Thanks
    Edited by: user98631 on 12 mars 2010 05:13

    You can create many filters for one cube. I usually associate one group per filter and a user can have one or more groups assigned to them. Can't remember what happens when a user has access to conflicting filters (i.e. the order of preference). It is in the DBAG I am sure though.

  • Can i create two transcation in one connection

    there are two sql need to excute.
    and them need to in two diffrence transcation
    but i have only one connection.
    how to do it.can you tell me?

    For one of the statements use an autonomous transaction.
    eg:
    declare
    pragma autonomous_transaction;
    begin
    --insert,update,delete, etc
    commit;
    end;
    David

  • How can I create additional "Sent Mail" folders so that I can organize my sent mail along the same lines as the inbox? I use Mail v 4.5

    How can I create additional or sub "Sent Mail" folders so that I can organize my sent mail along the same lines as the inbox? I use Mail v 4.5.

    Thank you for your reply Don, but I had already gone through that procedure and it will only create new mailboxes for received mail. I want to create new mailboxes for sent mail, i.e. the first column being "to" not "from". Under the Mailbox menus there is an option "Use This Mailbox For" but all the options under that (including Sent) are greyed out. Unfortunately the View/Columns option to change from "From" to "To" changes all mailboxes not just the active one.

  • Can we create multiple records before navigation to that block

    Can we create multiple records and assign values in Forms, before navigation to that block (in a trigger ), and populate ?

    Hello,
    No you cannot. You need to be inside the block in order to use the Create_Record built-in.
    Francois

Maybe you are looking for