Business Components, Views, cursors

I've defined two views. One is the view of a department table (deptview), and the other is a view that joins the employee table with the department table (empview) in order to display the department name along with the employee information.
I've noticed the following behaviour in the business component tester. When I choose to display both views in the tester I've noticed that the empview controls what is shown in the deptview. For instance, if employee 1 has department A, then the only department I can see in the deptview is A.
This is definitely not the functionality I want. I want he deptview to display all departments regardless of the current position of the cursor in the empview.
I am at a loss as to how I can control this behaviour.
Note, I am working with a JSP web app, and specifically the JSRowSetBrowser.
Regards,
Reinhardt

Many thanks Simon! That did the trick. For once something that was relatively painless. :)
Reinhardt
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Simon Cullen ([email protected]):
In your application module, are the two view objects joined by a Link object? If so, you will need to create an unconstrained view.
Edit your application module and look at the first tab (Data Model). In the left hand side, your dept view probably exists both as a stand-alone view object and also as a child of empview through a Link object. On the right hand side, it is shown only as the child view. Add the standalone empview to the right hand side. It will get a slightly different name (eg. deptview1). Now when you test the AM, you should see both deptview (constrained) and deptview1 (unconstrained).
HTH - apologies if I misread the question,
Simon<HR></BLOCKQUOTE>
null

