Business Components Diagram in Jdev 10.1.2

Hi,
I have migrated code from Jdev 9.0.4 to Jdev 10.1.2,
While doing reverse engineering (Generating BC Diagram) I am getting following error, Can anybody help me in understanding this.
Message
BME-99003: An error occurred, so processing could not continue.
Cause
The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
java.lang.NullPointerException
     at oracle.bm.diagrammer.registry.RBaseShape.setDefaultCore(RBaseShape.java:379)
     at oracle.bm.diagrammer.shape.BaseDiagramShape.initProperties(BaseDiagramShape.java:505)
     at oracle.bm.diagrammer.shape.BaseDiagramShape.initShape(BaseDiagramShape.java:383)
     at oracle.bm.diagrammer.shape.BaseDiagramNode.initShape(BaseDiagramNode.java:318)
     at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:5120)
     at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:5051)
     at oracle.bm.diagrammer.BaseDiagram.createShapesFromInfo(BaseDiagram.java:4121)
     at oracle.bm.diagrammer.registry.RCompositeDiagram.dropList(RCompositeDiagram.java:1224)
     at oracle.bm.addinUtil.IDEAppContext$14.run(IDEAppContext.java:4304)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
     at oracle.ide.controls.progress.AbstractProgressDialog.dispatchThisEvent(AbstractProgressDialog.java:535)
     at oracle.ide.controls.progress.AbstractProgressDialog.showDialog(AbstractProgressDialog.java:387)
     at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(IDEAppContext.java:4401)
     at oracle.bm.addinUtil.IDEAppContext$12.run(IDEAppContext.java:4030)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Action
If further errors occur, you should restart the application.
Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
Thanks,

Does modifying the
Connection Retry Setting connect the debugger.
http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/compiling_debugging/f1_deb_projset_debugwin.html

