Intermittent bug: Business Components from Tables wizard exception

Hi JDev team
Just to flag an exception I periodically get in JDev 11g TP with the Business Components from Tables wizard, once I've pressed Finish in the wizard:
java.lang.NullPointerException
     at oracle.jbo.dt.ui.pkg.PKEntityThread.createRelatedViewLinks(PKEntityThread.java:1085)
     at oracle.jbo.dt.ui.pkg.PKEntityThread.createTableViews(PKEntityThread.java:966)
     at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:424)
     at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:454)
     at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:396)It is raised when the dialog displays showing the work JDev is doing after completing the wizard to create my business components.
I'm not able to consistently reproduce this issue, though I've encountered it several times. Don't quote me, but it appears to happen the first time I use the wizard in a new JDev session, but is not reproducible again in the same session. However it doesn't always happen when I restart JDev and I'm sorry I can't be more precise.
Hopefully the exception trace will give you enough information to track this issue down.
Regards,
CM.

Hi Ric
Unfortunately not really, it's a basic schema we use to test new software. One unusual thing is a hierarchical fk on the same table. But as I said the exception doesn't always occur, but annoyingly does seem to occur when I'm demoing the 11g TP version to clients. I was just hoping the stack trace would help out.
I'll keep an eye on it and if I can work out why it's occurring I'll update this post.
Thanks for following this up.
Cheers,
CM.