Similar Messages

  • 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

  • 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

  • Error opening a business component view object - ExtendedTextArea missing

    Hi,
    I'm running the HRSystem demo from the oracle developer day, and get an error opening any business component view object, for example, JobsView.xml. The error is:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.javatools.ui.ExtendedTextArea
         Dependent class: java.awt.Component
         Loader: jre.bootstrap:1.6.0_05
         Code-Source: unknown
         Configuration: jre bootstrap
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethods0 (Native method) [unknown, by unknown]
         at java.lang.Class.privateGetDeclaredMethods (Class.java:2427) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.lang.Class.getDeclaredMethod (Class.java:1935) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.isCoalesceEventsOverriden (Component.java:5726) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.access$100 (Component.java:162) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5680) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component$2.run (Component.java:5678) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
         at java.awt.Component.checkCoalescing (Component.java:5677) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Component.<init> (Component.java:5646) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.Container.<init> (Container.java:245) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JComponent.<init> (JComponent.java:581) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:65) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:92) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at javax.swing.JPanel.<init> (JPanel.java:100) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at oracle.jbo.ui.wizard.JboWizardPanel.<init> (JboWizardPanel.java:94) [C:/Oracle/Middleware/jdeveloper/modules/oracle.adf.model_11.1.1/bc4jwizard.jar (from system property C:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jwizard.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.dlg.DtuWizardPanel.<init> (DtuWizardPanel.java:67) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPanel.<init> (SearchPanel.java:84) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.jbInit (SearchPage.java:79) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchPage.<init> (SearchPage.java:63) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.ecsf.dt.ui.SearchFlatEditorListener.initEditor (SearchFlatEditorListener.java:41) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorMulticaster.dispatchInitEditor (JeoEditorMulticaster.java:56) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getGUI (JeoEditor.java:282) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getPanel (JeoEditor.java:310) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.setContext (JeoEditor.java:341) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.ideimpl.editor.EditorState.createEditor (EditorState.java:158) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor (EditorState.java:94) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos (SplitPaneState.java:231) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos (SplitPaneState.java:194) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState (TabGroupState.java:103) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.TabGroup.addTabGroupState (TabGroup.java:379) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1400) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1334) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor (EditorManagerImpl.java:1260) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:164) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:127) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.ide.editor.EditorUtil.openExplicitDefaultEditorInFrame (EditorUtil.java:67) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
         at oracle.jbo.dt.jdevx.JdvIde.editSourceFile (JdvIde.java:1826) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doFlatEditMenuAction (DtuMenuManager.java:1706) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.performMenuAction (DtuMenuManager.java:1595) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction (DtuMenuManager.java:1377) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction (JdxMenuManager.java:892) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.deployment.ui.JxdMenuManager.doMenuAction (JxdMenuManager.java:66) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.bc4jdt.deploy.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.bc4jdt.deploy.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1363) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1348) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed (JdxMenuManager.java:694) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run (JdxMenuManager.java:2111) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
         at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventQueue.dispatchEvent (EventQueue.java:597) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) [jre bootstrap, by jre.bootstrap:1.6.0_05]
         at java.awt.EventDispatchThread.run (EventDispatchThread.java:121) [jre bootstrap, by jre.bootstrap:1.6.0_05]
    I searched for this class, and it is supposed to be in uic.jar. However, when I opened that jar file it was not there. Did I set something up wrong, or is this a bug in jdeveloper?

    When I am trying to open a VO inside JDeveloper for editing. The issue appears only to be with the VO's, even the ones that were automatically created at the start of the tutorial. Other types of objects can be opened for editing without incident.
    Here is my versioning info:
    ADF Business Components     11.1.1.52.5
    CVS Version     Internal to Oracle JDeveloper 11g (client-only)
    Java(TM) Platform     1.6.0_05
    Oracle IDE     11.1.1.0.31.52.05
    Versioning Support     11.1.1.0.31.52.05

  • Associations and Links does not load when creating Business Components

    Hi guys,
    I am having a problem when I create my business components from table. Let's say that I start a new fusion web application. I then create my business components, enter the proper database connection settings. After everything is done, I am only getting my entities and my views, without any associations and links.
    The thing is that it worked the first time. Everything loaded as it should. I then asked a collegue of mine to try on his computer. Surprise, everything loads perfectly just like it did the first time I did it.
    I then tried on one of my linux virtual machine, via the same PC that I am having the problem. Again, the same problem, even if this is another JDeveloper instance (vm).
    I have read the thread 2187263 that mentions to re-create the DB connection. Again, it is not working.
    Associations and View Links missing in JDeveloper 11.1.1.3 and 11.1.1.4
    I saw this under the "Messages - Log" tab in JDeveloper :
    Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
    SEVERE: 3F794B56 Throwing SQLException: 3
    Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
    SEVERE: 6C9DD8BE Throwing SQLException: ORA-00936: missing expression
    I am using JDeveloper 11.1.1.6.
    Any help would do, since I do not want to uninstall JDeveloper and reinstall it again and again...

    Yes. In SQL Developer, when I click "Modify" on one of my tables, and then on "Foreign Keys", I can see them all.
    Like I said, it worked on a different workstation, and it worked before on my computer.

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

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

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • Connecting to a database from Business Components JSP Application

    Hallo All!
    Can anybody give me an advice about connecting to a database from Business Components JSP Application? In all examples I see that Oracle user name and password placed in configuration file.
    How can user provide his own name and password to start Oracle session and how then hi can close this session?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitri:
    Dear Laura,
    I mean first variant where the database would be the same:
    scott/tiger@database1
    foo/bar@database1
    Of course I understand that we must register every user in database by "CREATE USER XXX" and it is unacceptable for Internet. But it may be very convenient for an Intranet because we can build access restriction based on set of views without any changes in applications.
    Best wishes,
    Dmitri.<HR></BLOCKQUOTE>
    null

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

  • 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

  • ADF Faces & business components application crash

    My application crashes with the following stack. Any idea what's causing this?
    06/05/15 17:38:09 Exception in thread "Reference Handler" java.lang.NullPointerException
    06/05/15 17:38:09      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:123)
    06/05/15 17:38:09 <3>[2785] (0) DCBindingContainer.internalRefreshControl(2311) **** refreshControl() for BindingContainer :effectenPageDef
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Process exited with exit code 128.
    Thanks,
    Andrej

    May be this additional info helps pinpointing:
    I work with JHeadstart (10.1.3.0.59) and JDeveloper 10.1.3 SU3 and generated default pages on top of two ADF Business Components. No customization done yet. One jspx page works nicely, wheras the other also gives me:
    Fatal error: Cannot find class java/lang/StackOverflowError
    Fatal error: Cannot find class java/lang/NullPointerException
    In the Embedded OC4J server log.
    The only difference between the two Entity Objects and View Objects is the size of them:
    - the working EO/VO page contains 38 attributes (yet, still have to tune and remove unnecessary attributes)
    - the other, error-giving EO/VO page contains nearly 60 attributes (same comment here on the tuning part).
    So, is it possible that the number of attributes and therefor the size of jspx pages can cause these Fatal errors? The JRE seems fine, since some pages work, others do not.
    Toine

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

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

Maybe you are looking for

  • Awful customer service experience over the phone this weekend

    @emaiya I'm sorry for your troubles. I have sent you a private message to assist you further.

  • How to make web links open larger in firefox

    Firefox is my default internet. IGoogle is my home page. I have XPWindows. I recently had Firefox put in and use that as my default internet connection. When I click on a web page, it does not fill my screen - there's anywhere from 2 to 4 inches of w

  • X200 resolution problem (software won't adjust resolution to 1280x800

    I'm using Windows 7, had it installed on the notebook for about 6 months, and now every time I turn it on, the monitor will only display 1024x768. The software won't give me an option to crank it up to 1280x800 and it is even at 1024x768 in the BIOS

  • Exclamation mark folder, find a mac, erase, partitioning woes

    Hi. Variations on this topic have been posted many times and I've gone through many many many. I hope not to offend those who see this as duplication. I have iPod 20gb dock connector. Pre-click wheel. Have used on Windows XP for 1.5 years, no real tr

  • Can't print in color

    I have an HP Photosmart C4680 and I can't print in color! I haven't used the printer in probably 6 months and I just put in brand new cartridges. I can COPY in color but when I print, it comes out in black and white. I've unchecked "black and white"