Business Component Views(BCPs)

Hello,
I am looking for examples of Business Component Views(BCPs) which use the instead of trigger and PLSQL code for the logic. Please let me know of any sites which have some examples.
Thanks
Faiz
[email protected]

Go to Morgan's Library at www.psoug.org and look up INSTEAD OF TRIGGERS.

Similar Messages

  • Business Component views in PLSQL

    Hello,
    We are using ADF for developing a new application. We are using Business component views(BCPs) which are written in PLSQL using instead of triggers.
    . I searched the internet for some examples but I did not find any, all BCPs seem to be in Java. I wanted to know if you know of any website where I can find some examples of BCP views in PLSQL using instead of triggers.
    Thanks a lot.
    Regards
    Faiz
    Email : [email protected]

    Frank
    Hi Frank,
    Thanks for your reply. I am sorry I should have made my question more clearer. BCP is a term which we keep using in our project , it means Business Component Views. And this is a view created on the database side much like our traditional views. ADF or the user interface inserts into the database through this view. You are right ADF does not bind to PLSQL directly so all this is being handled at the user interface level but for the final insert into the database views, its being done using the Buisiness component views.
    So do u have any examples which use this approach.
    Thanks a ton !!
    Regards
    Faiz
    Email : [email protected]

  • 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

  • More than one business component (views) in the same JSP page

    Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form.
    For example:
    There are two BC4J:
    Person:
    Code.
    Name.
    Address:
         Person_code
         Street.
         City.
    There is a master detail relationship between them and there is a link between both views in the application module.
    I want to create a JSP page with an Input form for both views. When the user decides to create a Person, I need to insert in both tables.
    Insert code and name into Person table.
    Insert Person_code, Street and City into Address table.
    It is possible to do in Forms but I am not sure if I can be able to do this in JDeveloper 10G.
    Thanks

    Sorry I lost the tabs
    Person has two attributes Code and Name.
    Address has three attributes Person_coden Street, City.

  • How to display the Component view in the Pop up

    HI.
    I created one Z Component.
    In that i put one Button name as a POPUP.
    when i press that Button i want open an another component View or Same Component another View.
    How it is possible.
    I am writing the code in Event Handler.
    CALL METHOD COMP_CONTROLLER->IF_BSP_WD_WINDOW_MANAGER~CREATE_POPUP
      EXPORTING
        IV_INTERFACE_VIEW_NAME = 'ZKRI_NAVIGATION/DetailsOV' 
        IV_USAGE_NAME          =  'ConfigStdAlone'
        IV_TITLE               = 'Hello'
      RECEIVING
        RV_RESULT              =  confirm_popup.
    confirm_popup->set_on_close_event( iv_event_name = 'POPUP_CLOSED' iv_view = me ).
      confirm_popup->open( ).
    But i did not get the Popup with the view.
    How it is possible. Please expalin how to call another view in pop up with in the Same Component.
    How to call another component view

    Hi,
    Did you create a component usage of the Z component in the Run time Repository ?
    You can look into any of the standard fields with an F4 help for sample code..like Business Partner etc.,
    Regards,
    Masood Imrani S.
    Edited by: Masood Imrani on May 12, 2009 4:23 PM

  • How do I insert/Delete/Update a row to the DB Table from Business Component Browser

    I am using the wizard and created a project containing Business component which contain some table.
    When I run the project I could see "Oracle Business Component Browser(local)" and when I select some table from "View Object Member" I get a window displaying all the field of that table and I could browse all the info.
    My Problem is when I try to insert a new record/Delete the existing record or update some record it never gets reflected to the DataBase.
    When I try to insert a new row I did save and there was a dialog box displayed saying "Transaction ID is 1". But finally It's not reflected in the Database.
    Can some one guide me how can I do insert/delete/update operation from Oracle Component Business Browser so that the changes reflect to the Original DataBase.
    Thanks in advance
    Jitendra

    Jitendra,
    This may be a problem of caching. If you do an update,insert, or delete, and do not receive an error, then the transaction should indeed be posted.
    I assume you are hitting the Save icon after your changes if you are getting a transaction ID. Are you checking for the updates through another session (i.e. SQL*Plus), or do you then requery the View Object in the tester? Do you exit the tester and come back in and not see the changes?

  • 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

  • Problem with Business Component when joining multiple tables

    I have a table that contains foreign keys from 4 other tables. When I view the table in the Business Component Browser it only returns one record. But when i run the same query in toad it returns the correct number of records. I'm I missing something or is there a bug in the application module?

    Could you be more specific?
    Supply the query and tables' definitions.
    Is it right that you have created a compound view from all of the five tables?
    Base Table
    -> FK_Table1
    -> FK_Table2
    If so, check, whether the wizard correctly generated the associations info in this VO's XML file.
    Actually, you recognize this as soon as he generates the query : the where clause should show appropriate fields being connected.
    Another question is if you want to use inner or outer joins to the referencing FK tables.
    You may also be interested in seeing my earlier post:
    "BC4J; VO Wizard & References for multiple usage of one table".
    Petr
    null

  • Issue with "firstRecord" Business Component method of JAVA Data bean API.

    Hi,
    Following is my use-case scenario:
    I have to add or associate child MVG business component (CUT_Address)
    with the parent business component (Account) using JAVA Data bean API.
    My requirement is: first to check whether child business component(i.e. CUT_address) exists. If it exists then associate it with parent business component (Account)
    otherwise create new CUT_address and associate it with account.
    Code (using JAVA Data bean APIs) Goes as follows:
    SiebelBusObject sBusObj = connBean.getBusObject("Account");
    parentBusComp = sBusObj.getBusComp("Account");
    SiebelBusComp parentBusComp;
    SiebelBusComp childBusComp;
    // retrieve required account.. Please assume Account1 exists
    parentBusComp.activateField("Name");
    parentBusComp.clearToQuery();
    parentBusComp.setSearchSpec("Name", "Account1");
    sBusComp.executeQuery2(true, true);
    sBusComp.firstRecord();
    Counter = 0;
    while (counter < Number_Of_Child_Records_To_Insert)
    childBusComp = parentBusComp.getMVGBusComp("City");
    associatedChildBusComp = childBusComp.getAssocBusComp();
    childBusComp.activateField("City");
    childBusComp.clearToQuery();
    childBusComp.setSearchSpec("City", Vector_of_city[counter]);
    sBusComp.executeQuery2(true, true);
    if( sBusComp.firstRecord() )
    // Child already exist and do processing accordingly
    else
    // Child does not exist and do processing accordingly
    childBusComp.release();
    childBusComp = null;
    associatedChildBusComp.release();
    associatedChildBusComp=null;
    Now the issue with this code is: For the first iteration, SbusComp.firstRecord returns 0 if records does not exist. However from the second iteration, SbusComp.firstRecord returns 1 even if there is no record matching the search specification.
    Any input towards the issue is highly appreciable.
    Thanks,
    Rohit.

    Setting the view mode to "AllView" helped.
    Thanks for the lead!
    In the end, I also had to invoke the business component method SetAdminMode with "true" as the argument so that I could also modify the records from my script.

  • 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 loading Business Component" in all projects (10.1.3 EA)

    I have just started getting the following error message prompt when I attempt to expand any of my projects in the Appplication Navigator:
    Error loading Business Component:
    <path to>\Model.jpr
    Exception: java.lang.NullPointerException
    Here is a sample stack trace:
    java.lang.NullPointerException
         at oracle.jbo.dt.jdevx.ui.JdxVcsListener.<init>(JdxLoader.java:1723)
         at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initVCSListener(JdxJboAddin.java:684)
         at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initJboProject(JdxJboAddin.java:203)
         at oracle.jbo.dt.jdevx.ui.JdxLoader.doOpenProject(JdxLoader.java:1500)
         at oracle.jbo.dt.jdevx.ui.JdxLoader.openProject(JdxLoader.java:1454)
         at oracle.jbo.dt.jdevx.ui.JdxLoader.update(JdxLoader.java:147)
         at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
         at oracle.ide.model.Node.notifyObservers(Node.java:458)
         at oracle.ide.model.UpdateMessage.fireObjectOpened(UpdateMessage.java:681)
         at oracle.ide.model.Node$1$4.run(Node.java:1527)
         at oracle.ide.model.Node$1.invokeLaterIfNeeded(Node.java:1587)
         at oracle.ide.model.Node$1.nodeOpened(Node.java:1520)
         at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
         at oracle.ide.model.Node.open(Node.java:573)
         at oracle.ide.model.Node.ensureOpen(Node.java:976)
         at oracle.ide.model.DataContainer$2.run(DataContainer.java:147)
         at oracle.ide.model.Node.runWhileSynchronized(Node.java:809)
         at oracle.ide.model.DataContainer.getSharedPropertiesOnly(DataContainer.java:152)
         at oracle.ide.model.Project.getPropertiesImpl(Project.java:1047)
         at oracle.ide.model.Project.getProperties(Project.java:320)
         at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:89)
         at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:84)
         at oracle.jdeveloper.library.ProjectLibrary.getSourcePath(ProjectLibrary.java:67)
         at oracle.jdeveloper.model.PathsConfiguration.getSourcePath(PathsConfiguration.java:146)
         at oracle.jdeveloper.model.JavaProject$5.getValue(JavaProject.java:523)
         at oracle.jdeveloper.model.JavaProject$CachingProjectChangeListener.projectOpened(JavaProject.java:478)
         at oracle.ide.model.Project$StorageListener.fireProjectOpened(Project.java:1118)
         at oracle.ide.model.Project$StorageListener.mav$fireProjectOpened(Project.java)
         at oracle.ide.model.Project$NL.nodeOpened(Project.java:1077)
         at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
         at oracle.ide.model.Node.open(Node.java:573)
         at oracle.adf.dt.providers.DCXDataControlProvider.addControlsToArrayList(DCXDataControlProvider.java:51)
         at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:128)
         at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
         at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
         at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
         at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
         at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:81)
         at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
         at oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSpace(DataControlsTree.java:76)
         at oracle.adf.dt.dbpanel.DataBindingPanelTree.update(DataBindingPanelTree.java:102)
         at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
         at oracle.ide.model.Node.notifyObservers(Node.java:458)
         at oracle.ide.IdeViewHandler.fireActiveProjectChanged(IdeViewHandler.java:147)
         at oracle.ide.IdeViewHandler.activateProjectInWorkspace(IdeViewHandler.java:135)
         at oracle.ide.IdeViewHandler.viewSelectionChanged(IdeViewHandler.java:166)
         at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
         at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChanged(DefaultNavigatorWindow.java:613)
         at oracle.ide.view.View.updateSelectionImpl(View.java:484)
         at oracle.ide.view.View.updateSelection(View.java:324)
         at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(DefaultNavigatorWindow.java:1011)
         at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
         at oracle.ide.view.View$4.actionPerformed(View.java:356)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I am unable to edit any of my business components. I get NullPointerExceptions when I try.
    Any clue what's going on here and how to fix it? If I need to re-install, which directories do I need to copy over from the original installation to the new one in order to pick up where I left off (minus the errors, of course! )?
    Thanks for any help!
    Andy

    Pardon the -bump-. I figured I'd give it one more try for feedback before I re-install and transfer all my settings, connections etc.
    Thanks,
    Andy

  • JDeveloper business component browser is very slow

    Hi everyone,
    A view that runs very fast -- 2 seconds -- through SQL Developer takes an extremely long time -- several minutes -- when using the business component browser in JDeveloper. Any suggestions would be appreciated as I am a newbie with JDeveloper.
    Here is the WHERE clause:
    WHERE b_id = :pBId -- Integer
    AND o_id = :pOId -- Integer
    AND (((TO_CHAR(TO_TIMESTAMP(LinesVEO.ENDING_DATE), 'yyyy-mm-dd') = :pEndingDate))) -- String
    Thanks.
    James

    Hi Shay,
    Done...the query in the output looks like the query that I am running in SQL Developer (which runs very fast).
    WHERE b_id = :pBId -- Integer
    AND o_id = :pOId -- Integer
    AND (((TO_CHAR(TO_TIMESTAMP(LinesVEO.ENDING_DATE), 'yyyy-mm-dd') = :pEndingDate))) -- String
    AND LinesVEO.ENDING_DATE = :pEndingDate
    Changing the date condition significantly changed the performance -- a minute is much better than several minutes. But, I would like to get it to a few seconds if possible.
    What should I do next?

  • Master and details based on business component

    Hello,
    I search sample Application master and detail based on business component. how build model and View please any one know link show that step by step thank you.

    Hi
    http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
    there is not much into it really...
    you just select your model project, right click and select new and in the wizard, choose Business Components from tables.
    You should, at least have a database schema with at least one PK and FK declarations.
    the wizard will take care of everything else.
    Regards,
    Dimitris.

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

  • Business Component Problem.....

    Hi,
    i have created business component for my Java Application. It contains two set of Application module, Entity Object, View Object, Association for my two tables. if i modified any column type(ex. Date -> Number) in my database it is not reflecting in my Entity or View objects. it is showing my old column type(ex. Date)
    i don't understand this. do i need to create this whole business object again. can you give me some suggestions regarding this problem.
    Thanks in advance

    Nainar,
    You can change the attribute's type and the database column type in the Attribute Settings tab of the Entity Object Wizard.
    You can also delete the attribute from your entity object, then add it again and it will show the new database settings. Edit the EO, select the attribute and click Remove. Then click New From Table, and select the new column.
    Blaise