Similar Messages

  • Business Components diagram to Database Diagram AUTOMATICALLY Please.

    Hello,
    We are using Jdev 10.1.2 and we have a beautiful business components diagram with all the entities and associations and would like to generate automatically a database diagram from that beauty, without effectively creating the tables. We wish to have a look at the data definition language script to be sure that we get what we expect, when we generate the tables.
    Does anyone have any idea how to proceed ?
    Thanks a lot for your co-operation.
    Peace and Love to all of you !!!
    Jacques

    Jacques,
    In JDeveloper 10.1.2, you will need to generate tables from your Entity Objects to the database first and then either drag and drop the tables from the Connections Navigator to the diagram, or import them to the Offline Database, and then drag them to the diagram from the Applications Navigator.
    We are working on better integration between Business Components and the Offline Database/Database Modeling in future versions of JDeveloper.
    - John.

  • BUG 10.1.3 EA -- BME-99003 in Business Components Diagram with imported EOs

    Following a hands-on exercise in the Oracle JDeveloper 10g Handbook (pages 343 - 345):
    -- Create new application workspace, say HRApp, using default Web Application Template.
    -- Edit Model project properties to create new library with classpath that points to business domain objects in a project folder from a different workspace.
    -- Import the Business Components from the other project's folder, say "businessdomain.xml".
    -- Create a BC Diagram in the Model project of the HRApp application.
    -- Create a new View Object in the BC Diagram by dragging from Component Palette, rename to "JobsView".
    -- Drag entity object representation from new library, say "Jobs.xml" onto View Object.
    -- See error message below.
    Johnny Lee
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jbo.dt.modeler.diagram.dropHandler.BC4JXMLDropHandler.processObjects(BC4JXMLDropHandler.java:82)
         at oracle.bm.addinUtil.IDEAppContext$4.performAction(Unknown Source)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(Unknown Source)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext$5.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    We have not been able to reproduce the exact same error, there would be a problem if we were trying to write to the library file, as those objects are read only, of course. Can you tell me, the entity object that you are referencing, has it ever appeared on a diagram? An easy way to tell, if you don't know is by looking at its XML file and see if it has an ID=some long string entry.

  • Enhance Req: Business Components Browser close data viewer

    Hi JDev team
    Regards the Business Components Browser in JDev 11g TP with an open data viewer. To close the data viewer you need to right click on the tab then select Close.
    Can you raise an enhancement request please for a 1 click close facility, such as floating the mouse over the tab, an X button appearing in the right side of the tab, which with 1 click closes the tab.
    Thanks,
    CM.

    Filed ER# 6121756
    Thanks

  • Databased diagram and business components

    Hi,
    I am using Jdev release 1 (11.1.1.3.0) to create a database diagram out of the BC entities. I would have thought that as long as i had specified ERD notation, my diagram would not look like UML based one (.e.g associations without crawfoot etc)., but it does.
    Can someone please confirm.
    Thanks,

    What are the Business Packages have to deploy?
    In portal side you need to deploy the below packages.
    ->  BP ERP05 ESS 1.41
    ->  BP ERP05 MSS 1.51
    ->  BP ERP05 COMMON PARTS 1.51
    -> BPERPESSWDA1.50
    ->  BP MSS ADDON 1.0
    -> BP Recruiter
    -> BP Recruiter Administrator
    If you want implement TMS applications then you required below BP's
    ->  BP ERP TMS 1.51              
    ->  BP ERP05 TALENT DEV 1.01
    And the components should be SP level compatibility with SAP ECC system
    -> SAP ESS
    -> SAP MSS
    -> SAP PCUI_GP
    What are the Business Functions have to deploy?
    You need to activate the below BF's in ECC HR system
    HCM_ESS_CI_1
    HCM_ESS_WDA_1 
    HCM_ESS_WDA_2
    HCM_MSS_WDA_1
    HCM_MSS_WDA_2
    FIN_TRAVEL_1
    FIN_TRAVEL_2
    FIN_TRAVEL_3
    HCM_ASR_CI_1
    HCM_ASR_CI_2
    HCM_ASR_CI_3
    HCM_ECM_CI_1
    HCM_ECM_CI_2
    HCM_LSO_CI_1
    HCM_LSO_CI_2
    HCM_LSO_CI_3
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_PD_UI_1
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    CA_HAP_CI_1
    HCM_OSA_CI_1
    HCM_OSA_CI_2
    HCM_TMC_CI_1
    HCM_TMC_CI_2
    HCM_HCP_CI_1
    HCM_ECM_CI_2
    HCM_ERC_CI_4
    HCM_PD_UI_1
    FIN_CO_MSSBUA_NWBC
    FIN_REP_SIMPL_1
    ERP_ENTERPRISESEARCH
    What are the Business Components have to deploy?
    In ECC side import the addon components based on your system component levels.
    MSS Addon 1.0
    ERECRUTIMENT

  • JDev 10.1.3.3 - issues with imported Business Components

    Hi,
    I have got some issues with importing Business Components in JDev 10.1.3.3.
    I cannot discover/use the imported components.
    What I did is the folowing:
    1. In a existing project I extended the default base-classes to create our own layer
    2. created a project called ModelShared
    2a. configured the project to use the base-classes I created in step 1
    2b. created an entitybased-viewobject (RefCodesByDomain)
    2c. created bc deployment-descriptors
    3. created a project called RelatieModel in the same workspace as ModelShared
    3a. added dependencies to the deployment-descriptors as well as the project created in step 2
    3b. configured the project to use the base-classes I created in step 1
    3c. imported business components
    Although I did not recieve any errors during the import of business components, I am unable to add the vo (RefCodesByDomain) to a service.
    I do see the package which contains the vo but is has no entries.
    Importing the business components to a new BC Project in a seperate workspace did succeed (I could reuse the vo).
    I tested a little further and the folowing occurred:
    4. I created a new vo in the ModelShared Project
    5. I deployed the ModelShared
    6. Restarted JDeveloper
    7. Got the folowing error message in the console window when expanding a service in my datacontrol pallette:
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    1-sep-2008 13:23:27 oracle.adf.dt.controls.DataControlsTreeWillExpandListener treeWillExpand
    FINER: THROW
    java.lang.NullPointerException
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.init(JUDTViewReferenceAccessorDefinition.java:108)
            at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.<init>(JUDTViewReferenceAccessorDefinition.java:98)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.createViewObjectDefinition(BC4JDataControlDefinition.java:228)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.addViewObjects(BC4JDataControlDefinition.java:208)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.loadStructure(BC4JDataControlDefinition.java:110)
            at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.getStructure(BC4JDataControlDefinition.java:407)
            at oracle.adf.dt.controls.treemodel.jsr227.JSR227DataControlTreeNode.loadChildNodes(JSR227DataControlTreeNode.java:129)
    8. In my other "fresh" bc project I was able to use the newly created vo.
    9. When I added a VO to my shared project, all projects that are refering to the shared project loose their vo's in the data-controlpannel
    Do you have any suggestions?
    Regards,
    Romano

    Hi,
    since this appears to be a WebCenter related issue, I suggest to try the Webcenter forum WebCenter Portal or to log a bug
    Frank

  • Deploying Business Components as CORBA objects in JDev 3.0

    I have two JDeveloper 3.0 projects: a "server" project
    containing business components generated from my Oracle8i schema
    using the wizards, and a "client" project containing an Infobus
    application that uses the business components. I have
    successfully deployed these locally and have now tried to deploy
    the "server" application module as a CORBA object in my Oracle8i
    schema (I have successfully deployed and used the "HelloCORBA"
    tutorial CORBA object).
    When I test my deployment using the Business Component Tester,
    however, I get the following messages:-
    javax.naming.NameNotFoundException
    Nothing bound for specified name.
    Has anyone any idea what I might be doing wrong? I haven't.
    Howard
    null

    Howard,
    Make sure that the JNDI path in the tester is correct.
    The following steps might help you out:
    1.Determine the JNDI path for your CORBA object. You can check
    this in the deployment profile(choose 'Properties' from the
    context menu of the .prf file in the 'deployment' folder. Also,
    you can browse your connection (double click on the connection
    in the 'Connections' folder) to determine the exact path for
    your object.
    2.In the 'Connect' pane of the Tester
    -choose 'Oracle8i' as the 'Middle Tier Server Type'
    -choose the appropriate IIOP connection
    -Make sure that the JNDI path is correct
    This should get it working...
    Please let us know if you have any questions.
    Howard (guest) wrote:
    : I have two JDeveloper 3.0 projects: a "server" project
    : containing business components generated from my Oracle8i
    schema
    : using the wizards, and a "client" project containing an
    Infobus
    : application that uses the business components. I have
    : successfully deployed these locally and have now tried to
    deploy
    : the "server" application module as a CORBA object in my
    Oracle8i
    : schema (I have successfully deployed and used the "HelloCORBA"
    : tutorial CORBA object).
    : When I test my deployment using the Business Component Tester,
    : however, I get the following messages:-
    : javax.naming.NameNotFoundException
    : Nothing bound for specified name.
    : Has anyone any idea what I might be doing wrong? I haven't.
    : Howard
    null

  • Possible Bug: Business Components and packaging preferences

    I'm using JDev 11g TP2
    When I set up package preferences for business components, it is completely ignoring the package I setup for the Entity object.
    Example:
    From the menu Tools>Preferences
    Under the section Business Components>Packages.
    I set the following:
    Business Component: left blank - it uses the default [prefix].model
    Entity: entity
    Association: entity.association
    View Object: view
    View Link: view.links
    the rest have been left at default settings.
    Then I create a new diagram so I can add existing database tables to the application. I drag and drop the selected tables from the application resources to the diagram. It creates the entity objects in the [prefix].model package, not the [prefix].model.entity package like I was expecting. However the associations get created correctly in the [prefix].model.entity.association package.
    Is this possibly a bug, or just a training issue for me?
    Thanks

    No worries Ric. Unfortunately I don't have access to your latest builds but I'll still raise the issues in case they are relevant.
    Regards,
    CM.

  • 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 use an existing data model using Business Components in OEPE

    I am a beginner in ADF. I am working on a project with an existing data model that uses Business Components (EO, VO and AM). I know that OEPE does not handle the creation of BC, so if I want to modify them, I will have to do that in JDev. That's fine.
    OEPE can create pages with drag and drop like in JDev. In my eclipse ADF projects, I would like to use the existing BC, to be able to use the bindings with ADF Faces. So far I have nothing in the Data Controls tab.
    How to import the BC into the Data Controls tab?
    JDev 11.1.1.6
    WLS 10.3.6
    Eclipse Kepler

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • 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.

  • JBO-25001 Business Components Error

    Hi to all,
    I am experiencing some VERY STRANGE behaviour in JDeveloper ADFBC.
    I am using Jdeveloper 10.1.3.1.0.3984 to build an application using ADF and Business Components.
    I have four tables, JAAS_USERS, JAAS_ROLES, JAAS_REALMS and JAAS_MAPPINGS. The only associations are that JAAS_MAPPINGS have JAAS_USERS_ID, JAAS_ROLES_ID and JAAS_REALMS_ID.
    I created my entities (package: datamodel.entities) and i have specified that JAAS_USERS entity use a DBSequence for USER_ID. Please note that i included control hints for every entity.
    Then i created my first view (package: datamodel.views), called JaasUsers
    that simply selects all attributes of the entity.
    I then created an application module (package: datamodel) and i included the view. When i test the application module everything is fine!
    I created a jsf and i dragged the view as a table -> read only table and everything was fine.
    I then run the page and again everything is fine.
    I then realized that i needed to change the control hint for some columns. Instead of changing the control hint of the entity (JAAS_USERS) i changed the object view (JAAS_USERS).
    From this point and on NOTHING WORKS!!!!!!!!!!!!!!!!!!!
    Here is the error message:
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.110255D7D2E) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.NameClashException) JBO-25001: Name JaasMappings of object type Attribute already exists
    Please help me becuase i don;t know hot to fix this BUG!

    Hey ppl , I got an exact similar error when trying to migrate from a 10g R2 to R3 version in Jdeveloper. Quite irritating this error,
    Well i guess most would have figured this out , but for benefit of all , theres a slightly easier way to tackle this ( JDEV Release 3)
    in the Application Navigator view Double click your Association , within association properties un-check your expose accessor checkboxes for both the source and destination .Apply changes and do a compile. If it is required , jdev will throw an error. Simply follow the process again and check the Expose accessor boxes again. This solves the problem most of the time.
    Main advantage being , you can avoid the tedious task of manually changing the xml information on Notepad or the kind.
    Hope this helps....

  • What are ADF Business Components??

    ADF BC is running in my mind
    Can anyone tell what do they look like??
    are they different from any of the components which we develop such a EJB or any JSF components??
    revert back ASAP

    ADF Business Components is enhanced in 11g, but it is production now in JDeveloper/ADF 10.1.3.
    The ADF Learning Center [http://www.oracle.com/technology/products/adf/learnadf.html] has our latest resources for enterprise 4GL Developers getting started with Oracle ADF. This includes the complete ADF Developer's Guide for Forms/4GL Developers [http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html], a companion sample application [http://www.oracle.com/technology/products/jdev/samples/srdemoadfbc.html], and a companion step-by-step tutorial [http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/10131/index.htm].
    To complement the free Developer's Guide from Oracle, you might be interested in the Oracle Press title Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF [http://www.amazon.com/Oracle-JDeveloper-Forms-SQL-Developers/dp/0072259604].
    There is an instructor-led course for Oracle ADF For Forms/4GL Developers [http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D18384GC10&p_org_id=1001&lang=US&source_call=].
    Potentially of interest to any former Oracle Forms or Oracle Designer user is the additional Oracle JHeadstart for ADF [http://www.oracle.com/technology/consulting/9iServices/JHeadstart.html]extension for JDeveloper. This is a complete web-tier page generation solution that has its own step-by-step tutorial [http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html?_template=/ocom/technology/content/print] so customers can evaluate whether it might benefit their developer productivity. The JHeadstart Features/Benefits document is here [http://www.oracle.com/technology/consulting/9iservices/JHeadstart%20White%20Paper.pdf] (pdf).
    The OTN J2EE for Forms Devs [http://otn.oracle.com/formsdesignerj2ee] home page has additional resources of particular interest to Oracle Forms developers.
    Last but not least, the JDeveloper OTN Discussion Forum JDeveloper and ADF is a great resource to ask JDeveloper/ADF questions of your peers and Oracle employees working on/with the technology.
    Hope this helps

  • 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

  • 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

Maybe you are looking for

  • Partition External HD to store large files

    Can I partition my WD My Book for Mac external hard drive so that I can place large files such as movies from my Macbook Pro, to the newly created partiton on the external HD, then delete it off my MacBook Pro? I assume I would need to format it Mac

  • Install failed and now computer won't reboot!

    Hi there, I have tried to install the snow leopard 10.6.3 update CD on my Mac and I was told it failed and that I needed to restart - however, I hit restart and I get the start-up chime and apple logo on white with spinning gear underneath, but that'

  • Pricing error (Message no. VF073) Accounting Document not generated

    Dear All, User has entered delivery quantity as 0.00 in one of the line item (007) without material description in vl01n and saved. Invoice number has also been generated. Because of Pricing error for the line item( 007) Accounting Document is not ge

  • Web Service Using SSL issue

    I have a web service that has been working fine using http. Just switched over to SSL using the <WLHttpsTransport> tag on the jwsc ant command. Now I get the following error at runtime: Any ideas/suggestions? Thanks in advance - Craig 16:22:27,953 IN

  • Prompts Issue

    I have two prompts from same table say on column A and B and B is constrained on A both are drop down and multi select when I select a value in A and B it shows no data for specified criteria but. when I select a value in A and click apply it will sh