ADF business component wizard with tables referencing junction table

I have a three tables, user, devices and a link/junction table to map the user's assigned devices.
<<user>>
user_id
user_name
<<device>>
device_id
device_name
<<userdevice>>
user_id
device_id
I wanted to create a view page where I can search a user then display the list of devices assigned to this user. The association between these two tables is the userdevice table.
Using the wizard alone couldn't satisfy my objective. Have you encountered the same issue? Thanks.

Hi Cyrus
I'm not sure which Wizard are you referring to; can you clarify?
Which area of WebCenter Portal are you using where you're seeing this issue?
~Sripathy

Similar Messages

  • How to customise the default business component wizard

    I Would like to customize the default Business component wizard for my application so that some of the option should be dissabled. (e.g when I associate my business component with several tables I see a window which shows insert '+', delete 'x' etc) will come by default I would like to hide delete from this.
    Can any one tell me how do I customise my Business application window?
    Thanks
    Jitendra

    I looked into "Modifying Data Form Generation Templates" which says there will be template.properties but could not find this file.
    Actually my problem is I would like to add/delete some of menu item in the default business component browser. If possible to do this ?
    Or would like to create a browser something similar to BC4J browser which gives me a list of tables to browse and each table gets opened as a data frame (Frame is easy to modify). Something like MDI for Data Frame.
    Any help on this would be helpful.
    Thanks
    null

  • Oracle 8 Lite & J Developer - Business Component Wizard

    When I run the Business Component Wizard against the Oracle 8 Lite database it checks the connection ok, but fails with SQL Error [POL-5130] table or view not found.
    This is at the step 3 of 3 - where it shows the available tables etc.
    The default tables exist with data and this has been verified using SQL Plus
    Any ideas ?
    null

    Oracle8 Lite & JDeveloper & Business Component - combination is not working. The next version (JDeveloper) will fix that (atleast that is what oracle finland told me)

  • 11g ADF Business Component Browser + ADF BC security

    Hi gang
    I was hoping somebody could help me out with the ADF BC security features as outlined section 28.4.3 of the Fusion Developer's Guide for JDev 11g.
    1) I note once you've defined a Policy Store via the ADF Security wizard, each time you run the ADF Business Component Browser a login dialog then shows requiring a user to be authenticated. Is there anyway to turn this off for the ADF BC model project for testing purposes without removing the whole Policy Store set of files?
    2) The EO + EO attributes allow the role "unauthenticated-role" as a permission, documented online as:
    "Select when you want to grant access privileges to unauthenticated users. All users, including unauthenticated users, for example, those *not*required* to log on to the application, are automatically considered by Oracle Platform Security to be a member of the anonymous-role."
    (Note my emphasis in the quote)
    Given this, once the ADF Security is enabled, the login dialog always appear for the ADF Business Component Browser. How do you login in an unauthenticated fashion to test an unauthenticated user's privileges against an authenticated privileges?
    Hope you can help with thanks,
    CM.

    Chris,
    you should be able to switch it on/off by setting
    authorizationEnforce="false"
    authenticationRequire="false"/>
    in the .adf\META-INF\adf-config.xml file
    you can edit this file from within JDeveloper
    Frank

  • Deploy Business Component Project with 3.2

    I use the JDeveloper 3.2 to create a simple Buciness Component Project, with an application module, which contains only a table object(entity & view object). I follow the step of deplyment in the
    on-line help to deploy the project as an EJB session Bean for 8i, (set the application Module's remote mode to "EJB Session Bean", create the deployment profile, than deploy it.) However, I got a lot of error message with the following err-code. Where am I wrong? Please help me. Thank You...
    ORA-29521 referenced name string could not be found
    ORA-29534 referenced object string.string could not be resolved
    (I have successfully deploy a Business Component Project with JDeveloper 3.1.2 in another environment with the same Database schema. I have no idea why can't I deploy the project with
    3.2?)
    ERic

    fter granted Java2 permissions, the above problem was solved, however, I got the following error message
    when I deploy the business project:
    Loading EJB Jar file and Comm Stubs Jar file...
    Cannot locate the LoadJava server: Unknown reasons
    *** Errors occurred while deploying the EJB to 8i JVM ***
    can anyone help me?
    ERic

  • Error while adding ADF Business Component

    Hi All,
    I am using JDev 11.1.1.3 and trying to create a new Application.
    Under the Model Project of this Application when I am trying to add Business component I am getting following error:
    " *Wizard Open Error*
    *Illegal name. It is either a reserved word or an object of a given name already exists within the project.*
    *com.java.DemoApp.Model*
    *Exception: oracle.jbo.dt.objects.JboException* "
    Steps I followed:
    New Application --> Fusion Web Application (ADF) --> Gave App name and hit Finish Button.
    Model and View Controller Projects got created.
    Now when I am trying to add ADF Business Component I am Getting above error.
    Please Help

    Hi John ,
    Please find details and steps below:
    1. Open Jdev
    2. Click New Application
    3. Create Fusion Web Application (ADF)
    wizard will come up
    Details entered:
    Application Name: DemoApp
    Directory: D:\Jdev\mywork\DemoApp
    Application Package Prefix com.java.Demo
    4. Hit Next Button
    Project 1Name come (Step 2 of 5)
    Project Name Model (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\Model (Automatically Populated)
    No changes done
    5. Hit Next Button
    Project 1 Java Settings come (Step 3 of 5)
    Below values automatically populated
    Default package com.java.Demo.model
    Java Source Path D:\Jdev\mywork\DemoApp\Model\src
    Output Directory D:\Jdev\mywork\DemoApp\Model\classes
    No changes done
    6. Hit Next button
    Project 1Name come (Step 4 of 5)
    Project Name ViewController (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\ViewController (Automatically Populated)
    No changes done
    7. Hit Next Button
    Project 1 Java Settings come (Step 4 of 5)
    Below values automatically populated
    Default package com.java.Demo.view
    Java Source Path D:\Jdev\mywork\DemoApp\ViewController\src
    Output Directory D:\Jdev\mywork\DemoApp\ViewController\classes
    No changes done
    8. Click Finish Button
    9. Select Model Project under Application Navigator
    10. Right Click and select New --> ADF Business Component --> Application Module --> Ok
    Error Thrown..
    Please let me know if more details required
    Thanks and Regards
    Manav Ratra

  • How to make ADF Business Component Connection which is using XATransaction?

    Hi all,
    I'm using ORACLE 10.1.3 ADF business component, how to set this component using XA transaction? Is that possible to use xa transaction manually from application module?
    thanks

    I believe you mean to ask whether ADF BC uses XA Transaction.
    You can use a JDBC datasource based on XA Transaction for ADF BC. You might find this link useful for an overview: [XA Data Source Interface and Oracle Implementation|http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/xadistra.htm#1058741]
    What do you mean by "+Is that possible to use xa transaction manually from application module?+" - Do you mean exposing the transaction of ADF BC outside its AM..? If so, I'm afraid that its not supported.
    Thanks,
    ~Krithika

  • ADF Business Component problem

    Hello,
    I am trying to Setting Up ADF Business Component Data Sources, pass all steps. Deployed oracle.bi.integration.adf.ear on WLS, added OBIEEBroker proggect to an application and so on. But when I deploy my application I am getting exception.
    [08:45:51 AM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: oracle.bi.integration.adf, Specification-Version: 11.1.1.2, exact-match: false], [Extension-Name: oracle.applcore.model, Specification-Version: 11.1.1, exact-match: false].
    I have Oracle Business Intelligence 11.1.1.5.0, WebLogic Server Version: 10.3.5.0 and Studio Edition Version 11.1.1.5.0
    Thanks,
    SNikiforov

    Check this Doc ID 947921.1
    If helps pls mark

  • Programmatic ADF Business Component Work

    Is there any documentation on advanced usages of ADF Business Components at the programmatic level? Oracle supplies a lot of documentation (i.e ADF Developer's Guide for Forms/4GL Developers) regarding the programmatic use of business components at the individual component level (i.e. a single entity object, view object, etc). But I cannot seem to locate any good resources for aiding in the programmatic use and development of already defined business components. I have gone through Part II "Building Your Business Services" and Part IV "Advanced Topics" of the Dev Guide trying to develop an understanding, but I find there is just too much content to sift through to collate the information that I think I need (if it is even present in the Dev Guides to begin with).
    I am at the point where I know how to define, customize and extend my business components. My problem is now that I need to USE the business components to create methods and processes as required by my project. To be specific, I essentially have to write a process that uses a specific ViewObject and the ViewObjects linked to it (through ViewLinks) to redefine the parent's PK, copy it and it's originally associated child rows

    Programmatic manipulation of components are covered in:
    5.6 Working Programmatically with View Object Query Results
    6.8 Working Programmatically with Entity Objects and Associations
    7.8 Working Programmatically with Entity-Based View Objects
    The application module class has generated getter methods to access any view object intstance in the data model.
    See section "8.3.2 What Happens When You Generate a Custom Class for an Application Module"
    View object rows have view link attributes you can use to access child collections:
    See section "5.10.4.2 How to Access a Detail Collection Using the View Link Accessor"

  • Error JBO-33003 ADF Business component as an EJB remote

    Hi,
    I need to deploy an ADF application (model in business component and view in ADF Faces) in a multi-tier architecture. I deployed the MODEL project (bc4j) in an OAS’s OC4J instance. Now, when I try to test de application I get the following error:
    oracle.jbo.ConfigException: JBO-33003: Connection name <my_conn_to_oas> not defined.
    Also, I tried to connect to de EJB session from my VIEW project, so I changed the file DataBindings.cpx. I changed the line Configuration="AMProyectosLocal" to Configuration="AMProyectosAS_DS".
    When I run the view project I get the same error:
    500 Internal Server Error
    oracle.jbo.ConfigException: JBO-33003: Connection name AppServerPenny not defined
         at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1103)
         at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:538)
         at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:461)
         at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:436)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:287)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:136)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:222)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    What is the problem?
    Where can I find the process to deploy in a multi-tier platform?
    Please, help me.

    Thank for your help.
    I reviewed the datasource configuration and it is Ok.
    The connection’s name isn't a datasource name. It is the connection’s name to the APPLICATION SERVER. I reviewed the bc4j.xcfg file and it has the following definition:
    <ConnectionDefinition name="AppServerPenny">
    <ENTRY name="remote-oracle-home" value="/home/oracle/OAS/10.2.0/middle"/>
    <ENTRY name="ConnectionType" value="Oracle_AS_10g_UNIX"/>
    <ENTRY name="HOSTNAME" value="penny.asesoftware.com"/>
    <ENTRY name="DeployPassword" value="true"/>
    <ENTRY name="oc4j-instance-name" value="OC4J_ARES"/>
    <ENTRY name="user" value="ias_admin"/>
    <ENTRY name="ConnectionName" value="AppServerPenny"/>
    <ENTRY name="ormi-username" value="admin"/>
    <ENTRY name="ormi-client-url" value="ormi://penny.asesoftware.com:23791"/>
    <ENTRY name="IIOP_PORT" value="1810"/>
    <ENTRY name="password">
    <![CDATA[{904}05B4D7F42A8C91433599EDC9FDE9B9B249A698997ABBAAAD13]]>
    </ENTRY>
    <ENTRY name="ormi-password" value="manager123"/>
    <ENTRY name="DeployPassword" value="true"/>
    </ConnectionDefinition>
    Why does the test utility not found the AppServerPenny connection?

  • ERROR WHEN USING JHEADSTART TO GENERATE ADF BUSINESS COMPONENT FROM DESIGNE

    Use JDeveloper to generate a ADF Businness component using Jheadstart from
    Designer the following error is thrown
    oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-01795: maximum number of expressions in a list is
    1000
    at oracle.jmig.source.designer.DesignerExtractor.extract(DesignerExtractor.java:136
    at oracle.jmig.MigrationRunnable.extract(MigrationRunnable.java:349)
    at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:183)
    at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:122)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • Oracle ADF Business Component - Various data source...

    As part of our recent design effort we are evaluating how ADF Binding/Data Control and Business Components can be leveraged for different data sources for an instance, we need to support Oracle Database (i.e. leveraging all goodies like ADF View/Entity objects) but along with it we also need to support legacy file data source (note archival of data to file store is already in place). From legacy file data source we will get data via Java interfaces which will be massaged/formatted the same way as data from DB.
    Are there existing examples/best practices listed that we can look at, so that we can design the application with minimal code duplication.

    Regarding best practices / real-world usecases, you might want to keep a few things in mind:
    1. If you need to display data from different databases/data sources in a dashboard like page, you can make use of regions.
    Each region can display a task-flow, and each task-flow can point to different databases.
    This is nice and easy with ADF.
    2. The challenging part is when you need to combine two different data sets into a single collection (such as a table).
    Your only 'efficient' option would then be a programmatic VO where you take care not to make too many network round-trips to fetch data and handling connections /file descriptors properly...
    Other options include:
    Expose a web-service on one of the data sources and use a service based entity in your 'main' application.
    You could access this via a ViewAccessor in your 'main' VO, fetch a large data set, then filter in-memory using a ViewCriteria or RowMatch etc. etc.
    Hope that helps..
    Regards,
    Jang Vijay Singh

  • New ADF Business Component  need: "Defaulting Rules"

    Dear ADF developers & architects,
    ADF BC have Entity Business Logic Group & Business Logic Unit component.
    These components provide only the validation does not provide substitution.
    I want to develop discriminator field based substitution(defaulting) with Groovy.
    What are my options? What are your suggestions?

    Thank you for reply,
    Blog link is information about how to use Business Logic Groups & Business Logic Units.
    Business Logic Groups and Business Logic Units are entity validator rules.
    I do not want to validate entity objects.
    I want to assign a default value of entity objects according to certain rules.

  • Binding ADF data form fields with column of a table

    Hii All,
    I want to create ADF data form where fields will be in form according to the request parameter of a webservice and all that elemments should be bounded to a table .can any one please tell me how to do that in ADF .I have created the webservie and also able to access it from ADF page ,plz tell me how to configure it so that it will bind it's data with table.
    with regards,
    Deekay.

    Create a WS data control using the WSDL you have.

  • What is the better approach to populate Ref cursor into ADF business Component

    HI All,
    I have a requirement where I get the search results by joining more than 10 tables for my search criteria.
    What is the best approach to populate into ADF BCs.
    I have to go with Stored Procedure approach where I input the search Criteria and get the cursor back from the same.
    If I populate VO programmatically then the filtering at column level is a challenge.
    Anyone Please help me. Thanks in Advance.
    Thanks,
    Balaji Mucheli.

    The number of tables to be joined for a VO's query shouldn't matter - if the query is valid and fixed.
    Are you saying that you have logic to decide which tables to join to create the correct query?  I admit that would be a difficult thing to do, other than with a programmatic VO.  However, there are two possible solutions for doing this without a programmatic VO.
    Instead of your procedure returning a REF CURSOR, you can create an object type (CREATE TYPE) and a nested table of that type.  Then you have a function that returns an instance of the nested table.  The query in the VO is SELECT my_column... FROM TABLE(CAST my_table_function(:bind_variable) AS my_table_type).  You may have trouble getting the VO to accept this query as valid SQL, but it IS valid and it DOES work.
    Create a VO to be the master VO - it should have all the attributes that you intend to use, but the query can be anything, even a SELECT from DUAL.  Then create other VOs that subclass the master VO - one for each major variation of the query.  When you use the VO, use the data control for the master VO to create your pages, but change the pageDef to make the VO name a variable (with expression language).  Then you can set that variable to the correct child VO for the query that needs to execute.

Maybe you are looking for

  • HT4061 how to check my i phone's warranty

    i want to check my iphone's warranty

  • Repeating Frames Prior to a Transition

    Hello All, I'm sure it's something that I have overlooked, but I'm going to need some help. I have a DVD of individual clips I want to make into one longer project and include titles, transitions, and chapter markers. So I ripped (legally...their my

  • Financial Report Template for Trial Balance

    Dear All,       I was prepared the financial report Template, for trail Balance as per Schedule VI (6) after completation of template i exucute the trail balance by the using of above template. For the execution of the above report i used the selecti

  • BAPI Error in creating quotation

    Hi all, In BAPI ' BAPI_QUOTATION_CREATEFROMDATA2', I given all manditory parameters ( QUOTATION_HEADER_IN -import parameter and QUOTATION_PARTNERS - tables ). But If I execute, its returning below messages. Please enter sold-to party or ship-to party

  • Error in Code of Conduct Application   in Corporate Information   In ESS

    Hi All, I'm new In SAP Portal and Ess When I try To Open 'Code of Conduct Application' in 'Corporate Information' tab in 'ESS' the page open correctly and the Adobe Page Appear Under the Following error Line:-   You have no authorization for notifica