Similar Messages

  • Error While Create Business Components From Tables Wizard -- need help asap

    Hi , i have created a view and while create Business Components through wizard for that view i am getting following error.
    ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
    NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
    very urgent.
    Regards
    bhanu prakash

    thanks shay .
    Jdeveloper version :: 10.1.3.1.0
    view Syntax is :
    SELECT
    oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
    oh.cust_po_number customer_po,
    ol.flow_status_code status,
    ol.shipping_method_code carrier,
    ol.ordered_item item_no,
    nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
    nvl(mtl.description , 'na') description,
    nvl(org.organization_name , 'oak park') ship_from,
    hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
    nvl(ol.promise_date, sysdate) promised_date,
    nvl(ol.ordered_quantity, 0) order_quality ,
    xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
    nvl(ol.shipped_quantity, 0) shipped_quality ,
    ol.order_quantity_uom uom,
    hp.party_name customer_name,
    jrs.name sales_person_name,
    0 refer
    FROM
    oe_order_headers_all oh,
    oe_order_lines_all ol,
    hz_cust_accounts hca,
    hz_parties hp ,
    hz_cust_site_uses_all hcsu,
    hz_cust_acct_sites_all hcas,
    hz_party_sites hps,
    hz_locations hl,
    org_organization_definitions org ,
    mtl_system_items_b mtl ,
    jtf_rs_salesreps jrs
    WHERE
    oh.header_id = ol.header_id and
    oh.org_id = ol.org_id and
    oh.sold_to_org_id = hca.cust_account_id and
    hca.party_id = hp.party_id and
    hcas.cust_account_id = hca.cust_account_id and
    hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
    hcas.party_site_id = hps.party_site_id and
    hps.location_id = hl.location_id and
    hcsu.site_use_id = oh.ship_to_org_id and
    hcsu.site_use_code = 'SHIP_TO' and
    org.organization_id = ol.ship_from_org_id and
    org.organization_id = mtl.organization_id and
    ol.inventory_item_id = mtl.inventory_item_id and
    ol.ship_from_org_id = mtl.organization_id and
    ol.salesrep_id = jrs.salesrep_id and
    ol.org_id = jrs.org_id
    Regards
    Bhanu Prakash

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

  • Business Components from Tables

    Hello to all.
    I'm new on Oracle ADF.
    I have a question: I create the objects froma DB by wizard Business Components from Tables.
    Model: Project.xml
    View: ProjectView.xml
    Data Control: ProjectView
    I created a jspx page, and I add ADF Table by data control.
    Now I want to manage the current row seleted by java code. How can I do this? I haven't any java code for my models....
    Thanks,
    Cristian

    Ok,
    In a table a select a row after that I click on a edit button.
    Now I have to take from the select row the field XML data (it's a XML DATA TYPE) parse it and add dinamically to the page ADF Components. The XML is like:
    <root>
    <template>
    <inpuTextComponent title="Project title" creator="lucas" description="Some text"/>
    <dateComponent title="Date" creator="lucas" description="Some text"/>
    <fileComponent title="File of project" creator="lucas" description="Some text"/>
    </template>
    </root>
    I've create the code for adding dinamically the components on page ( [on this thread|http://forums.oracle.com/forums/message.jspa?messageID=4085681#4085681] ) but I need to accesso to the selected row for read and also update the data.
    Cristian

  • ADF Business Components from Tables - adding more tables

    Hi.
    I have already created a ADF Business Components from Tables and added tables from the Oracle database.
    My question is:
    Is it possible to add more tables to the same Business Components model?
    Not as a new Component Table, but with the same tables so i can use the same relations and mappings?

    Hi and thanks! Yes, I am talking about recreating a the same View Object that i already has created. In my first model i had the tables Name and Address. I want to add a new table called zipcode to the same View som i can choose colums from the zipcode-table in the same View as Name and Address.
    I'm not shure what you mean by Data Model tab? Can you spesify?
    Thanks!

  • Can I create a foreign key when creating Business Components from Tables

    Hi,
    I would like to use ADF and JSF to create an application on our database. My problem is our database does not "conform". i.e. there are no foreign key constraints.
    When I create a "Business Component from Tables" view, can I put in my own joins between tables so enabling the use of the generated views?
    Jon L.

    View object instances show up in the data control palette once you've added them to your application module's data model.
    See these sections in the ADF Developer's Guide for more information:
    Section 2.6.3, "Using View Objects in the Application Module's Data Model" talks about using view object instance in the data model as part of the overview chapter.
    Section 4.5, "Understanding the Active Data Model" explains a little more about this
    Section 5.3, "Using a View Object in an Application Module's Data Model" shows how to do this.
    Chapter 10, "Overview of Application Module Data Binding" gives details on how the application and its view objects are exposed in the Data Control palette.
    You can find the guide on the ADF Learning Center on OTN.
    http://www.oracle.com/technology/products/adf/learnadf.html
    Look for the ADF Developer's Guide for Forms/4GL Developers.

  • Creating Business Components from Teradata tables

    I'm trying to use the "business components from tables" wizard using a connection to a Teradata database. The business components get created without attributes. I'm getting an error where JDeveloper thinks that the Teradata table doesn't have a primary key. But I explicitly created the primary in the table (not be confused with a primary index, which is a different object from a Primary Key in Teradata). Am I really not supposed to use ADF to deal with Teradata data stores? I was hoping ADF would be able to work with databases other than Oracle. Is there maybe something special that needs to be done for the business components wizard to be able to recognize the primary key in the Teradata table? If we need to create all Teradata business objects manually then ADF isn't a goo option for Teradata.

    I'm connecting via JDBC Generic. I'm using Teradata's JDBC driver. From a connection perspective everything works fine. I have the Teradata connection both as an IDE resource as well as an Application resource. When I expand the application connection it shows all schemas. I then expand my personal schema where I created the table with which I'm testing. It shows my table, all the table's columns, and under constraints it shows the table's primary key. But when I try to create the business components is when it somehow doesn't seem to recognize the table's primary key.

  • What happened to annotations? building components from tables

    File > New > Business Tier > ADF Business Components > Business Components from Tables]
    there are no longer Entity Beans beign generated.. just useless views.
    no java files to modify for complex foreign key relationships..
    how to go about this?

    Just like in 10g, you can use drag & drop. However, the data control palette was moved and is no longer a fully fledged independent palette, but rather a sub component of the Application navigator, check the data control accordion element of the Application navigator to see all your data controls, and view object. You can drag them in page or on task flow for actions.
    As for session bean specifically, do you mean EJB session beans (that wouldn't make much sense since you're using BC4J) or JSF managed bean in session scope? if the latter, you can always evaluate the ValueExpression #{bindings} at any time in your code to get access to the current binding container.
    Regards,
    ~ Simon

  • QST: Business Components from AIA Enterprise Business Service

    Hi,
    I'm new in ADF context. Ordinary I work with Oracle SOA Suite and AIA. We have a use case for customer with system integration over AIA. Now we will build a ADF Web Application and I found the "Business Components from AIA EBS".
    - Will this wizard work with AIA 3.0 aka 11g?
    - How to use this wizard? I save WSDL of EBS to local directory, but can't continue the wizard.
    - Is it more compliant to use "normal" was of ADF and invoke Requester ABCS?
    Bye
    Marcel

    Hello Robert,
    I know this thread is quite old but I'd like to know whether anything has changed since then regarding the AIA Composite Application Framework extension? I've installed the extension (v 2.4) from a local zip archive (as installing through the update center failed - said it was installed but there was no new options under the Business tier) in Jdeveloper 11.1.1.1.5, had to change extension's paths to modules but still a wizard doesn't want to go to the next step, no error popup, no error in logs, nothing. Does it mean it's still not ready? According to the below site my environment fulfill all the requirements:
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/131167.xml
    What is the preferred approach for an UI integration then? A requester ABCS seems to be an overhead and misconception to me but maybe I'm wrong :)
    Thanks,
    Piotr

  • 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

  • Business components from multiple datasources

    Hi All,
    I want to create business components from multiple datasource. Please tell me if it is possible in ADF framework and Jdeveloper 11.1.1.4
    I opened the Model.jpx and tried adding the two datasource but it is showing as a dropdown list from which I can choose only one.
    My requirement is to have components from one datasource and read data from a second database to create a LOV
    Please suggest how to go about it
    Thanks

    Hi,
    There are many ways to achieve this.
    If your requirement is just to read data from different database (and not to update it), then using a database link would be a better approach.
    You could create a database link in the primary database (target database being the one you would like to query). Base your sql query for the vo using the db link.
    -Arun

  • Create CMP Entity Beans from Tables Wizard - Can't see any tables with DB2

    Hi,
    I'm trying to use the "Create CMP Entity Beans from Tables Wizard" to create an entity from a table in a DB2 database. The problem is, on page 2, I can't see any available tables. I have verified that the connection works (I can open the connection in the Navigator frame and I can see that table).
    Note that if I try this wizard on an Oracle database, I can see tables.
    WTF? Can someone please help?

    I second the motion. I too work in an environment with centralized data management (DBA's) that create and maintain all tables under a generic schema. This has prevented me from using the Create Entity Beans from Table feature of Jdev r3 preview.
    At least I can see that I'm not alone.
    Thanks
    When I select the "Create CMP Entity Beans from Tables Wizard," no tables or views are available to select. The JDev database connection is using an ID assigned to me.
    The tables that I am looking for were created by the DBA under his ID and are therefore in that schema. He did create Public Synonyms for them, but the tables still do not show up in the wizard.
    Is there a configuration step that I need to do to have those tables show up?
    Tables created by a DBA and then accessed by developers using a public synonym is a very common scenario and should be supported by JDeveloper (IMO).
    Thanks.
    I'm using JDev 9.0.2.8.2.

  • Bufg in entities from tables wizard

    Environment Win XP 5.1.2600 Spanish; Jdeveloper 10132 with this table
    SQL> desc linea;
    Name                                      Null?    Type
    CODPROV                             NOT NULL VARCHAR2(3)
    CODLINE                               NOT NULL VARCHAR2(3)
    LINEA                                    NOT NULL VARCHAR2(30)
    CODSLINE                                             NUMBER(5)
    ESTADO                                                 CHAR(1)Codprov,Codline is PK
    The entities from tables wizard generates:
    package model;
    import java.io.Serializable;
    import javax.persistence.Entity;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQuery(name = "Linea.findAll", query = "select o from Linea o")
    public class Linea implements Serializable {
        public Linea() {
    package model;
    import java.io.Serializable;
    public class LineaPK implements Serializable {
        public LineaPK() {
        public boolean equals(Object other) {
            if (other instanceof LineaPK) {
                final LineaPK otherLineaPK = (LineaPK) other;
                final boolean areEqual = true;
                return areEqual;
            return false;
        public int hashCode() {
            return super.hashCode();
    }The same with Jdev 10133. any ideas?? the code for the wizard have not changed between 10132 and 10133?
    Thanks
    Alex Urzola R.

    It works for hr.departments; indeed the wizards generates some other entities in my project but generates this empty class with that table "Lineas" (which have a composite key) and when i ask to generate several entities aside with this one, it skip the generation of some other entity also.
    Note I'm Using JDK 1.5.0_08-b03 which is NOT part of neither 10132 nor 10133 dist.

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

  • ADF Business Components - Cascading Tables

    I am using Oracle Jdeveloper 11.1.1.4.0
    I have tried an approach to cascade two tables using ADF Business Components.
    A single column is declared as Foreign key.
    I have used 2 drop downs. During the value change of the first drop down, the values of second sholud be populated from data base.
    How to achieve this using cascading tables.
    Kindly help.

    Hi,
    For creating cascading(dependent) LOV in adf,list of values in ADF Application using BC4J as model.please follow below links,
    https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    http://mjabr.wordpress.com/2011/04/01/cascade-list-of-values/
    Best Regards
    Siva Sankar

Maybe you are looking for

  • How do I get just the tracks I want!

    I'm still new to sound track and I'm having some problems. I have been given a voice over recording on cd and it has several takes on it. In soundtrack I have imported these clips and put tighter the version of the voice over I want to use. To make t

  • INSERT from internal table to customize pool table

    Hi, I got an error in inserting into table. According to the runtime error, the record is already existing. I checked the table, there's a record that is the same with mine but we have different uname. And I think UNAME is also a foreign key so it is

  • Sync and Create project operation from DTR is taking more than one hour

    Hi All. Recently basis team has implemented the track for  ESS/MSS application.So When we import the track to NWDS its showing 500 Dcs. I have successfully done the Sync and create project operation from DTR for 150 DCS and its take 5 min per Dcs. Ho

  • Setup  E-mail settings in developer toolbox

    i want setup E-mail settings in developer toolbox. i use google apps for my site mail. and use easyphp for localhost. what is my "mail server" and other parameters? This question in Google Apps Discussion Group

  • Airbook mid 2012 does not upgrade to mavericks

    My macbook air 11.5" mid 2012 is unable to download and install OS x Mavericks.  I am currently running OS x 10.7.5.  I would like to upgrade to Mavericks.  Any ideas??????