New Business Components doesn't load with their foreign keys

Hi,
When your database schema has already been defined and nothing moves, the creation of Business Components in JDeveloper works pretty well.
When you are developing a real application and sometimes the customer changes his mind or something, you have to add some Business Components later in the process.
My question, why associations and links doesn't follow the creation of new business object?
Example 1
I load every database object I need. All associations and links are created.
Example 2
I have let say three tables. I create my new Business Components by selecting only 2 tables out of 3. If there are foreign keys, they are loaded.
Now, I want to create the last business components (table 3 of 3), and this table got foreign keys pointing to one of the two previous tables I just loaded.
Surprise, it won't load any foreign key.
I have tried multiples ways to synchronise object, I don't see it working. So I have to create every associations and links myself. Anybody knows a trick that they want to share for this kind of situation?
Thanks
Edited by: benster on Feb 7, 2013 3:01 PM

Hi,
actuallly Chris Muir brought up the idea to make the entity wizard more intelligent of this. However, this is currently a suggestion by him and we work with the developers to get this idea validated and eventually in the product. Since then you will have to create relations manually. Note however that in this ADF BC behaves like the EJB entities from table wizard that also can only look up dependencies if the table is part of the selection. In your case, you select a single table and the table has a FK to another table. However, the other table is not part of the selection so why would ADF BC want to create the key relation ship. Before you say, it could parse your project, let me add that related objects may be saved in ADF libraries, which means we would parse the class path, which may be a long time waiting for you for the IDE to get back to you. So this requzrement - though valid - needs a different approach in the wizards. Until then you will have to build it manually.
Frank

