BUG?  Application Module State Management

I have 2 read-only view objects VO1 & VO2 with a View Link that links them by a primary key field. VO1 (master) is on the first .jspx page and VO2 (detail) is on the 2nd .jspx page. VO1 has a SQL query, but is populated programmatically in an App Module Service method that sets the where clause parameters. VO2 is on a separate .jspx page. VO2 has one bind variable in its SQL query that is populated when the user clicks a commandLink on a row within VO1 - this takes the user to the 2nd .jspx page to view VO2 table results.
The issue is that when the user navigates back to the first .jspx page containing VO1, a duplicate row is added to the end the data table (or as the first record on the second page of results if there are multiple pages.) If I re-query VO1, re-sort the data using the column headings, or passivate the data (see below), the duplicate row goes away. Note I have tried using the same iterator on both pages and this same issue occurs.
Ok - after 5 days of troubleshooting, here is the potential bug. If Application Pooling is enabled on the Application Module, I experience the issue above. If I don't enale Application Pooling, and Passivate state for the App Module, this issue does not occur (see below):
Application Module Settings - Error Occurs if Pooling is enabled
(unchecked) Failover Transaction State Upon Managed Release
(unchecked) Disconnect Application Module Upon Release
(checked) Support Dynamic JDBC Credentials
(checked) Reset Non-Transcational State Upon Unmanaged Release
(checked) Enable Application Module Pooing
If I un-check Enable Application Module Pooling the error does NOT occur. Note I've experimented with many combinations, and its only the Application Module Pooling that affects the behavior.
Note both view objects are set to Passivate state (but not for transient values, though tested passivating those as well and there was no difference.)
Can someone please advise? This is a showstopper for implementing our application to production. See the threads below for more information. Finally note that I have not yet been able to replicate this in a simple test case, but there is some specific characteristics about my current application causing this behavior (and it appears others have experienced as well.)
Duplicate rows displayed in list
Need help  - Duplicate Rows being added to View Object?
Thanks.
Here is the code on the AM service method to populate the rows for VO1 (no insert or create rows - only executing the query):
ViewObject vo1 = findViewObject("VO1");
vo1.setMaxFetchSize(250); // set max fetch size 250
vo1.setWhereClauseParam(0, x0);
vo1.setWhereClauseParam(1, x1);
vo1.setWhereClauseParam(2, x2);
vo1.setWhereClauseParam(3, x3);
vo1.setWhereClauseParam(4, x4);
vo1.setWhereClauseParam(5, x5);
vo1.setWhereClauseParam(6, x6);
vo1.setWhereClauseParam(7, x7);
vo1.setWhereClauseParam(8, x8);
vo1.setWhereClauseParam(9, x9);
vo1.setWhereClauseParam(10, x10);
vo1.executeQuery();
Message was edited by:
javaX