Maybe you are looking for

  • How do I transfer files from my old MacBook Pro to my New MacBook Pro?

    I am trying to transfer some files, not all, from my old MacBook Pro to my new MacBook Pro. I have tried to use Migration Assistant, but it doesn't let me choose what I want to transfer (only generic things like "users" and "files and folders"). I ha

  • How can I create 2 catalogues (same design but different languages)

    Hello, I have to launch 2 catalogues (32 pages) in Indesign, with an equal layout but different languages. My client will need to start them both and won't wait for a agreement on a Master file. He'll update the layout all along the realisation (colo

  • 19:6 clips into a 4:3 project

    Hi I've trawled the forum for info regarding this in Premiere 8. Most of the information seems to be for making a 4:3 clip widescreen and not the other way around, which is what I'm after in order to make use of some free clips I have. When I drag a

  • After Firmware update iMac won't start up

    Hi I have this problem with my iMac G5 I try the explanation about downgrade to 10.4.9 But when I go to the Disk Utility and perform verify disk the answer is " Verify and Repair Disk "Macintosh HD" Checking HFS Plus Volume. Checking Extents Overflow

  • Black bar on left will not go away and covers slides

    WHen we use keynote a black vertical see through bar appeared on left covering the slides. This bar will not disappear and we can't access the individual slides anymore. CAn anyone help please. THanks