Application of master / detail

Hello

I created an af:query of a VO (customers), each customer might have many Directions, so VO of Directions, I have the id of the Client.It to create a query with the VO of customer, simply create the view criteria and easy drag-and - drop as an af: query, but this filter only with fields of the customer VO.

I don't know how to create the query that filters with fields of the VO of Directions.

Thank you
DV.

To filter the attributes of the two whole VO you must join the your in a select statement

select m.a, m.a, m.c, c.a, c.b, c.c, c.mfk from m,c where m.a = c.mfk 

Where m is the main table, c is the child table, a - c are attributes and c.mfk is the foreign key in the child table pointing to the master.

You now have the attributes of mastery and the child that you can filter.

Timo

Tags: Java

Similar Questions

  • Create lines of master / detail in Application Module Impl

    Hello

    I use Studio Edition Version 11.1.2.3.0

    I need to create programmatically from the lines of master / detail of a method in my Application Module Impl.

    I'm using the code below, but they always tell me that the foreign key is required in the detail row: oracle.jbo.AttrValException: Houston-27014: UserId in UserPreferenceEO attribute is required.

    Can anyone recommend the correct way to do this?

    Thank you very much

    NVP NameValuePairs = new NameValuePairs();
    nvp.setAttribute ("name", "value");
    RegisteredUsersVORowImpl = (RegisteredUsersVORowImpl) getUsers () .createAndInitRow (nvp) userRow;

    Create the line of userpref
    Get the detail line via the accessor on Master table display
    userRow.getUserPreferencesVO () .createAndInitRow (null);

    getTransaction () .commit ();

    I had a simular problem a few weeks back.
    To a master VO you must:

    this.getMasterVO().createRow();
    

    And for a VO detail:

    Row row = this.getDetailVO().createRow();
    ...do stuff with the row...
    this.getDetailVO().insertRow(row);
    

    Given that the captain creates and retail CreateInsert

  • Problem with application master / detail with AdvancedTable

    Hello

    We have a region of master / details in a standard way as follows.
    1. a MasterVO, a child VO, ViewLink connecting them.
    2. on the page, we have an AdvancedTable based on MasterVO and an AdvancedTable nested in a region to show/hide for more details.
    3. in the processRequest() CO, the association is defined as
    OAWebBean outerTable = (OAWebBean) webBean.findChildRecursive ("ResultsTable");
    OAWebBean innerTable = (OAWebBean) webBean.findChildRecursive ("PmtInstructionsTable");
    If (outerTable! = null) {outerTable.setAttributeValue (CHILD_VIEW_ATTRIBUTE_NAME, "PaymentServiceRequestId");
    outerTable.setAttributeValue(VIEW_LINK_NAME,"PsrToPmtInstructionsVL1") ;}
    If (innerTable! = null) {innerTable.setAttributeValue (CHILD_VIEW_ATTRIBUTE_NAME, "PaymentServiceRequestId");
    innerTable.setAttributeValue (VIEW_LINK_NAME, "PsrToPmtInstructionsVL1");
    4. When you press a button to refresh on this table, executeQuery() is called on MasterVO.
    In the test case, I change some attributes in both your. Problem here is that, after this update, the master is on the line is being updated but the detail of any line of MasterVO, is not updated DB. I confirmed this JDev logs too this detail VO query is not executed.
    It is not supposed to have the details updated through VL line?
    Try each of the following:
    a. clearCache() on innerTable
    b. executeQuery() on DetailVO during the refresh.
    c. instead of the programmatic association of the master / detail, defined the relationship of step 3

    It seems that AdvancedTable used to detail is cached information. How can this be avoided? Or am I missing something else?

    For reference,.
    CO: http://aru.us.oracle.com:8080/src/R12/120.9/ap/java/payments/psr/webui/PsrSearchCO.java & & 120.9
    VOImpl: http://aru.us.oracle.com:8080/src/R12/120.14/ap/java/payments/psr/server/PsrSearchVOImpl.java & & 120.14


    I tried to implement the various forum posts but always failed, so posting it here.

    Thank you
    Combet

    I had problems with the lines of childVO does not show correctly when you use a train, I have cleared the cache on the table with the following processRequest code

    Table OAAdvancedTableBean = (OAAdvancedTableBean) webBean.findChildRecursive ("childTableRN");
    table.clearCache (pageContext);

    don't know if this will help with your problem but if it's worth a mention.

    Bravo, Mike

  • Master-detail application

    Hello


    I have master-detail forms. Master block is filled well the moment of execution request. For my work exfiltration, I have to write code to fill the block of retail. (create relationship does not work with my environment, Master block content from the Web, block detail is the canvas of the tab)

    Thank you in advance,
    Murali

    Murali,

    I have master detail Forms. Master block is populated well when execute query. For my working environmemt, I have to write a code to populate detail block. (create relation cannot work with my environment, Master block in content canvas, detail block is Tab canvas)
    

    It would be interesting to learn more about your 'working environment' which prevents you from using the native functionality of Oracle Forms. You get an error when you try to use the relationship as Francis suggested?

    In all cases, you can manually code if you REALLY want to; However, you will lose any functionality auto-synchronizition in doing this manually. What I mean by automatic synchronization is; If you select a record in the block Master - detail block is automatically synchronized with the selected record.

    In your code when you call the built-in Execute_Query simply navigate to the detail block; the value of any WHERE clause you need to connect the retail block in the main block and run a query on the block of retail. Finally, you navigate back to the main block. For example:

    /* Example When-New-Block-Instance trigger  */
    DECLARE
         v_Def_Where          VARCHAR2(1000);
    BEGIN
         /* Other code here.... */
         -- it is assumed you are already in the Master Block at this point
         Execute_Query;
    
         /* Now - go to the detail block and execute query */
         Go_Block('My_Detail_Block');
         v_Def_Where := 'UNIQUE_ID = :Master_Block.Unique_ID';
         Set_Block_Property('My_Detail_Block',ONETIME_WHERE,v_Def_Where);
         Execute_Query;
    
         /* Now go back to where we started from. */
         Go_Block('Master_Block');
    
         /* Other coordination code here...*/
    END;
    

    You will need to run code similar to this whenever you change records if you want your main and synchronized blocks between them.

    If you get an error when you try to use a relationship, it would be worth it to try to resolve the error rather than try and maintain the master - coordinating block details manually in your code.

    I hope this helps.
    Craig...

    If a response is appropriate or useful, please mark accordingly

  • Import/Export of master detail Page lose columns on the MRU

    When I export and then import my request, master details page loses column on retail MRU on Version 4.2.3.00.08

    I tried to import and export in the same environment and our development environment to production environment with all the application and just the page and it still loses the columns.

    It's the work insert debug statement

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" CODE_GROUP_VERSION values ' ('CODE_GROUP_VERSION_ID', 'CODE_GROUP_ID', 'VERSION_NO', 'VALUE_SET_OID', 'DEFINING_ORGNZTN_VERSION_ID', 'REFERENCE_TXT', 'REFERENCE_DSC', 'EFFECTIVE_START_DT', 'EFFECTIVE_END_DT', 'STATUS_CD', 'CREATED_DTS', "CREATED_BY_USER_ID") (: b1,: b2,: b3: b4,: b5,: b6,: b7,: b8,: b9,: b10,: b11,: b12)

    This is the debug statement insert to import and export which does not work properly.

    ...... Rank 1: insert into "SHARED_INFRASTRUCTURE". "" The values CODE_GROUP_VERSION "("CODE_GROUP_VERSION_ID","CODE_GROUP_ID") (: b1,: b2)

    This is resolved.  There are two editable under conditional display reports and he used the second update report.  Changed to a single display report and he picked up the first editable report.

  • Validation problem unique scenario master detail.

    Hello

    I have three tables involved in a scenario master / detail.  Tables A, master, detail B and C join him table for the * to * relationship between A and B.  The Association links were already in place to illustrate the relationships.  The doDml() of the main entity was substituted to support business logic. Has also been overridden preprareForDml() method.  When running the tester Application Module to test the scenario for a single validation, the following error appears:

    I use Jdev 12.1.3

    in the same way as in doML():

    http://docs.Oracle.com/CD/E12839_01/apirefs.1111/e10653/Oracle/JBO/Server/EntityImpl.html#prepareForDML%28int, %20oracle.jbo.server.TransactionEvent%29

    https://docs.Oracle.com/CD/E25178_01/Web.1111/b31974/bcrules.htm#sm0240

    but I would like to do these operations in the click on the button create/edit (before calling Commit), OR DB trigger level and then refresh the data of VO

  • Form master / detail apex 5 tries to update the lines of details without apparent change

    A form master / detail of Apex default 5.0 creates buttons back and forward on the main table. When you move between records, the detail region launches a message: update 0 row (s), 0 or the inserted rows.

    Glance in occasional of the user, it will look like a mistake: I, what has changed and why it has not been saved?

    If nothing has changed, why is a MRU statement update being generated?

    How do I remove this behavior? Is this a bug?

    You can see in https://apex.oracle.com/pls/apex/f?p=74308:LOGIN_DESKTOP:113903018138704:, the application of MasterDetail Claim_Charge. Credentials are of assistance/Viewer.

    Thank you!

    Hello

    Create a new hidden element Px_RUN_MRU and the value of

    Source used "Always replace the value that exists in the session state."

    Source of Type ' static assignment (the value corresponds to the source attribute) ' and

    Value of source or phrase "N".

    Then create new PL/SQL process for tabular and use the code

    if :Px_RUN_MRU = 'N' and :APEX$ROW_STATUS IN('C', 'U', 'D') then
      :Px_RUN_MRU := 'Y';
    end if;
    

    Make sure that this process is captured in the form of process MRU.

    Then change tabular MRU to love affection

    (:request like ('SAVE') or :request like 'GET_NEXT%' or :request like 'GET_PREV%')
    and :Px_RUN_MRU = 'Y'
    

    Kind regards

    Jari

  • Master-detail - page updated

    Hi all

    I implement updated for logic with master-detail page.

    My expectations:

    Both master Vo and Vo of detail is executed with Set whereclause and line master and detail gets displayed.

    The two actions are required in the application process.

    Result:

    Executing query (even after call run the query for master and detail VO), master line get appears. Detail line is not displayed,

    However when the form application process is called (by clicking on the button Save), detail lines gets displayed.

    My logic to query example: (your have VL and EOs have AO)

    PR:

    Configuration where clause;

    XXAM.getXxcfirIcfUpMasterVO1 () .executeQuery ();

    XXAM.getXxcfirIcfUpDetailVO1 () .executeQuery ();

    PFR:

    The logic of adding new line-to-line in detail.

    Save button.

    Is there a way to show line main and details while that Page gets loaded through the application process and still not break the relation ship master detail since must be made on the update page.

    Thank you and best regards,

    Gauthier

    Hello

    See my post on master / detail to OFA:

    http://anilaltunkan.com/en/Oracle-3/Oracle-application-framework-Oracle/OAF-master-detail-page/

    Kind regards

    Anil

  • Master / detail createInsert jumping required attributes validation with part delivery = true

    Hi all

    I use JDev 11.1.1.7.0

    I created master / detail on table emp dept and slipped and fell from CreateInsert in both tables.

    I put partial Submit true for these two buttons.

    Scenario: when I add a record in the master and try to add another rec, mandatory validation fires and it doesnot allow me to add new rec if already a rec void is there.

    But after adding in master, if I add a new rec in child, isn't shooting the validation of required attributes in the parent table. So a new blank record is created is in the child. ]

    If I put part delivery = false for child createInsert, fires of validation.

    Question: in my application, I set partialSubmit = true to CreateInsert child. Although I gave the partial trigger for the main table, validation of required attributes is not get fired for master.

    How to solve this? User should not be able to add a record of the child without filling out the required attributes



    < af:form id = "f1" >

    < af:panelStretchLayout id = "PSL1" topHeight = "400px" >

    < f: facet name = "center" >

    < af:panelCollection id = "pc1" >

    < f: facet name = "toolbar" >

    < af:toolbar id = "t4" >

    < af:commandButton actionListener = "#{bindings." CreateInsert1.execute}"text ="CreateInsert1. "

    Disabled = "#{!}" bindings. CreateInsert1.enabled}" id ="cb2" partialSubmit ="true"/ >

    < / af:toolbar >

    < / f: facet >

    < af:table value = "#{bindings." Var EmployeeVO1.collectionModel}"="row ".

    lines = ' #{bindings. " EmployeeVO1.rangeSize}.

    emptyText = "#{bindings." EmployeeVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." EmployeeVO1.rangeSize}' rowBandingInterval = '0 '.

    filterModel = "#{bindings." EmployeeVO1Query.queryDescriptor}.

    queryListener = ' #{bindings. " FilterVisible EmployeeVO1Query.processQuery}"="true"varStatus ="vs. "

    selectedRowKeys = ' #{bindings. " EmployeeVO1.collectionModel.selectedRow}.

    selectionListener = "#{bindings." RowSelection EmployeeVO1.collectionModel.makeCurrent}' = 'single '.

    id = « t2 » "" partialTriggers = ": cb2: pc2:t1: pc2:cb1">

    < / af:table >

    < / af:panelCollection >

    < / f: facet >

    < f: facet = 'top' name >

    < af:panelCollection id = "pc2" >

    < f: facet name = "toolbar" >

    < af:toolbar id = 't3' >

    < af:commandButton actionListener = "#{bindings." CreateInsert.execute text}"="CreateInsert. "

    Disabled = "#{!}" bindings. CreateInsert.enabled}" id ="cb1"partialSubmit ="true"/ >

    < / af:toolbar >

    < / f: facet >

    < af:table value = "#{bindings." Var DepartmentVO1.collectionModel}"="row ".

    lines = ' #{bindings. " DepartmentVO1.rangeSize}.

    emptyText = "#{bindings." DepartmentVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." DepartmentVO1.rangeSize}' rowBandingInterval = '0 '.

    filterModel = "#{bindings." DepartmentVO1Query.queryDescriptor}.

    queryListener = ' #{bindings. " FilterVisible DepartmentVO1Query.processQuery}"="true"varStatus ="vs. "

    selectedRowKeys = ' #{bindings. " DepartmentVO1.collectionModel.selectedRow}.

    selectionListener = "#{bindings." RowSelection DepartmentVO1.collectionModel.makeCurrent}' = 'single '.

    id = « t1 » "" partialTriggers = ": cb1: pc1:cb2">

    < / af:table >

    < / af:panelCollection >

    < / f: facet >

    < / af:panelStretchLayout >

    < / af:form >



    Kind regards

    Deepti

    This means that it is a bug

    If you put your version Jdev or submit together partial false to get it working in the current version

    and drop a SR with Oracle Support

    Ashish

  • master/detail relationship through two workflow

    Hello world

    I use jdev 11.1.1.7.0.

    In my application, I created a relationship master-detail between departments and employees (departments is master and employees is detail). Then, I created two stubborn workflow.

    Department-stream with a department.jsff and I drag / drop the departmentVO as a form.

    dep.png

    employee-stream with an employee.jsff, on this page I drag / drop employeeVO located under departmentVO in the control panel of data:

    emp2.png

    can I use these two TFs (Department-flow and employee-flow) through two different ways

    1- I create a main.jspx page and I put two TFs as an area on main.jspx.

          <af:form id="f1">
            <af:region value="#{bindings.departmentflow1.regionModel}" id="r1"/>
            <af:region value="#{bindings.employeeflow1.regionModel}" id="r2"
                       partialTriggers="::r1"/>
          </af:form>
    
    

    in this case when I run the homepage, two TFs are in sync with each other, I mean when I navigate between departments in the workflow Department, employees in the employee flows are discount

    and also if I enlist in the workflow Department then changes in the flow of employee will be validated.

    2- in this case first I create a master stream with an master.jsff and then I put two TFs as an area on master.jsff.

     <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:region value="#{bindings.departmentflow1.regionModel}" id="r1"/>
      <af:region value="#{bindings.employeeflow1.regionModel}" id="r2"
                 partialTriggers="::r1"/>
    </jsp:root>
    
    

    and finally I put flow master as a region on the page main.jspx.

           <af:form id="f1">
            <af:region value="#{bindings.masterflow1.regionModel}" id="r1"/>
          </af:form>
    
    

    in this case, when I run the main.jspx , always the two page two TFs are in sync with each other (updating of employees when I navigate between departments)

    but in this case the validation in the workflow Department commit not changes in the flow of employee.

    Anyone know how I can I have this (validation cause Department-stream flow used as case 1)?

    Habib

    Concerning

    Habib,

    I just did what you said.

    1. Ran the mainWithMasterFlow.jspx,

    2. the Department rendered initially has only one employee.

    3. has changed the salary. (Kept the emphasis placed in the same field)

    4 click "Commit".

    Above scenario failed, because the change in value has not been submitted. Try adding autoSubmit = true for the salary field and then repeat the procedure, you will see the file be saved.

    Rambeau

  • AM question of Passivation on the creation of master / details (composition)

    Hi all

    I recently discovered some problems at our request on the passivation of the AOS.

    After reading some time on the web, I disabled the AM pooling on our application for testing on my built-in server that our request is 'activation-safe'

    After that, I have the following error when I try to create a new line on a "actually dated VO:

    java.lang.ArrayIndexOutOfBoundsException: 1
    at oracle.jbo.server.ViewObjectImpl.bldEffectiveDateKeys(ViewObjectImpl.java:15914)
    at oracle.jbo.server.ViewObjectImpl.bldKeysForMovingRows(ViewObjectImpl.java:15736)
    at oracle.jbo.server.ViewObjectImpl.moveRows(ViewObjectImpl.java:16096)
    at oracle.jbo.server.ViewObjectImpl.afterRowUpdate(ViewObjectImpl.java:14096)
    at oracle.jbo.server.ViewObjectImpl.sourceChanged(ViewObjectImpl.java:14395)
    at oracle.jbo.server.EntityCache.sendEvent(EntityCache.java:1557)
    at oracle.jbo.server.EntityCache.deliverEntityEvent(EntityCache.java:1573)
    at oracle.jbo.server.EntityCache.notifyColumnAndBlgChange(EntityCache.java:1629)
    at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7668)
    at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7649)
    at oracle.jbo.server.EntityImpl.notifyAttributesAndBlgChanged(EntityImpl.java:7658)
    at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3828)
    at oracle.jbo.server.EntityImpl.handleEffectiveDateRowCreate(EntityImpl.java:11669)
    at oracle.jbo.server.EntityImpl.handleEffectiveDateOperations(EntityImpl.java:11585)
    at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2652)
    at oracle.jbo.server.EntityImpl.validateChildren(EntityImpl.java:2364)
    at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:2511)
    at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2666)
    at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:4577)
    at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:1620)
    at oracle.adf.model.binding.DCBindingContainer.validateReferredDataControls(DCBindingContainer.java:4411)
    at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:4327)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4259)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.validateRegion(TaskFlowRegionController.java:311)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4249)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.validateRegion(TaskFlowRegionController.java:311)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4249)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:303)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:71)
    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 6.execute(Lifecycle.java:190)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at $200 (ADFPhaseListener.java:34) oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 3.after(ADFPhaseListener.java:428)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:520)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    to 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.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    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:128)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to 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.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    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)
    to 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:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    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:163)
    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)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to 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)

    If the AM pooling is enabled, no errors...

    No idea what means this exception?

    I use JDev 11.1.1.7, let me know if you need additional information on the VO, entity or something else...

    Many thanks for the suggestions,

    So what solved my problem was simply uncheck the "cascade update key attributes" relative to the association (composition). I still don't understand why that would be a problem to check if...

    No restrictions on Association (composition) with the option "Cascade update key attributes" checked when passivation/activation takes place on a newly created on two line master-detail VO?

  • How to create the column of the table for long-form Master detail relationship

    Apex 4.1

    Oracle 11g

    I created a form master detail and see the main table hotel_list and table hotel_mapping as detailed below.

    Hotel_list

    ID HOTEL_NAME

    1 Holiday Inn

    Hotel Hilton 2

    Hotel_mapping

    ID HOTEL_NAME MAPPING_NAME

    1 Inn Holiday Inn Select hotel

    2 holiday hotel Holiday Inn Select

    3 hotel Holiday Inn Holiday Inn Hotel

    4 Hilton Hotel Hilton Hotel chain

    Hotel Hilton 5 HiltonHotel

    Table Hotel_name Hotel_list is a linked table Hotel_mapping

    When I add a line to the Hotel_mapping table for the selected row in the hotel_list table, mapping_name of column is null, therefore impossible to create the relationship between the main table and the secondary table.

    I would like to know, how to create the relationship?

    Thank you very much

    Best regards

    Yong Huang,

    simple step see creating a form detailed master with APEX - Assistant Master retail

    and check how to maintain the relationship between two tables,

    simple return the packaged application «Sample of Masters details»

    and try to understand this concept...

    In your example, use Hotel_list.ID as a foreign key in the table Hotel_mapping

    and maintain the relationship with the column ID...

    and choose the display type of the column Hotel_list.ID in table Hotel_mapping as List(Query Based LOV) select.

    otherwise the best way is to create sample on oracle.apex.com

    I hope this helps...

    Leave.

  • Master / detail Edit - any form of detail is displayed on the page?

    I have a simple application, built on a master of table BPR_PROC (a single column, PROC_NM). And a secondary table BPR_RUN (PROC_NM columns and a few others). There are only 4 pages: (1 House, Master 2, 3, 4 Login details). I did this as a standard form - create selection master / detail.

    When I create or edit a master (PBR_PROC), the mounting happens on details page - well, very well so far. But no form is displayed with the detail rows exist (according to the BPR_RUN of detail table) or whatever it is for me to go into details. (I'm sure I've done app M - d. before and the change of details form appears at the bottom of the details page but I am noit do here).

    Question: How can I fix to add / modify detail rows?

    WS: APEX_EXAMPLES_01
    User: demo
    PW: demo
    Appl: BPR_991203

    Thank you
    Howard

    (For later: Question: is there a simple way to do the master editing on master rather than on the detail page?)

    Howard (in training) wrote:
    Ah! I've recreated the problem - this time on pages 12 & 13 and as before

    the point value / Expression 1 Is NOT NULL column condition on the detail region seems to lack a little:

    So, it's a "bug"?

    Probably something to do with the creation of forms of master-detail using ROWID instead of a real process of generated by the wizard of PK. APEX theory. PKs relational DB meaningful, immutable like immutable PKs. Despite the bug condition region of detail, is why your column editable PROC_NM if it is used as the PK? It is a good way to break things. (I created now orphaned detail rows).

    If you want to take advantage of the built-in features of APEX as ARP and MRU wizard-generated process, then go with the flow: use surrogate keys. Otherwise you'll spend your time to write a lot of code manual.

  • Master - Detail of the object View and Javabean

    I have a table with data from VO (database, let's say in table A). This table has Id, name and processId table. I also have a second table below the first table, what data comes from a javabean (source data not DB). I created this bean data control, which in turn, I created the second table.
    What I want to achieve, it is when a user to select a row in the first table, I wish that the second table is updated according to the processId value of the selected row in the first table.
    Would you share how to do it?

    Thank you.

    Hello

    my Oracle Magazine July/August 2012 column covers a similar use case of Web Services that work in a relationship master / detail with ADF business components view objects. In this article I recommend using the programmatic view objects and entities that this ensures the consistency of the master / detail is handled by the template and cannot be controlled manually on the view layer. I think that the possibility of using a JavaBean domain controller and synchronize it with the object View is a valid option, however, if the rest of your application using ADF business components then I would consider programmatic view objects (and entities if the app is CRUD to the POJO too)

    Here's a sample and a good report:

    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed_25.html
    http://jobinesh.blogspot.in/2011/06/building-programmatically-managed.html

    Frank

  • Failed to add new detail in the form of master detail record

    Hello

    I created a simple database application from scratch by selecting the start a page master detail. This has generated a report (for the parent) and a page of form (for the child). On using the form to add a new record to the child, the following error is generated:

    Internal error in the routine mru: ORA-20001: error in MRU: line = 1, ORA-01400: cannot insert NULL into ("Student" 1.) "" DELEGATE. " "" ""DELEGATE_ID"), insert"Student"1." DELEGATE values' ('DELEGATE_ID', 'CLIENT_ID', 'NAME', 'INITIAL', 'SEX', "SPECIAL_NEEDS") (: b1,: b2,: b3: b4,: b5,: b6)
    Error failed to process the update.

    The field 'child' in the error message is automatically hidden on the form and I guess on the generation of this form using the wizard I would have had the opportunity to link the field delegate_id to a trigger or a sequence like this seems to happen when you create a scratch from application database using other types of page. I'm new to Apex then I would be grateful if someone could let me know why this default behavior occurs.

    Kind regards

    Kevin.

    I tried for Apex 4.0.2 (my version) and 4.1 (on apex.oracle.com) and I'm wondering for the production of main PK and details in both versions.

    What are your steps exactly in the wizard? Like this?
    Create page-> form-> form detailed Master
    Now you see a list of steps sub whose "Source of primary key.

    Oh I see "Create an Application Assistant." in your message. Start with an empty application (blank page) and use the wizard to create a Page. Maybe it's the difference.

    Published by: InoL on November 18, 2011 09:27

Maybe you are looking for

  • Battery won't charge on my Satellite 3000 - x 4

    Hello I have a Satellite 3000 - x 4 which does not seem to charge the battery. Have tried new ones, but they do not recharge, defiler light flashes but does not load.All of the suggestions.

  • P70350 with the older M063-FF-206 engine

    I will set up a system of movement and the customer has an old Kollmorgen M062-FF206 ENGINE, 1.5 AMPS (inductance mH 18). I wonder if I can drive it with the control of motors not to not P70350?

  • is it better to use functions instead of objects? things get very complicated

    My App is trying to apply the method of Muller. I have about six classes. It appears to be too complicated to cope. Should I go back to the use of functions? (maybe two classes). I have to start over.

  • Office 3522: Not print or copy in true colors

    Lately, I've used my printer for black and white and now it will not print or copy in true colors. I have reset the printer and run the diagnostic software several times, and there is no error message. However, my test and alignment pages are fine. I

  • output parameter

    Hi allI'm using oracle 11.2.0.4I m using this for the purpose of learningI have a schema that contains tables of the Oracle scott with its data (for example, emp) schemaCREATE OR REPLACE PROCEDURE EMP_LOOKUP (P_EMPNO IN NUMBER,O_ENAME ON EMP. ENAME %