More information on this issue:
After further testing, I discovered that the 'Disconnect Application Module Upon Release' also plays a factor with this issue.
If 'Enable Application Module Pooling' is unchecked the issue does not occur because the view object is passivated.
If 'Enable Application Module Pooling' is checked (jbo.ampool.doampooling=true), then the issue occurs UNLESS I also set 'Disconnect Application Module Upon Release' (jbo.doconnnectionpooling=true). If I set the latter to true, then I do not experience the duplicate row issue. I would rather not have to enable jbo.doconnectionpooling=true because of the performance impacts as recommended in the dev guide. Any Suggestions?
-- updated on 10/1/06 ----
Setting jbo.doconnectionpooling=true only fixes this issue when I use a ViewLink as the mechanism to pass the row Id from VO1 (master on .jspx page #1) to VO2 (detail on page #2.) If I use an actionListener to pass the value from page #1 to page #2, setting jbo.doconnectionpooling=true does not fix the issue.
<af:commandLink actionListener="#{bindings.setCurrentRowWithKey.execute}"
action="page2" text="#{row.Name}">
<af:setActionListener from="#{row.Id}" to="#{backing_bean_page2.rowid}"/>
</af:commandLink>
Message was edited by:
javaX

Similar Messages

  • Issue with : Stateful BSP Applications: New State Management Option

    Reference:weblog by Thomas Jung -  /people/thomas.jung3/blog/2004/11/09/updated-stateful-bsp-applications-new-state-management-option
    I see a comment by one user to send the complete code... I am not sure what else can be sent   - try it out rather than getting spoon-fed. - getting offline - sorry...
    I had two issues with this ITSM way of session handling.
    First - if you are using an SP42 environment, check CL_BSP_RUNTIME=>ON_SESSION_CMD() to see if CANCEL is defined as an option. If not make sure that you use &sap-sessioncmd=CLOSE" instead of the &sap-sessioncmd=CANCEL" . If CANCEL is not defined , it will give you shortdumps...
    Second - when I closed the window, the session was not terminated. I used onbeforeUnLoad="exitBSPApplication(); instead of onUnLoad="exitBSPApplication(); and it worked fine. Not sure if it has any other issues.
    But now I am facing a new issue... all but one application is not ending... I have no clue on why this is happening.. I am still checking..
    Thanks Thomas, you are the best, as always...

    Thanks for checking the code in your system.
    After some investigation, I found the behavior as explained below.
    If the actual url has any fields passed as parameters, e.g.. /default.htm?var1=a&var2=2 ...
    - if I use CANCEL as the option, a shortdump is created and the session is not closed. if I use CLOSE, Session is terminated and no shortdump happens.
    If the actual url does not have any parameters, e.g.. /default.htm ...
    - CANCEL does the work, but CLOSE does not exit the session.
    In my applications I used request->get_form_fields to see if there are any parameters, and if there are, then I use CLOSE as the option and else, I use CANCEL. So now, the session
    management works beautifully...
    There is a good chance that I am doing something wrong here too.

  • Nested Application Module State

    As I understand it Application Modules (AM) that are nested inherit the parent 'Transaction'. My question is do they inherit the Stateful/Stateless behaviour from the parent ?

    yes it inherits' the complete definition.
    including release_mode, which is the parameter i assume, that you mean.
    hth clemens

  • Reset concrete Application Modules State for a concrete HttpSession

    Hi,
    I would like to know, if there's a way to see if a user have instantiated/created a SessionCookie for a concrete ApplicationModule.
    I'll need to reset states/release concrete ApplicationModules list of a user in a concrete moment (not all), but without knowing what of these AM on list were used or not by the user already. I suppose that if I can get the user used sessioncookies I'll be able to get all the AM used by the user and I could release all them state and ViewObjects/EntityObjects caches.
    There is a rational way to do this? Or maybe I would track on my own all the SessionCookies created for this user session (I've my own custom SessionCookieFactory)? Or exists any other way to do this?
    A note, I'm not interested on reseting all user used ApplicationModules State, only some of them, without invalidate the user HttpSession.
    Thanks in advanced.

    repost

  • How to execute multiple methods of application module from managed bean using operation binding

         im using jdev 11.1.2.3
    gettiing error..........in my page as below
    java.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1
    and weblogic log as below
    RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:521)
        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)
    Caused by: java.lang.NullPointerException
        at view.com.pof.admin.users.POFAdminUser.createPasswordHistory(POFAdminUser.java:64)
        at view.com.pof.admin.users.POFAdminUser.performOperationBinding(POFAdminUser.java:49)
        at view.com.pof.admin.users.POFAdminUser.saveData(POFAdminUser.java:28)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.el.parser.AstValue.invoke(Unknown Source)
        at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
        at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
        at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1545)
        at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
        at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)
        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
        ... 38 more

    User, I fail to understand what your header (of the question) has to do with the stack trace. You get a npe in your code
    view.com.pof.admin.users.POFAdminUser.createPasswordHistory(...)
    This is the point where I would start my investigation.
    Timo

  • ADF BC: Optimal Application Module Runtime Configuration

    Have implemented an intranet application for 1000 users using the following technologies implemented on Oracle JDeveloper 10.1.3.0.4:
    ADF BC for my Services layer
    JSF for my Controller layer
    JSF and ADF for my View layer
    ADF Model for my Data layer
    The application is entirely designed by .jspx and .jsp pages (for reports), handling 106 application modules, with several entity and view objects and without any step-by-step stateful scenario. At each page, there appears a commit button to commit the end-user transaction, and a rollback button to return to the previous page.
    The application is database-backed from an Oracle Database 10g, deployed on three application servers Oracle 10.1.3.1 on three different hosts on Suse Linux OS, used data-source connection and AM pooling, and load-balanced by one webcacher in front of the 3 servers.
    Under stress test scenario, on a heavy system load in production environment, several ADF State Management errors were recognized that pushed the webacher and application server with the maximum load to automatic restarts due to either demand for JVM increased heap size or errors from the database that the TNS listener complained it could not handle any more connections.
    Thus, we started a safety/reliability tess for all our application module components (disabling "Enable application module pooling"), and a stress test using a third-party stress tool at work, but we're still faced with several questions.
    (a) What is the best strategy for AM configuration, to quit State Management at all since our application doesn't need it, and if so can it be done globally or declaratively and not individually and programmatically?
    (b) Testing on application module runtime configuration, we observed that not to "hang-on" on a connection -default functionality- but to release it at the end of each HTTP request, as each deployment is concentrated on a single data-source connection pool/single user, brought less open JDBC connections on A.S.? Is this the optimal run-time configuration than the default for our case?
    (c) If State Management errors are resolved, and using a software balancer before 3 application servers, regulate the traffice by 1/3 to each, is it possible that a system crash will be avoided next time?
    So, our problems related to ADF tunning and State Management Errors, but we need a good advice on this topic as the overall documentation is case-specific.

    Chapter 29 "Understanding Application Module Pooling" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html is the best place to start. There is no "magic" optimal configuration that I (or anyone here, really) can suggest to you. You need to understand the various "knobs and dials" that control the pool sizing and pool cleanup behavior, and then apply application-specific information to this information to derive what the optimal configuration for your particular application will be. The chapter explains how the application module pool and database connection pool interact, and in which situations it is best to change the default setting of the jbo.doconnectionpooling property to true.
    Chapter 28 "Application Module State Management" describes the functionality of that facility of the framework, as well as how to release the application module in stateless, unmanaged mode if you need to.
    By following the tips in the section "28.3.2.4 Setting Release Level in an Custom ADF PageLifecycle" (which builds on information introduced in section "10.5.4.1 Globally Customizing the ADF Page Lifecycle"), you can generically impose a different release level in your application without "touching" every page.
    As a general rule, if you have:
    (*) Lots of distinct application modules
    (*) Each of which is used as a separate data control (rather than being nested inside a containing application module as described in section "8.9.3 Root Application Modules Versus Nested Application Module Usages" of the dev guide)
    (*) Each of which uses the same database connection
    Then as described in section "29.8 How Database and Application Module Pools Cooperate" in the guide, your application can decrease the total overall number of connections used by using the non-default setting of jbo.doconnectionpooling=true.
    Applications using many distinct data controls in the span of a single user's session need to be aware of Bug# 4566186 ("PERF: ADFBINDINGFILTER CHECKS OUT ALL ADF BC DATA CONTROLS USED AT LEAST ONCE"). This issue has been fixed in JDev/ADF 11g, but apparently the fix was too complex to accommodate a 10.1.X backport. I'm trying to document a workaround and publish it on my blog, but I'm not finished with it yet.

  • BUG: Can't create BC4J Application Module Configurations

    Hello,
    I'm using JDev 9.0.3.1 with Win2K and WinXP. There seems to be a bug in the BC4J Application Module Configuration Manager:
    It seems to be impossible to create a new BC4J Application Module Configuration with the Configuration Manager of a BC4J Application Module. I can copy an existing AM configuration, but I can not rename it. Clicking on the OK Button in the Configuration Manager simply does nothing.
    A work around seems to be to open bc4j.xcfg in any text editor, copy an AppModuleConfig element, save xcfg, in JDev remove the project form the workspace, readd it to the workspace (some caching issue of jdev?). Then the new AM config is there and can be modified.
    In JDev 9.0.3 the Config Manager seems to work fine.
    Regards
    Stefan

    The bug is mentioned in metalink bug 2849146.

  • JBO-25224: Could not disconnect and retain application module

    We are migrating an ADF application from Weblogic 10.3 to 10.3.3. The application works fine on 10.3 BUT on 10.3.3, when the application tries to connect to the database we get the following exception
    oracle.jbo.JboException: JBO-25224: Could not disconnect and retain application module state because database state exists for current connection.
    at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:4692)
    at oracle.jbo.server.DBTransactionImpl2.disconnect(DBTransactionImpl2.java:310)
    at oracle.jbo.server.DBTransactionImpl2.reconnect(DBTransactionImpl2.java:329)
    I shall really appreciate any help.
    thanks

    We are migrating an ADF application from Weblogic 10.3 to 10.3.3. The application works fine on 10.3 BUT on 10.3.3, when the application tries to connect to the database we get the following exception
    oracle.jbo.JboException: JBO-25224: Could not disconnect and retain application module state because database state exists for current connection.
    at oracle.jbo.server.DBTransactionImpl.disconnect(DBTransactionImpl.java:4692)
    at oracle.jbo.server.DBTransactionImpl2.disconnect(DBTransactionImpl2.java:310)
    at oracle.jbo.server.DBTransactionImpl2.reconnect(DBTransactionImpl2.java:329)
    I shall really appreciate any help.
    thanks

  • How to set  state-manager ? need to help!

    In my App I use Myfaces1.2.6 + RichFaces3.3.0, the <state-manager> setting in faces-config.xml which is right?
    NO.1:
    <state-manager>org.apache.myfaces.application.jsp.JspStateManagerImpl</state-manager>NO.2:
    <state-manager>org.ajax4jsf.application.AjaxStateManager</state-manager>And what is different between NO.1 and NO.2 , and do not set anything in <state-manager>?
    Edited by: ben_gan on Mar 12, 2009 3:18 AM

    1 will use MyFaces' state manager.
    2 will use Ajax4jsf's state manager.
    No setting will likely pick up the default setting, which is most probably the MyFaces state manager.

  • [svn:fx-trunk] 10050: Per-Module Style Management: Create a style manager for each application/module.

    Revision: 10050
    Author:   [email protected]
    Date:     2009-09-08 07:43:16 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Per-Module Style Management: Create a style manager for each application/module.
    The singleton StyleManager is still the only style manager that is currently used.
    QE notes: None.
    Doc notes: None.
    Bugs:
    Reviewer: Alex
    Tests run: checkintests, Managers/StyleManager
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to use prepared statement by Application Module on ADF?

    Hello
    i am using a prepared statement on the view side of my project,
    this is my code, i'm not sure about using this code.
    AppModuleGFTImpl am = (AppModuleGFTImpl) Configuration.createRootApplicationModule(amDef,config);
    try {
    ps =am.getDBTransaction().createPreparedStatement("Select * from XXXXXX where kullanici_id=? and sifre=?",0);
    ps.setString(1, kullanici);
    ps.setString(2, sifre);
    rs = ps.executeQuery();
    if (rs.next()) {
    girebilir = true;
    } else {
    girebilir = false;
    ps.close();
    rs.close();
    //am.getDBTransaction().closeTransaction(); ? I'm not Sure
    //Configuration.releaseRootApplicationModule(am, true); ? I'm not Sure
    Is it True? How we use this code on the project view side? Must we close Transaction, or release application Module.
    thanks for interest.
    sorry my english.

    Hello, for the SP you can use something like this in your application module
      private static final String BULKSTAMMENN =
        "begin IVA_OWNER.IVA_UI_ALGEMEEN_PCK.USM_SNELLE_INVOER_GUI( P_RLE_ID => :1, P_AANTAL => :2, P_OJR_JAAR => :3, P_RAS_ID => :4, P_TOELICHTING => :5, P_SUCCES => :6 ); end;";
    public void bulkStamen ( int rasId, int telerId, int jaar, int aantal, String toelichting ) {
        CallableStatement bulkStamenSP = null;
        try {
          bulkStamenSP = getDBTransaction().createCallableStatement( BULKSTAMMENN, 0 );
          bulkStamenSP.setInt( 1, telerId );
          bulkStamenSP.setInt( 2, aantal );
          bulkStamenSP.setInt( 3, jaar );
          bulkStamenSP.setInt( 4, rasId );
          bulkStamenSP.setString( 5, toelichting );
          bulkStamenSP.registerOutParameter( 6, Types.VARCHAR );
          bulkStamenSP.executeUpdate();
        } catch ( Exception e ) {
          log.warning( "Aanroep naar " + BULKSTAMMENN + " gefaald, " + e.getMessage() );
        } finally {
          if ( bulkStamenSP != null ) {
            try {
              bulkStamenSP.close();
            } catch ( Exception e ) {
              log.warning( e.getMessage() );
        log.info( "Stammen bulk uitgevoerd voor " + rasId + " " + telerId + " " + jaar + " " + aantal + " " +
                  toelichting );
      }You can then drag this method onto your page or right into your task flow if your using JDev 11.
    Also you can access it from a backing bean although the methods above are preferred
    -Anton

  • Check the Row state in Application Module.

    Hi All,
    I have an EOVO in my page. Is there any way to check the row state in Application module??
    My requirement is if any row is created for the EOVO , just delete it.
    Please suggest suitable methods to fulfill this requirement...
    Regards,
    Tarun

    Yes, you can check the status of the rows of a VO in Application Module(AM)
    In AM, get the instance of the VO and loop through it's rows and check the status of the rows as
    In row you have a method called getNewRowState(). It will return values like Row.STATUS_INITIALIZDED etc.
    Check the javadoc of oracle.jbo.Row for possible values and explanations about the status.
    So ideally you have to write a condition as follows. This is a sample code..just use as a guide.
    if (row.getNewRowState() = oracle.jbo.Row.STATUS_INITIALIZED){
    row.remove();
    Regards,
    Peddi.

  • JAG BUG ? "Set Application Module Superclass to JhsApplicationModuleImpl"

    Is it just me ? or ...
    Whenever I set "Set Application Module Superclass to JhsApplicationModuleImpl" to false and run the Application Generation ... the base class of our ApplicationModuleImpl is set to JhsApplicationModuleImpl anyway (which it is not supposed to do !).
    Our workaround is to go to our ApplicationModuleImpl and set the base class manually.
    Is this a JHS bug ?

    Hi Sandra,
    I just made a testcase and tried to reproduce the "anomoly" I encountered. And ... whatever I try, I cannot reproduce it anymore.
    My testcase:
    ==========
    JHS 10.1.2.1 (build 27)
    Jdev 10.1.2.1.0 (build 1913)
    - created ADF baseclasses in new project : BaseJhsApplicationModuleImpl extends JhsApplicationModuleImpl
    - created standard Emp business components
    - open ApplicationModuleImpl : extend from BaseJhsApplicationModuleImpl
    - enabled JHS on ViewController
    - created new ApplicationStructure (view=JSP ; Set AppModImpl = false)
    - run JAG
    -- open ApplicationModuleImpl : class still extends BaseJhsApplicationModule iso JhsApplicationModuleImpl (--> which is the correct behaviour)
    Whatever change I made to the ApplicationStructure ; the 'anomaly' did not return (fortunately).
    There must have been a glitch in Jdev ... always easy to blame the IDE ; )
    Thanks for your time,
    Pascal Prins

  • Table QBE-Filter BUG in combination with Application Module Pooling ?

    Hi,
    i use JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407, Java 1.6.0_14, ADF BC and ADF Faces.
    I have one View Object, one Page with a panelCollection and a table with option filtering (create via drag-and-drop from datacontrol).
    When I disable the application module pooling on the AM configuration and run the application, i can execute the query-by-example filter, but when I delete the filterCriteria and press enter (requerry for select all) the table shows the old data.
    Image for setting on application module:
    http://img265.imageshack.us/img265/1374/filterdoesnotwork1.png
    Image for execute querry and requerry for "all rows" (deleted filterCriteria)
    http://img140.imageshack.us/img140/1963/filterdoesnotwork2.png
    When I enable application module pooling all works fine. Is this a issue?
    kind regards

    Hi Frank,
    if I filter for employees which firstname starts with "D" and then for employees with "F" --> i see "No data to display.".
    So uncheck "Enable Application Module Pooling" on application module doesn't work with QBE-Filter ?
    I can send a testcase but it is so simple you can create it with jdeveloper in 2 minutes ;)
    Martin

  • Transaction Management for Nested Application Module

    Hi
    I'm using Jdev 11.1.2.0
    I am having nested Application Module. In that I want to separate view object data need to commit without commit the root application module view object.
    Is it possible. Kindly reply me.

    No, the root application module controls the transaction of all need application modules. A commit will commit all changes together. You have to use different root application modules for this.
    Timo

Maybe you are looking for

  • Synchronizing with Outlook (Calendar and Contacts) - Help.....

    My iPhone opens up Outlook but it is not pulling my Outlook contacts and calendar to the iPhone. On the iPhone info tab in iTunes it is checked sync contacts and calendars from Outlook and all contacts and calendars. Then every time when I connect it

  • Control to Stop Users Changing their Own Employee Master Data

    Hi all. I'm carrying out a security review of users on a SAP HR implementation as part of this we are looking at users that can change bank details, basic pay etc. I was wondering if there is a control in place on SAP that would stop a user with acce

  • Additional Fields In me21n

    hi all, My requirement is to add additional fields  in a new tab at header & line item level in ME21N.Ive copied the sample code of SAP in the interface of BADI ME_GUI_PO_CUST. but i cant see any new tab when i run the trx ME21N.Can any one suggest a

  • Is it possible to set songs at different volumes?

    Some songs are way louder than others in a mix. How do you fix it?

  • What's so good about an iPod?

    I have never held either a 2nd gen Nano nor 5th gen iPod nor any iPod gen. Obvious differences aside, I'm wondering why a user with both, other than gaming and video, would use one over the other? I seek purchase guidance. (I would ask the same contr