Similar Messages

  • IE11 office web components doesn't load at all

    I just installed IE11 on my windows server 2012R2 and my application seems to work fine perfectly. Except for the part where I use OWC components to display cubes.
    I have enabled all security settings, required for cubes. If I change the document mode to IE 7/8/9/10, it works perfectly fine. But in IE11 Edge mode, OWC components doesn't load itself. I just see a blank page.
    Is there any setting that I am missing. I have turned off the protection mode too. I am not sure is it the ActiveX that's not loading too. 
    Any ideas would be great.
    Thanks

    Hi nihirshah,
    I think this thread is specific to IE forum. This form is to discuss problems about CLR development. Please post a new thread on that forum for more effective response.
    http://social.technet.microsoft.com/Forums/ie/en-US/home?forum=ieitprocurrentver.
    Thank you for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can not see the menu of New Business Components Package in jdeveloper

    I am just follow the developer guide.
    and when I create the Business Components Package, the guide said that
    ========================================
    In the JDeveloper Navigator, select the OA Project where you want to create your package.
    From the main menu, choose File > New to open the New Object Gallery.
    In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
    In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
    =====================================
    In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
    I can only see the File/new/buisness tier/ADF Business Components.
    And can not find the "Business Components Package" under ADF Business Components either.
    I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
    And I create an OA Workspace and OA Project.
    can anyone help?

    James,
    Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
    --Shiv                                                                                                                                                                                                                                                                       

  • How to save a record with null foreign key?

    Dear all,
    Most articles show non-nullable foreign keys; but now I've got a problem with nullable foreign keys.
    With this simple example: an employee has zero or one manager.
    in manager object:
    @OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REFRESH}, mappedBy="manager")
    private Collection<Employee> employees;
    in employee object:
    @ManyToOne
    @JoinColumn(name="manager_id")
    private Manager manager;
    when updating an employee record, i may use a selectOneMenu to pass a manager id of "0", I expect toplink to save a null manager_id in the employee record; but i tries to create a new manager object of id="0" (i.e. insert a new manager record instead)
    the code i use to save an employee is like this:
    em.getTransaction().begin();
    em.merge(employee);
    em.getTransaction().commit();
    What's the correct way to save the employee record with a null manager_id column?
    Could someone help?
    Thanks a lot!
    AK

    But could you give me some pointers on how could I do
    that from the web UI level?Got it. You want to select "nothing" and then set the object reference to that. I can't help you on JSF but how do you lookup the selected object behind the scenes? If you use entityManager.(Employee.class, 0) then you should get back null if there is no Employee with id=0.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Table with n foreign key vs n tables or n foreign key vs 1 table?

    Hi,
    we have a scenario with n tables containing some attributes one table for one category of attribute (es: color, role, type, etc..) of a principal entity and 1 table for the principal entity with n foreign keys vs every attribute table.
    Some propose to create a unique table called attributes in which put every attribute with an attributetype for each record.
    My question is: the principal entity will have n foreign keys vs the same attribute table. Is this perfomant? which is the best solution?
    Thanks in advance.
    v.

    >
    we have a scenario with n tables containing some attributes one table for one category of attribute (es: color, role, type, etc..) of a principal entity and 1 table for the principal entity with n foreign keys vs every attribute table.
    Some propose to create a unique table called attributes in which put every attribute with an attributetype for each record.
    My question is: the principal entity will have n foreign keys vs the same attribute table. Is this perfomant? which is the best solution?
    >
    Ask those 'Some propose' how a foreign key to the 'same attribute table' will prevent the WRONG value from being used for a column.
    1. Principal entity has a column for 'color' and a column for 'role'.
    2. There are FKs on the 'color' column and the 'role' column that both point to the 'same attribute table'
    3. Legal values for 'color' are: 1, 2, 3
    4. Legal values for 'role' are: 10, 20, 30
    What prevents someone from updating the 'color' column to a value of 20?
    Ask those 'Some propose' how your one attribute table will store attributes that are of different datatypes.
    1. 'color' uses numbers: 1, 2, 3
    2. 'type' uses strings: 'type1', 'type2', 'type3'
    3. 'holiday' uses dates: 12/25/2013, 01/01/2014
    How do your 'Some propse' plan to store ALL of those values in one column? They are likely to say they will use VARCHAR2.
    Ok - so how do you keep someone from updating 'holiday' to a value of 'type2' or a value of '3'?
    You can't easily validate the data to begin with and you can't easily prevent 'dirty' data from getting into the system.
    You also can't easily explain to ANYONE, for example new developers, how to properly use and maintain the table.
    I haven't heard you mention even ONE potential benefit to doing things the way that 'Some propose'. So - DON'T DO THAT!

  • New DVI-standard doesn't fit with old Apple adapter

    I bought a new MBP i7 the last week and was very surprised when i noticed that the adapter i bought (Mini Display to DVI) doesn't fit with my old adapter (DVI to VGA). Apples new DVI-adapter us the DVI-D standard and that doesn't work well with teh DVI-I standard. When i talked with Apple and also with a Apple store they didn't know of any new DVI-standard and if there is an adapter (Mini Display to DVI-I). http://www.interfacebus.com/DesignConnector_Digital_Visual_Interface_DVIBus.html
    Is there anyone out there who know if it is possible to buy this Mini Display to DVI-I (Dual)?

    The Apple Mini-Displayport-to-DVI adapter is DVI-D because there is no analog signal emitted from the Mini-Displayport. The contacts the adapter lacks are the ones that would carry an analog signal, if there were any. If you want to connect your MBP to a device with a VGA input port, get a mini-displayport-to-VGA adapter.

  • Can i install snow leopard on my new macbook pro which came loaded with Lion?

    My new MBP came loaded with Lion. Can i install S.L. on it?

    Don't install a version of Mac OS X earlier than what came with your Mac

  • New Classic (120gb) Doesn't work with Pioneer Headunit

    I had an ipod video for three years and loved it. It got stolen so i was forced to buy a new classic 120gb. I have a pioneer headunit DEH P5000UB that played my old ipod perfectly. The new ipod always comes up with error 19 on the screen. I have talked with an apple support agent who said i needed to purchase an adapter cable, then i talked to an apple store and they told me to talk to pioneer, i talked to pioneer support and they told me the new Ipod classic does not work on their headunits... What can i do? Is there a cable i can buy or a setting i can change or do i have to return this pos and get a used ipod video.

    i talked to pioneer support and they told me the new Ipod classic does not work on their headunits... What can i do?
    If that's what Pioneer told you, then there's nothing you can do. You need to get an older iPod that works. Same with my Pioneer head unit (although not the same model as yours).
    do i have to return this pos and get a used ipod video.
    I'm curious to know why you think that the iPod classic is a "pos"?

  • New airport express doesn't work with Nintendo DS

    I just picked up a new Airport Express. The WEP setting doesn't seem to be standard. Instead it is this Transitional Security Network that doesn't work with the Nintendo DS or the Netgear WG511T card I have. Any ideas on how to get it to work?
    15" MacBook Pro 2.16GHz   Mac OS X (10.4.9)   7200 RPM HD

    yeah, the DS just ***** like that. Nintendo should have given it firmware upgradability.

  • Publish for Approval - the new plug-in - doesn't work with Leopard

    This aperture plug-in arrived for download just a few days before Leopard arrived. It worked great with Tiger. It doesn't work at all with Leopard. It appears that Leopard comes with a new version of Apache Server and it doesn't work with the Publish for Approval plugin. Does anyone know if and when an update will be released?

    I'm not seeing the Java plugin in the plugins list in the System Details list.
    Did you install the 32 bit Java version?
    Do you see the Java plugin in "Firefox/Tools > Add-ons > Plugins"?
    *https://support.mozilla.org/kb/Troubleshooting+plugins
    *http://kb.mozillazine.org/Java

  • Update query with multiple foreign key parameters

    I am trying to perform an update query on one field that uses multiple foreign key parameters from one table to update the other table. The data in all three foreign key parameter fields are not constant. Accuracy is absolutely critical. I tied this as well as other various scenarios with no success. Can anyone help?
    Update A_table a
    set a.rate = (
    select b.rate
    from B_table b
    where b.id = a.id
    and b.transdate = a.transdate
    and b.orgnum = a.orgnum
    and b.transdate = to_date('31/12/2007', 'dd/mm/yyyy')
    )

    I would check symbols by a user name and number of posts before calling anyone a hot shot, especially damorgon.<br><br>
    Yes version matters (due to bugs and features in each version).<br>
    DDL matters because of indexes and associations.<br>
    Data matters because it makes a difference on how SQL can be written.<br>
    Reasons why an SQL statement don't work is because we aren't looking over your shoulder at your screen.<br><br>
    damorgon did leave off his list that the best place for this question is on the PL/SQL, where they will ask you similar questions in addition to your explain plan and data volumes.

  • Air app doesn't load with renderMode set Auto

    Adobe Air app is not loading on my customer's Android device with renderMode set to Auto, while it works fine when renderMode set to GPU.
    I guess in Auto mode it tries to set it to Direct and fails.
    I'm using Adobe Air v3.6
    Android device is Polaroid PMID-971C
    Android version is 4.0.3
    Unfortunately, I have limited access to customer's device, but logcat shows the following:
    "Fatal signal 13 (SIGPIPE) at 0x00004de8 (code=0) adobe air"
    Any help or fix would be highly appreciated.

    From the docs that I could find (http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html), it appears that "auto" mode = cpu mode.
    The default value is auto, which currently falls back to cpu mode.
    Is this happening on multiple devices or just the one?  Any chance we could get access to your application to try it out?  If so, could you please open a new bug report on this over at bugbase.adobe.com?  If you'd like to keep your app/code private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.

  • Custom Skin: css of new skin in CRMCMP_IC_FRAME not loaded with changes

    Hi all,
    I have a quite frustrating issue.
    In accordance to SAP Note 1151944 - Skin Customizing not reflected in IC business roles I have created a new folder in the MIME's repository for my skin called default_agfa.
    the new css files have been added to the folder and changes to the color have been made...
    The page loads the css files from the correct folder as you can see in the page itself:
    <link type="text/css" rel="stylesheet" href="/SAP/BC/BSP/SAP/ZAS_AGFA_SKIN/*default_agfa*/thtmlb_stand.css" />
    <link type="text/css" rel="stylesheet" href="/SAP/BC/BSP/SAP/ZAS_AGFA_SKIN/default_agfa/thtmlb_visuals_stand.css" />
    <link type="text/css" rel="stylesheet" href="/SAP/BC/BSP/SAP/ZAS_AGFA_SKIN/default_agfa/thtmlb_IE7_stand.css" />
    <link type="text/css" rel="stylesheet" href="/SAP/BC/BSP/SAP/ZAS_AGFA_SKIN/default_agfa/thtmlb_IE7_IE8_ovr_stand.css" />
    <link type="text/css" rel="stylesheet" href="/SAP/BC/BSP/SAP/ZAS_AGFA_SKIN/default_agfa/thtmlb_IE7_visuals_stand.css" />
    <link rel="stylesheet" type="text/css" href="/sap/bc/bsp/sap/crmcmp_ic_frame/stylesheets/contextarea/*DEFAULT_AGFA*/crmcmp_ic_frame_contextarea.css" title="DEFAULT_AGFA" />
    <link rel="stylesheet" type="text/css" href="/sap/bc/bsp/sap/crmcmp_ic_frame/stylesheets/broadcast/*DEFAULT_AGFA*/crmcmp_ic_frame_broadcast.css" title="DEFAULT_AGFA" />
    I have already:
    - cleared physically the files from the IE (really manually removed the files).
    - via SMICM cleared the cache of the http server global in system.
    - set the client side expiration time of the css file to 1 minute.
    but it keeps on loading the original content. Whatever changes I make, it is just not reflected in the UI.
    Via the skin explorer I can do whatever change and this is shown immediately.
    Anyone an idea?
    KR,
    Micha

    HI Rohit,
    it was the Webdispatcher that cached the css files. After rebooting this, the issue was fixed.
    KR,
    Micha

  • New time capsule doesn't work with ethernet

    I'm using a new time capsule,for the first backup I'm trying to use ethernet but loose the data disc when wifi is turned off. The ethernet light is green on the time capsule and the computer ethernet is also giving a green; but no action without wifi; any ideas?

    Please open the network preferences and check that the ethernet has the correct IP from the TC and can get internet as well. Turn on ipv6 as this seems to be an issue in the new version.. it doesn't matter if it is only Mac to TC.. it seems to help.
    If you keep having issues.. reset the TC and make sure it has all naming following SMB type conventions..
    ie short, no spaces and pure alphanumeric.
    In the finder.. use go, connect to server.. and type in
    SMB://TCname
    Where you replace the TCname with the actual TC name you just gave it.
    Do a reset of TM and try again for location of the backup with the disk which should now be discovered.
    Tell us the point where you have issues if it fails.

  • Photoshop Product page doesn't load with IE, FF or Chrome

    So I order and pay for Photoshop CC. Get the email telling me how to Get Started. Get to the Download Center webpage, login, and
    - Internet Explorer takes me to a blank page https://creative.adobe.com/products
    - Chrome takes me to the product page. I click on Photoshop and I'm taken to an almost blank page https://creative.adobe.com/products/photoshop The only thing on this page are 3 links at the top of the page; Home, Download Center, Learn
    - Firefox does the same as Chrome.
    I'm going to _guess_ the Adobe website doesn't like one or more of my browser extensions. Please tell me I won't have to uninstall / disable extensions one at a time and try again and again to download PS CC.

    you can download directly.
    if you follow all 7 steps (especially steps 1,2 and 3), you can download here: http://prodesigntools.com/adobe-cc-direct-download-links.html
    and activate with your adobe id.
    if you have a problem (error message, unavailable page or you are offered a current adobe version), you did NOT follow the directions.
    the most common problem is failing to meticulously follow directions 1,2 and/or 3 which are needed to add an adobe.com cookie to your computer that allows you to download directly without using the akamai download manager.
    again, follow the directions and you'll have no problem.

Maybe you are looking for

  • Weblogic 10.3.0 Deployment error when using ejb-jar.xml

    Hi, I am getting the following error while deploying my EJB3 application on Weblogic 10.3.0. This is happening only if I include ejb-jar.xml. As per the EJB3 descriptor spec, Remote Home or Local home are not exists. Is this a issue in Weblogic 10.3.

  • How to send a word and excel attachments with a 8830

    I am trying to figure out, how I can send a new message with an attachment (doc or xls) from my media card using my 8830 . I have tried to compose a new message, tried to attach file option but cannot select the doc file on my media card or my blackb

  • Javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try again

    I am getting this exception , while my application is trying to send mails. The complete stack trace is below com.bp.ebus.downstream.util.ErrorLevelException: javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try again later at com.su

  • Problem with search method in AM called from JSP

    Hi, im trying to get the real value from an foreign key of a view, and i have been created a custom search method in the AM, but i got a problem, the search only get results the first time that is called, the next times gets null result : public Stri

  • How to manage the memory within this JNI code

    This is a piece of JNI code that i had written.......... i am calling these methods in a infinite loop to listen for changes...... if a change has occured it shpuld get changed. other wise not.... But the memory is allocated 4 bytes every second....