Editing business components

Hello guys, how can edit my business components ??
lets say i have added a new column to the table in database and i've made a new foreign key with another table, what is the best way to update these changes to my entities and view objects ?
am using JDev 12.c , thanks in advance ^^

right click on a business component package and select synchronize with db. This will add the missing column and new or changes rules to the EO. The updates to the VO you have to to by yourself (e.g. add column to VO).
And the new FK doesn't automatically result in new association or viewlink. These you have to do yourself.
If you have not written too much code you can delete the business components and create new ones from the tables again.
Timo

Similar Messages

  • StackOverflowError when editing business components files

    It says:
    Business components:
    Error invoking menu action:Edit <file name> and the following stack trace:
    java.lang.StackOverflowError
            at java.util.HashMap.get(HashMap.java:320)
            at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:126)
            at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:163)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)
            at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
            at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
            at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
            at java.net.URL.openStream(URL.java:1007)and so on.
    A couple of days ago I was still able to open those files. What has happened?
    Anyone knows how to fix this?
    It is not caused by an extension, that's for sure.
    Sascha

    Sascha,
    Could you follow up with Brian Duff with the requested information in this post:
    Re: BUG: 10.1.3 EA Window Closes When Dragged in the Editor
    Regards,
    Lisa
    JDev QA

  • Edit Business Components - need help

    Hi,
    I'm working with JHeadstart 10.1.2.0, UIX pages and I need some help from you.
    This is the situation: my AppModuleApplicationStructure.xml has 4 Groups and 3 levels, but now, I created one more EO and VO in my Model (Application Module), so I could get another Group in the AppModuleApplicationStructure.xml after I run the JHeadstart Application Generator. The problem is that after I run the JHeadstart Application Generator I can't get my new Group.
    How can I create another Group without starting a new project??
    Can anyone help me on this?? Do I really need to create a new project every time I need to make some changes in my Application Module??
    Please, anyone? Any ideias?
    Thanks,
    Atena

    You can add the new Group by hand. Edit your Application Structure, right-click on the "Service" (yellow) icon and choose Add Base Group.
    Eduardo

  • Not Saving Edit business components configration

    Dear All,
    i am trying to modfiy the jbo.ampool.sessioncookiefactoryclass to custom class value in jdeveloepr 11g p2 when i save and reopen jdeveloper displys original class which is oracle.jbo.common.ampool.DefaultSessionCookieFactory and discards new modfication.
    it looks like a bug.
    Any help will be appreciated.
    Thanks in Advance,
    Regrds,
    raky

    I had simply coiped company code from in01.
    after copied company code I am facing problem's like i had posted a few documents and I was trying to see that documents in fb03
    and doing drill down for line item display,
    system saying that data is not in system,
    it is showing me in fb03 but it is not showing in fb10n.
    Secondly, I am using taxinj and in ftxp
    I am trying to create tax code and putting tax percentage in tax code and save,
    if once again I see that tax code system is not saving tax percentage.
    any other clarifications plz ask
    regards.

  • Database objects not displaying in Business components wizard

    I am trying to create new entity object based on a table using Entity Object Wizard. But I dont see that the tables,views,sysnonyms enabled and also do not get the list of tables in the dropdown
    Following are the steps that I am following :
    1] in the navigator, have right-clicked and selected the "New Entity Object " Wizard Option.
    2] Entered the name and the package and in the schema object lov, do not see the list of all the tables at all and also the Database Schema is disabled.
    I have connected to the database from JDeveloper using database connections, but do not while creating an Entity object. Can you pls help me resolve this.
    Version of Jdeveloper is 11.5.10(CU3)

    Select your project in Jdev, right click and select "Edit business components project". In the new window check the value used for connection.
    --Shiv                                                                                                                                                                                                                                                                                                               

  • Business Components not available while using Model Configurator in ID

    Hi,
    In ESR:
    I created a ProcessIntegrationScenario PIS_myScenario (and completed with sender and receiver components, actions etc)
    In ID:
    I created and activated two BusinessComponents: BC_A and BC_B
    I created a new Configuration Scenario: CS_Test, and selected Type of ES Repository Model:"Process Integration Scenario".
    and launched "Model Configurator".
    Now in the step "Assign Components" i see a tab "Assign Business System Components for A2A Configuration" , in that for "Communication Component" value, when i tried to select from the value list, it is only showing the Business Systems and not the Business Components BC_A and BC_B.
    By using the "Model Configurator" how can we create scenarios using the "Business Components" instead of "Business Systems".
    as i am trying the test scenarios, i want to use Business Components, i.e business services in earlier versions.
    I also opened the Business Components BC_A and BC_B and added the corresponding inbound and outbound service interfaces in the receiver and sender tabs.
    after that also, the Business Components are not visible for selecting from within Model configurator.
    let us know if its possible

    thanks abhishek for your reply.
    as mentioned in the reference link given by you, i edited the Process Integration Scenario in ESR, i ticked the checkbox "External Party with B2B Communication", and activated.
    In ID, in Model configurator, i can now see and select the Business Components BS_A and BS_B.
    but when i try to generate the configuration objects, it says: Not Configurable: Component view only contains external application components.
    so cannot proceed with Model configurator with Business components, in my scenario.
    seems i need to use only Business Systems.

  • NO Links or Associations created with the "Business Components From Tables"

    Hello,
    I have a strange problem. I'm working on a Fusion Web Applicaiton. In the Model project, I try to create some Business Components from Tables with the help of the provided wizard.
    I select one of my IDE Connections, and I choose two of my tables as Entity Objects (*PATIENTS* and COUNTRIES - more details about them bellow), and also as Updatable View Objects. For Read-Only View Objects I select some other tables, afterwards I choose to create a default Application Module, and I press Finish without creating a Business Diagram. Everything works perfectly except of the fact that the wizzard has created everything but the Links and the Associations between my tables.
    To be more precise, COUNTRIES is a simple table, only two columns - ID and NAME, and PATIENTS has some columns like ID, NAME, ADDRESS, DATE_OF_ADMISSION, COUNTRY_ID, where COUNTRY_ID is a foreign key to the COUNTRIES table. Both columns, PATIENTS.COUNTRY_ID and COUNTRIES.ID are NUMBERs. I was expectig the wizard to create a Link and a Association for this foreign key constraint I have between this two tables.
    On the other hand, following one of the tutorials I've found, *"Developing RIA Web Applications with Oracle ADF"*, I've noticed that when I was creating Business Components from Tables based on the HR schema, all the Links and Associations were created as they were expected. I've also tried to create the same Business Components from Tables in my own project, and all the Links and Associations were in place. Somehow, it's not working for my particular schema (the one that contains PATIENTS and COUNTRIES).
    Is there something I do wrong? I've made sure that all the FK constraints are enabled, alive and kicking. From my point of view, the tables are working and behavig as they should, but I can't understand why that feature of automatically creating the Links and Associations works on the HR schema but not on mine.
    Please help!
    Bogdan.
    PS: I am using Oracle JDeveloper Studio Edition Version 11.1.1.1.0, Oracle SQL Developer Version 1.5.5, and Oracle 10g Express Edition installed on localhost.

    Hello John,
    Of course I can post the scripts.
    The schema name is "TEST". But you should know that there are some extra columns in the PATIENTS table, I've not mentioned before. As you can tell from the scripts bellow, the PATIENTS table has the following columns: ID (number), NAME (varchar2), COUNTRY (number), GENDER (number), ADMISSIONDATE (date), DIAGNOSTIC (number), FIRSTNAME (varchar2), SALARY (number). There are actually 3 FK constraints, I've only mentioned one for the simplifying the example. The first FK constraint is towards COUNTRIES, the second one is towards GENDERS, and the final one is towards DIAGNOSTICS. All this 3 tables have only two columns (ID as number, and GENDER as varchar2). I will post the scripts for all.
    Here is the output of the Export DDL to Clipboard from SQL Developer for the COUNTRIES table:
    CREATE TABLE "TEST"."COUNTRIES"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         CONSTRAINT "COUNTRIES_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "COUNTRIES_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."COUNTRIES_PK" ON "TEST"."COUNTRIES" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."COUNTRIES_UK1" ON "TEST"."COUNTRIES" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."COUNTRIES_TRG"
    BEFORE INSERT ON COUNTRIES
    FOR EACH ROW
    BEGIN
    SELECT COUNTRIES_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."COUNTRIES_TRG" ENABLE;
    Here is the same output for the GENDERS table:
    CREATE TABLE "TEST"."GENDERS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         CONSTRAINT "GENDERS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "GENDERS_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."GENDERS_PK" ON "TEST"."GENDERS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."GENDERS_UK1" ON "TEST"."GENDERS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."GENDERS_TRG"
    BEFORE INSERT ON GENDERS
    FOR EACH ROW
    BEGIN
    SELECT GENDERS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."GENDERS_TRG" ENABLE;
    Here is the same output for the DIAGNOSTICS table:
    CREATE TABLE "TEST"."DIAGNOSTICS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         CONSTRAINT "DIAGNOSTICS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "DIAGNOSTICS_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_PK" ON "TEST"."DIAGNOSTICS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_UK1" ON "TEST"."DIAGNOSTICS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."DIAGNOSTICS_TRG"
    BEFORE INSERT ON DIAGNOSTICS
    FOR EACH ROW
    BEGIN
    SELECT DIAGNOSTICS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."DIAGNOSTICS_TRG" ENABLE;
    And finally, here is the same output for the PATIENTS table:
    CREATE TABLE "TEST"."PATIENTS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         "COUNTRY" NUMBER,
         "GENDER" NUMBER,
         "ADMISSIONDATE" DATE,
         "DIAGNOSTIC" NUMBER,
         "FIRSTNAME" VARCHAR2(1000 BYTE),
         "SALARY" NUMBER,
         CONSTRAINT "PATIENTS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "PATIENTS_UK1" UNIQUE ("NAME", "ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "PATIENTS_GENDERS_FK1" FOREIGN KEY ("GENDER")
         REFERENCES "TEST"."GENDERS" ("ID") ENABLE,
         CONSTRAINT "PATIENTS_DIAGNOSTICS_FK1" FOREIGN KEY ("DIAGNOSTIC")
         REFERENCES "TEST"."DIAGNOSTICS" ("ID") ENABLE,
         CONSTRAINT "PATIENTS_COUNTRIES_FK1" FOREIGN KEY ("COUNTRY")
         REFERENCES "TEST"."COUNTRIES" ("ID") ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE INDEX "TEST"."PATIENTS_INDEX1" ON "TEST"."PATIENTS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."PATIENTS_PK" ON "TEST"."PATIENTS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."PATIENTS_UK1" ON "TEST"."PATIENTS" ("NAME", "ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."PATIENTS_TRG"
    BEFORE INSERT ON PATIENTS
    FOR EACH ROW
    BEGIN
    SELECT PATIENTS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."PATIENTS_TRG" ENABLE;
    If a complete DB dump would be more helpful, please let me know. I am willing to provide any details.
    Thanks for your support.

  • Where to learn ADF business components??

    hi,
    can you please share a link regarding about using adf business components references. any ebook or book titles would also be appreciated. :D
    regards,
    simon
    Edited by: 848858 on Apr 24, 2011 3:27 AM

    Also this book:
    http://blogs.oracle.com/grantronald/2011/01/learning_adf_and_jdeveloper_is_a_top_seller.html
    Regards
    Grant

  • Load Error - Business Components

    I created a project that has business components and when I close down JDeveloper and reopen I get the following message below
    More Information:
    We use a central objects and import them into each project that must use them. I am assuming that the issue is the projects are not seeing the central ADF Objects. But I would like to know how to Fix this without rebuilding everything all over again....
    JDeveloper Version: 10.1.3.0.4.3673
    Enviroment: Creating ADF Client ( Swing ) Application
    Error Messages:
    Object prices.phoenix.conformity.adf
    Project: xxx
    The following object refeered to object that could not be found:
    Prices.phoenix.conformity.adf.CProductOfferView
    Could not find the following objects:
    Prices.phoenix.dbo.Banner
    Stack Trace:
    [ pre]
    oracle.jbo.dt.objects.JboException: The following object(s) referred to
    objects that could not be found:
    prices.phoenix.conformity.adf.C_ProductOfferViewEx
    Could not find the following referenced object(s):
    prices.phoenix.dbo.Banner
    at
    oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
    at
    oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.jav
    a:1397)
    at
    oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
    at
    oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2
    555)
    at
    oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
    at
    oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
    at
    oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.ja
    va:440)
    at
    oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
    at
    oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.jav
    a:943)
    at
    oracle.adf.dt.providers.BC4JDataControlProvider.createDataControls(BC4JD
    ataControlProvider.java:153)
    at
    oracle.adf.dt.providers.BC4JDataControlProvider.addControlsToArrayList(B
    C4JDataControlProvider.java:98)
    at
    oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.j
    ava:129)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:50)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:35)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:30)
    at
    oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
    lsTreeModel.java:25)
    at
    oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(Data
    ControlsTree.java:81)
    at
    oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at
    oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSp
    ace(DataControlsTree.java:76)
    at
    oracle.adf.dt.dbpanel.DataBindingPanelTree.dataControlSetChanged(DataBin
    dingPanelTree.java:115)
    at
    oracle.adf.dt.DataControlManager.notifyDataControlSetChanged(DataControl
    Manager.java:54)
    at
    oracle.adf.dt.dbpanel.DataBindingPanel.populateTreeIfNecessary(DataBindi
    ngPanel.java:99)
    at
    oracle.adf.dt.dbpanel.DataBindingDockeableWindow.dockableShown(DataBindi
    ngDockeableWindow.java:140)
    at
    oracle.ide.docking.DockableWindow$ShowHideTranslator.dockableShown(Docka
    bleWindow.java:68)
    at
    oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
    .java:961)
    at
    oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
    .java:1001)
    at
    oracle.ideimpl.docking.TitledPanel.fireDockableShown(TitledPanel.java:62
    7)
    at
    oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:828)
    at
    oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:758)
    at
    oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:745
    at
    oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:738
    at
    oracle.ideimpl.docking.TitledPanel.loadVisibilityLayout(TitledPanel.java
    :1799)
    at
    oracle.ideimpl.docking.DockPanel.loadVisibilityLayout(DockPanel.java:200
    at
    oracle.ideimpl.docking.AbstractDockPanelHost.loadVisibilityLayout(Abstra
    ctDockPanelHost.java:94)
    at
    oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:14
    08)
    at
    oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1
    353)
    at
    oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java
    :36)
    at oracle.ide.layout.Layouts.activate(Layouts.java:758)
    at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
    at
    oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
    at
    oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
    d.java:242)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
    java:163)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    [ /pre]
    Message was edited by:
    cchobanik
    Message was edited by:
    cchobanik
    Message was edited by:
    cchobanik

    Just to let everyone know the issue is a result of this error:
    Compile Errors
    Cory

  • Customizing Business Components Error Messages sample

    hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
    i have created the two class and one of them
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="view" ClientType="Generic"
                 ErrorHandlerClass="view.CustomErrorHandler"
    what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step  implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
    Edited by: adf009 on 2013/03/20 2:44 PM

    is not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
    this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
    import java.util.ListResourceBundle;
    public class CustomMessageBundle extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "UAM_ORGUSERSLINK_PK",
                               "Hello, The user Already Belong to this organisation" }, };
        /**Return String Identifiers and corresponding Messages in a two-dimensional array.
        protected Object[][] getContents() {
            return sMessageStrings;
    i have follow steps in the sample
    am geting this log error,instead of geting my error message
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at 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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at 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:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         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:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         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:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
         at OrgDetails.onRowCreate(OrgDetails.java:2057)
         at OrgDetails.addMember(OrgDetails.java:1978)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 morehi can anybody help me please
    Edited by: adf009 on 2013/03/26 4:59 PM

  • Integrating ADF Business Components from heterogenous data sources

    Hi all,
    has anybody experience in integrating ADF Business Components from heterogenous data sources like ViewObjects from a DB2 database as LOV in a ViewObject from a Oracle 11g?
    What is the best practice approach to integrate such different ADF Business Components in declarative and programmatic ways?
    Thank you!

    thank you for the answer! We already updated out BC according to http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    The DB2 ViewObjects are exported as ADF Libraries and imported in the BC of the project with Oracle DB ViewObjects. In the root AM I created instances from the imported DB2-ViewObjects as well as from the Oracle-ViewObjects, but when I start AM test environment it takes the preconfigured Data Source of the root AM. So I probably will pesneed to create two AMs for the different ViewObject types and for the two connection types. My question is what will be best practices to use data from the DB2-VO of AM_DB2 in the OracleDB-VOs as part of AM_Oracle? Should it be done only programmatically or can it be done also declaratively and any suggestions how to proceed?
    Thank you!
    Edited by: nbo on Jun 3, 2012 2:53 AM

  • Refresh ADF Business Components

    I create view(ADF business components) with my sql statiment
    select e.*,d.* from scott.emp e, scott.dept d where e.deptno=d.deptno
    on my first page JSP I drop ReadOnly table
    on my second page JSP i drop InputForm for edit.
    and so
    I run my project, on first page have the button "Edit" which is bound my JSF Navigation Case with second page.
    I try edit emp.DeptNo and commit change. When I back on first page i see that emp.DEPTNO changed but dept.DNAME not changed.
    How I can refresh my first page that see all changed?

    Hi Frank!
    I use JDeveloper 10.1.3 EA1.
    I Create Application through Application Template (Web application [Default] -
    This application template is configured for building a data-bound web application. It consists of one project for the view components (JSF, JSP) and controller (JSF), and another project for the data model (ADF Business Components))
    I create page through faces-config.xml.
    I create JSPX page. Then I Drag and Drop my VO from Data control palette.
    My CommandButton from ADF Faces core from Component palette.

  • Error loading business components

    Hi,
    When I start JDeveloper I get message "Error loading business components".
    Does it have any impact on further activities ?
    How to correct this ?
    Mark

    I have similar problems in latest JDev 10.1.3 update 3.
    In JDeveloper 10.1.2 this happened on VO based on entities from different packages.
    In this version it seems to happen after the garbage collection does its job (I'm supposing).
    What's more annoying is that in JDev 10.1.2 I had a workaround (open a simple VO when entering the IDE) and even when the error occured, you could stll enter all model component and their classes in edit mode.
    In JDev 10.1.3 it's a blocking error, ALL model components become read-only + their classes (EntityImpl) are NOT reachable and the Data component palette is unusable??
    The only workaround is to reopen the IDE??
    Thanks
    Fred

  • Oracle Objects / Domain / Business Components JSP App

    Hi,
    I use JDev 3.1 with Oracle 8.1.6
    I would like to customize a Business Components JSP Application to be able to edit or add new row of a table containing one or more columns of type Object; like this :
    create or replace type O_VALUE as OBJECT
    TYPE_VALUE NUMBER,
    STRING_VALUE VARCHAR2(30),
    FLOAT_VALUE NUMBER(10,2),
    BOOL_VALUE NUMBER(1),
    INTEGER_VALUE NUMBER(10)
    create table T_VALUE (
    ID_VALUE VARCHAR2(20),
    MIN_VALUE O_VALUE,
    MAX_VALUE O_VALUE
    I have created a domain for the type O_VALUE to incorporate in the entity created for T_VALEU by the wizard.
    Is there a Wizard for editing an attribute of type Object of an entity ? If not how programmaticaly do that ?
    Thanks a lot...

    You can use the DataTags to display/edit objects types. In our next release we will update the DataWebBeans to support this.

  • Business components based on Oracle views

    I am trying to create business component objects in a master-detail relationship based on Oracle views rather than on the underlying tables. The wizard does not create associations or links since the views have no foreign keys. I created the associations and links myself, but I am unable to add them to the data model. I am using the beta v5.0, but I had the same problem in v3.23. Can anyone help?
    Thanx in advance
    null

    Here are the steps I just tried with JDevi 9i Beta:
    [list]
    [*]SQLPLUS SCOTT/TIGER
    [*]CREATE VIEW DEPT_VIEW AS SELECT * FROM DEPT;
    [*]CREATE VIEW EMP_VIEW AS SELECT * FROM EMP
    [*]On my workspace: Right-mouse / New / Empty Project
    [*]On my new project: Right-mouse / New Business Components...
    [*]Next, to the connection panel
    [*]Set the connection, and next
    [*]Pick a package name and next
    [*]Tick the [x] Views checkbox, and select EMP_VIEW and DEPT_VIEW
    [*]Uncheck the "View Objects and View Links" box, since we don't want these created automatically.
    [*]Click (Finish)
    [*]In navigator, select my "DeptView" entity and edit it (the view is called "DeptViewView").
    [*]Click on the "Attributes" tab
    [*]Select "Rowid" in the attribute list
    [*]Click the (Remove) button
    [*]Select the "Attribute Settings" tab, and select the "Deptno" attribute.
    [*]Check the [x] Primary Key checkbox for "Deptno"
    [*]Click (Ok).
    [*]Repeat steps above on "EmpView" entity to remove Rowid attribute and make "Empno" attribute the primary key. (NOTE: Since views don't have constraints, we couldn't detect the primary key constraint, so we default the ROWID to be the primary key in the wizard).
    [*]In navigator, select my "DeptView" entity, and right-mouse / New Association...
    [*]Using the wizard I create a association based on the "Deptno" attribute, and with a 1 to many cardinality.
    [*]I right-mouse on "DeptView" entity and select New Default View Object... to create the "DeptViewView" view object.
    [*]I right-mouse on "EmpView" entity and select New Default View Object... to create the "EmpViewView" view object.
    [*]I right-mouse on the DeptViewView view object and select New View Link...
    [*]I create a new view link between DeptViewView and EmpViewView
    [*]On the "Source Attributes" panel, I select the "Dept2Emp" association I created above, and click the ">" to shuttle it to the selected list.
    [*]Click next and notice that by selecting the association, it automatically picked the right attributes for both sides for the view link automatically.
    [*]click next, then (Finish)
    [*]I right-mouse on my package and select New Application Module...
    [*]On the datamodel panel, I see a tree view of "Available View Objects like this:
    + Project 3
    |
    +---[-] Package3
    |
    +---[SQL] DeptViewView
    | |
    | +--[SQL] EmpViewView via MyViewLink
    |
    +---[SQL] EmpViewView[*]I select DeptViewView in the available list and click ">" to shuttle it to the selected list in my data model
    [*]In the SELECTED list, I select the DeptViewView that I just added, to make it the current view in the selected list.
    [*]Back in the available list, I select the "EmpViewView via MyViewLink" and shuttled it to the selected list as a detail of the current view in the selected list.
    [*]I click finish
    [*]I right-mouse on my AppModule and select "Test..." to build and test my appmodule.
    [*]I click (Connect) on the tester start page
    [*]In the tester, I right mouse on "MyViewLink" and select "Show".
    [list]
    After these steps, I see data correctly.
    null

Maybe you are looking for

  • Populating the custom segments for the Basic type attached to HRMD_A (IDOC)

    Hi, I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI. Here are the steps I followed. Step 1 :(we31) We created new segment Z1IT023 , containing all the fields from infotype 0023 alo

  • Packages in apps

    Hi, I am a developer new to apps. Where do I find any info about packages and what they do in apps. Thanks........................................................

  • Uploading file - unicode file type gives error

    Hello, I am trying to upload an xml file. If the file is of ASCii format I can import this file ,but if the file format is changed to unicode or utf-16 I get sax parser error. I noticed one thing though,ascii file seems to appear in this format <?xml

  • Zebra printer configuration in SAP 4.6C

    Hi, I am trying to print in Zebra printer (Model Zebra 200Dpi), but output is not coming in printer. However the spool/output requests are having status as 'completed'. Still the output is not coming in the printer. Printer Configuration Details: 1.

  • Synchronization of song ratings doesn't work anymore (itunes 11.1)

    Dear support community Yesterday I synchronized my iPhone 4 with my iMac. Usually that works fine - I use autosync for music and apps and so far all song ratings which I made on the iPhone were transfered to the Mac with no issues. (e.g. I rate songs