ADF Desktop Integration - Can it Support Master Detail Information

I reviewed the OBE and also the user guide. I could not see any specific details as to whether the ADF Desktop integration can support master detail relationship - either master table with detail table or Master form with detail form, to be linked with the excel sheet.
Defining both the master and detail table as "tables" I was able to get the data into the excel sheet for the entire master and the child of the first master. The fetch of the child records for the second or third master records is not happening, obviously because I am missing suitable actions.
Please let us know if:
- the Master detail can be supported in a view only mode in the integrated excel sheet - with partial page functionality?
- The master - detail page can be used to upload a header record (master) and many detail records.
Appreciate any inputs.
Thanks
Ram.

Yes. ADFdi can be configured for "master-detail" type use cases.
You can create cases with a master form and a detail table. Or, you can create cases with multiple tables.
ADFdi does not automatically manage the relationship between the form and table, or between the tables. So, the implementation details depend on your specific use case.
For example, given two tables (one above the other), you might choose to make one column in the "master" table double-clickable. The double-click action set can then invoke the download action of the second, "detail" table.
For a master form - detail table case, you can configure a "next" button to navigate to the next "master" record and download the details into a table.
HTH

Similar Messages

  • Not getting ADF Desktop Integration option in Jdeveloper 11.1.1.3

    Hi,
    I am following this link:- http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps3/tutorial_adfdi/adfdinewtutorial/jdtut_11r1_59_2.html for ADF Desktop Integration.
    When I am opening my Jdeveloper after installing *.NET Programability Support* from Control Panel. The Option in Tools Menu of J Developer i.e ADF Desktop Integration is not coming.
    But When I checked in my machine :- C:\Oracle\Middleware\jdeveloper\adfdi\bin\excel\client. I am able to find set up of ADF Desktop Integration. I ran it and it got installed as per the above link. But still I am not able to see that option in my Tools. When I right click on View_Controller of ADFdi_BC Application as per the Link and went to NEW but I checked in ALL Technology of Client Tier option, ADF Desktop Integration option is not coming.
    Can anyone suggest me what to do for getting that option in my Jdeveloper and I can use this to make my Excel sheet under View Controller.
    Please suggest me something.
    Thanks,
    Ramit Mathur

    The title of your post mentions version 11.1.1.3. The tutorial link mentions version 11.1.1.4. It is probably best to get the matching version. In fact, I recommend getting the most recent version, 11.1.2.x.

  • ADF Desktop Integration and IE6

    Hi,
    I create a web project with ADF Desktop Integration, but ADF Desktop Integration must to use IE7. My customer is using IE6.
    Is there way use ADF Desktop Integration with IE6?
    Please help me
    Thanks
    Edited by: fbg on 21:29 12-07-2010

    The point is, nobody here would bother, as it's certified on IE7, implying it needs some features of IE7 to work.
    Your best bet is just to give it a go under IE6 yourself. If it does/doesn't work, voila! ... you have your answer. Otherwise asking for support on this forum, you're going to get the same answer again, it's not certified under IE6.
    CM.

  • Error when trying to install adf-desktop-integration.

    Hi,
    I developed an integrated workbook using the ADF Desktop Integration technology (JDeveloper 11.1.1.4.0, Microsoft Office 2007, Windows 7)
    One of my users encountered an error when is trying to run the setup for the adf-desktop-integration.
    The steps for his error are the following (he is using Windows XP and Microsoft Office Professional Plus 2007):
    - Enable .NET Programmability support from Office installation
    - Run the setup file for adf-desktop-integration. The following error appears in a popup:
    The following solution cannot be loaded because Microsoft Office support for the .Net Framework 3.5 is not installed: adfdi-excel-addin-runtime.vsto.
    For more information, see http://go.microsoft.com/fwlink/?LinkId=135965
    If someone else encountered this error and found a solution please let me know.
    Thank you,
    Alex.

    Hi,
    The problem is that my user already have installed on his computer the .Net Framework 3.5 SP1.
    In the section "3.5 Installing ADF Desktop Integration" from the link http://download.oracle.com/docs/cd/E24382_01/web.1112/e16180/inst_conf_dev_env.htm#CHDHJIIG is specified that when the setup tool is run, the following software are installed:
    1. Windows Installer 3.1
    This software I suppose is already installed or the setup tool managed to install it, otherwise I should have an explicit error.
    2. Microsoft .NET Framework
    This software .Net Framework 3.5 SP1 is already installed.
    3. Microsoft Visual Studio Tools for Microsoft Office
    My user already has Visual Studio Tools for the Office system 3.0 Runtime
    Now lets take a look on the same link at the section "3.2 Required Oracle ADF Modules and Third-Party Software". Because my users are using only the Runtime edition of ADF desktop integration they don't need JDeveloper or an Application server.
    Taken in consideration the section "Installing the Runtime Edition of ADF Desktop Integration" from your link, my users are using the adfdi-excel-runtime-client-installer.zip (this file is provided by me and is taken from my installation of Oracle Middleware-11.1.1.4.0).
    Thank you,
    Darie.

  • How to install ADF Desktop Integrator on mac (using jdev 11.1.2.1.0)

    Hi Everyone,
    I got a requirement for my client where they want to use microsoft excel to upload/edit/delete content of one of our ADF application data and we are thinking of using ADF Desktop Integrator option for achieving this. I tried to install ADF Desktop Integrator from my Jdeveloper->Tools->'Install ADF Desktop Integrator' but this option got disabled on my mac. Is there any way to enable it or is it mac not compatible for ADF desktop integrator tool? Also most of my client team members are using mac and hence I cannot ignore mac option and switch to pc.
    Any help or suggestions on this would be very help and appreciated.
    Thanks,
    Ravi N

    Hi.
    ADF Desktop integration relies on Microsoft .NET and Microsoft Internet Explorer; both are available on Windows only. Thus, ADF Desktop Integration is not available on Apple OS X.
    Best Regards,
    Frédéric.

  • Error when upload data in  ADF Desktop Integration

    Hi,
    I am using ADF Desktop Integration for create 1 application.
    I have 1 ADF Table and 1 upload button for upload data in Integrated Excel file.
    First, when load file, data are loaded into Excel file.
    when I edit data in table and click upload button then Exception raise as follow:
    oracle.adf.desktopintegration.bindingxml.BindingContainerXml writeThrowableXml
    WARNING: reporting throwable to client: JBO-25077: Name element not found in the given object: aa1.
    oracle.jbo.expr.JIEvalException: JBO-25077: Name element not found in the given object: aa1.
    In Action[] Array of Upload button I have uploadData method and TAB1852140547.Upload
    My upload button action do nothing.
    Please help me

    Hi,
    Have you included any settings on your table batch actions? Please see the following tutorial which also does update on data from a table
    http://www.oracle.com/technology/obe/obe11jdev/ps1/adfdi/gettingstartedwithadfdi.htm
    Juan C

  • HT2589 Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    I'm not entirely sure what you are asking, but you can view the purchase history on your account (and view your payment method) on your computer's iTunes : if you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases. On your iPad you can only see a cut-down version via this page (which also allows you to contact iTunes Support if you have a problem with a purchase) : http://reportaproblem.apple.com
    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    Or do you mean something else ?

  • How can I get more detail information ( Sales Order ) of Reduction of PIR??

    Hi Experts,
    In our company,our customer want to see more information about the reduction process for the planned independent requirements.
    That means for example:
    First we create 150 pc planned independent requirement for material "ABC".Then we create a sales order for material "ABC" for 20 pc.After that we do the delivery for this sales order,post the goods issue. So after the outbound delivery, the  planned independent requirement for material "ABC" will reduced to 130 pc.
    Although in TCODE:OMP4,we have active history is updated when planned independent requirements are reduced by a goods movement. So in MD73 we can see the withdrawal quantity 20 pc for this planned independent requirements.And in md63 we also can see the withdrawal quantity (20 pc) for this schedule lines.
    But we can not see the detail information about the withdrawal quantity!!
    We can not directly know this withdrawal quantity is caused by which sales order???The sales order number???
    So I want to ask how can I directly see the detail information about the reduction of planned independent requirements??
    That means how can I directly know  this withdrawal quantity is caused by which sales order???The sales order number???
    Thanks for any reply!!!

    Dear Liu,
    check the material document posted in T Code MB51 for 601 movement.
    Here you can get the details regarding the customer,and check for the same material,customer combination in T Code VA05.
    Check and revert back.
    Regards
    Mangalraj.S

  • Facing java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController while am using master detail relationship by af:table

    Hi friends,
         We are in to new development in Oracle ADF and newbie to this technology.
         Created .jsf page and in corresponding pagedef, has "ControllerClass" with refering "DummyPagePhaseListener" and we have master-detail relationship using Viewlink(created using a SQL Query and  entity based view).
        Below exception raised when navigating from one  to another record in Master af:table. Any help will be appreciated. Thanks in Advance......
    java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController
    at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:5197)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4247)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:300)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:70)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:202)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$600(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:323)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
    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:173)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
    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:180)
    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)

    Hi timo,
    Thanks for ur reply...
    we are using unbounded taskflow.
    In Controller class(page def file), we refered the class that implements PagePhaseListener
    The following override methods has created
      public void afterPhase(PagePhaseEvent pagePhaseEvent) {
    //In this area we used to read the session object file which is written and sent by another application(application to application navigate).
    If session object file exists,will allow the user to navigate into the requested page else will navigate in to login(security aspect).
      public void beforePhase(PagePhaseEvent pagePhaseEvent) {
    Is we used Controller class wrongly ???
    Is there any relationship with region controller???
    Mani
    [email protected]

  • Can you create master-detail output using a PDF template?

    My starting point is a pre-designed PDF template for producing purchase orders. This has a fixed background containing graphics and text. Over this I have overlaid the required fields and in the PO line section have defined a repeating group.
    This works correctly only if the XML input file contains one and only one PO. If I want to produce multiple PO's (and I do) then is there a way to nest the repeating groups so that for each PO a new header is printed followed by the lines, i.e. a standard master-detail report? This is promised in the "XML Publisher Business Applications" powerpoint :-)
    I know this can be done using an RTF template, but I have not found a way of fixing the positions of all the boilerplate text/graphics, as required, using Word. (The final section, which contains additional "header" information gets pushed down the page as PO lines are added.)
    Any help gratefully received.

    That depends.
    Are they asking you to put a copy of your actual signature on there or are they asking for a "digital signature"?
    They are different things.

  • ADF Faces and multiframe window for master/detail view

    Hi,
    I have a web page divide into 2 frames : frame1, the master view and frame2 the detail view.
    When I load the whole web page, the master frame print all the paginated list. Each row has a "show more" button. When I click one, the corresponding detail view is displayed in the detail view (frame2). And, when I clicked again the "show more" button, the paginated list (present in the master view) is displayed in the detail view !!! WHY ??
    When I click a third time on the "show more" button, the detail view display the corresponding detail information (work well like first click)....and alternatively clicking on the "show more" button, this problems occurs.
    Where does this problem come from ?
    The ADF Faces code shown in the master view (targetFrame attribute means to display on the detail view when show more button is clicked).
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!-- table displaying the list of buildings -->
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
         xmlns:af="http://xmlns.oracle.com/adf/faces">
         <jsp:directive.page contentType="text/html;charset=utf-8" />
         <f:view >
              <af:document title="List of buildings" >
                   <af:form >
                        <af:panelPage title="Show the list of buildings">
                             <af:table var="building" value="#{buildingsBean.buildingsList}">
                                  <af:column>
                                       <af:outputText value="#{building.name}" />
                                  </af:column>
                                  <af:column>
                                       <af:outputText value="#{building.objectId}" />
                                  </af:column>
                                  <af:column>
                                       <af:commandButton text="Show more"
                                            action="#{adfMasterSlaveBackingBean.showBuilding}" >
                                       </af:commandButton>
                                  </af:column>
                             </af:table>
                        </af:panelPage>
                   </af:form>
              </af:document>
         </f:view>
    </jsp:root>

    Yes I put a targetFrame (I forgot to restablish it).
    Code of the backing bean (to show building list) :
    public List getBuildingsList() throws Exception {
              System.out.println("getBuildings");          
              CLPNetworkInstanceAPI netAPI = CLPNetworkInstanceAPI.getNetworkInstanceAPI();
              buildingsList.clear();
    try {
         CTResource resources[] = netAPI.fetchAllResourcesByType("CLPRMBuilding");      
                   for (int i=0; i<resources.length;i++)
                        buildingsList.add(resources);
              } catch (CTConnectionException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (CTUnsupportedTypeException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return buildingsList;
    and the backing bean to show building detail :
    public String showBuilding() {
              FacesContext context = FacesContext.getCurrentInstance();
              CLPRMBuilding building = (CLPRMBuilding)
         context.getApplication().getVariableResolver().resolveVariable(context, "building");
         if (building == null)
         return "error";
         AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
         afContext.getProcessScope().put("buildingDetail", building);
         return "showBuilding";

  • How can I create master detail reprot output

    Hi to all!
    I have one question about creating master-detail report.
    My report must show asset's and depreciation and all other information for that asset. I can have one asset at two or more locations, cost numbers, ...
    Now I have 2 SQL's in my XML file. Q1 is master data for some asset and Q2 is detail for that asset, if I run my report with all parameters (book type, asset nubmer, cost nubmer) then it runs OK (I get master-detail report, for each asset I get separate page, even if asset has multiple cost number or locations), but if I run that report without cost number parameter I get multiple pages for master (data from Q1 on each page), but detail data is all together on each page.
    Can you help me how can I also get separate detail data in that case?
    I hope we understand each other!
    Regards,
    drama9346

    Hi Mustafa,
    Thanks for ur response.
    Actually, In my first tab page I have some details of employ which is based on a database table.
    The second tab page also contain the details of employ which based on backend stored procedure. I used a REF cursor in that stored procedure.
    When I have created a master detail relationship based on employee_id, it created the relationship but while executing the form it is giving error like
    'pk_empdetails.query' must be declared.
    pk_empdetails.query(is backend procedure).
    Hope u got my point.
    Regards
    sonali
    null

  • ADF Desktop Integration : How to delete the table in Excel?

    Hi,
    I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file.
    I could not find a way to delete that table.
    I deleted full row of tables and then I used different pageDef file and created a new adf table. But when I am running this version of excel, I am getting runtime exception and excel is getting corrupted.
    My question how to delete the table not corrupting the Excel.
    Thanks
    Pavan

    Pavan,,
    Welcome to OTN.
    You can delete the table by selecting the top left column (of the table) and then select delete from the ADFdi tab.
    Refer the documentation for more info.
    http://docs.oracle.com/cd/E17904_01/web.1111/e10139/get_start_dev_tools.htm#ADFDI608
    -Arun

  • ADF desktop integration issue

    i have created a application and published to weblogic successfully, but when i tried to run my integrated excel workbook, i got following errors. how to resolve this issue ?
    ADFDI-00134: An attempt to connect to the web application has failed.
    ADFDI-00501: An unexpected status: 500 (InternalServerError) was returned from the server while requesting the URL: http://localhost:7101/myDITest/adfdiRemoteServlet
    ~~~~~~~~~~
    ConnectionFailedException: ADFDI-00134: An attempt to connect to the web application has failed.
    Source: adfdi-excel-runtime
    Stack:
    at oracle.adf.client.windows.excel.runtime.WebAppLogin.GetAuthenticationMode()
    at oracle.adf.client.windows.excel.runtime.WebAppLogin.Login()
    at oracle.adf.client.windows.datamanager.ADFBindingContext.AttemptLogin(Boolean maybeHadSession)
    at oracle.adf.client.windows.datamanager.ADFBindingContext.SyncModel(BindingContainer bc, String contentType)
    at oracle.adf.client.windows.datamanager.BindingContainer.ReloadMetadata()
    at oracle.adf.client.windows.datamanager.BindingContainer.LoadMetadata()
    at oracle.adf.client.windows.excel.runtime.DIWorksheet.InitializeComponents(Boolean isFirstLoad)
    at oracle.adf.client.windows.excel.runtime.DIWorksheet.Initialize(Boolean initializeUI)
    Inner:
    UnexpectedHttpStatusException: ADFDI-00501: An unexpected status: 500 (InternalServerError) was returned from the server while requesting the URL: http://localhost:7101/myDITest/adfdiRemoteServlet
    Source: adfdi-excel-runtime
    Stack:
    at oracle.adf.client.windows.excel.runtime.WebAppLogin.GetAuthenticationMode()
    yong

    There is some kind of configuration problem with your web application.
    First, you should report the version of ADFdi you are using.
    Next, you should verify the configuration against the guide.
    http://docs.oracle.com/cd/E24382_01/web.1112/e16180/prep_dev.htm#sthref25
    Next, you should perform some diagnostic steps.
    http://docs.oracle.com/cd/E24382_01/web.1112/e16180/ap_desk_integ_troubleshoot.htm#CHDIBEEE
    HTH
    Alex

  • ADF BC : Problem in Inserting a Master - Detail Record

    Hi,
    I am new to ADF Business Components. I am into a project where i use only the ADF BC as ORM/DB Operations and for the front end I use some other framework. The Problem is.
    I have two entity objects and a ViewLink between them. [Relation between "Order" to "Item" is (1 to many relation)].
    [I saw many examples in forums where its explained with View Objects But here I DID NOT create any View Object. I have only Entity Objects]
    (1) OrderEO [Entity Object for Order Table]
    (2) ItemEO [Entity Object for Items Table]
    (3) OrderItemsViewLink [A Viewlink where OrderEO.OrderId = ItemEO.OrderId]
    All The Primary keys (for the "Order" and "Items" table ) are handled by Trigger+Sequence at the time of insert in DB side.
    I created custom method to insert "Order" individually it worked fine.
    I created custom method to insert the "Item" individually it worked fine.
    But...
    When I created and "Order" with some "Items" It failing to insert and throws an
    Error : oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity: detail entity ItemEO, row key oracle.jbo.Key[0 ].
    My Custom Method in the AppModuleImpl is like below :
    public void createNewOrderWithNewItems() {
    String entityName = "com.proj.entities.OrderEO";
    EntityDefImpl orderDef = EntityDefImpl.findDefObject(entityName);
    OrderEOImpl newOrder = (OrderEOImpl)orderDef .createInstance2(getDBTransaction(),null);
    try {
    // 3. Set attribute values
    newOrder .setOrderStatusCode("CREATED");
    RowIterator items = newOrder .getItemEO();
    Row newItemRow = items .createAndInitRow(null);
    items .insertRow(newItemRow );
    newItemRow .setAttribute("itemDate", new Date());
    newItemRow .setAttribute("itemQty", new Number(10));
    // 4. Commit the transaction
    getDBTransaction().commit();
    } catch (SQLException e) {
    e.printStackTrace();
    } catch (JboException ex) {
    getDBTransaction().rollback();
    throw ex;
    Here the "Order" is also new and related Items is also new. What I expect is to save the Order with Items in one transaction. How to achieve this. Please suggest.
    Thanks
    Narayan
    Edited by: 817942 on Dec 3, 2010 8:16 AM

    Read through the blog posts which describes
    why this issue occurs and how it should be resolved.
    http://radio-weblogs.com/0118231/stories/2003/01/17/whyDoIGetTheInvalidownerexception.html
    http://one-size-doesnt-fit-all.blogspot.com/2008/05/jbo-25030-failed-to-find-or-invalidate.html
    Thanks,
    Navaneeth

Maybe you are looking for