Jbo:InputSelectLOV whereclause not working??

Hi,
i have defined a datasource with a whereclause for a InputSelectLov, but the whereclause is not working. In the LOV Window all records will be displayed. Whats wrong?
<--
<%
String sWhereEmployee = "Employeeid= '" + session.getAttribute("custid") + "'";
%>
<%-- Display Workpackage in Combobox--%>
<jbo:DataSource id="ds_workpackage" appid="app1" viewobject="ViewWorkpackageView" whereclause="<%=sWhereEmployee%>" />
<uix:styledText text="Workpackage" />
<uix:rawText>
<jbo:InputSelectLOV
datasource="ds1"
dataitem="Wpid"
displaydatasource="ds_workpackage"
displaydataitem="Wpid, WorkpackageName, Employeeid"
displayvaluedataitem="Wpid"
formname="form1" >
</jbo:InputSelectLOV>
</uix:rawText>
-->
Any ideas??
Thanks
Achim

Achim,
Do you know a way to return two values instead of just one using the lovcomp.jsp. The current InputSelectLov returns only one value.
You help will be greatly appreciate it.
Kamran
[email protected]
703 696 1121

Similar Messages

  • HELP: jbo:InputSelectLOV whereclause not working

    Hi,
    i have defined a datasource with a whereclause for an jbo:InputSelectLOV, but the whereclause is not working. I can see all records in the LOV Window.
    JDeveloer Version 9.0.2.822
    What is wrong?
    <jbo:DataSource
    id="ds_workpackage"
    appid="app1"
    viewobject="ViewWorkpackageView"
    whereclause="Employeeid = 'ADD'"
    />
    <bc4juix:LabelStyledText datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    <uix:rawText>
    <jbo:InputSelectLOV
    datasource="ds1"
    dataitem="Wpid"
    displaydatasource="ds_workpackage"
    displaydataitem="Wpid, WorkpackageName, Employeeid"
    displayvaluedataitem="Wpid"
    formname="form1" >
    </jbo:InputSelectLOV>
    </uix:rawText>
    Thanks
    Achim

    REPOST

  • INPUTSELECTLOV jbo tag is not working  properly

    Hi,
    Developing BC4J/JSP application with struts framework in 9.0.3.1. I'm getting exceptions when i used InputSelectLOV tag.
    Here is my jsp code:
    <jbo:DataSource id="locProgSvcDS" appid="CSMSModule"
    viewobject="RGBModule.LocProgSvcsView"/>
    <jbo:DataSource id="programsDS" appid="CSMSModule"
    viewobject="RGBModule.ProgramsView"/>
    <jbo:InputSelectLOV datasource="locProgSvcDS" dataitem="ProgCd"
    displaydatasource="programsDS" displaydataitem="ProgName"
    displayvaluedataitem="ProgCd" formname="locProgSvcsForm" />
    When click on LOV small button I'm getting popup but with the following exception:
    500 Internal Server Error
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    java.lang.String java.lang.String.substring(int, int)
    String.java:1525
    int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag()
    ApplicationModuleTag.java:142
    void rgb.lovcomp._jspService(javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
    [rgb/lovcomp.jsp]
    lovcomp.jsp:80
    void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest,
    javax.servlet.ServletResponse)
    OrionHttpJspPage.java:56
    [SRC:/rgb/lovcomp.jsp:10]
    void
    oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, java.lang.String)
    JspPageTable.java:317
    void
    oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRe
    quest, javax.servlet.http.HttpServletResponse)
    JspServlet.java:465
    void
    oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse)
    JspServlet.java:379
    void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
    javax.servlet.ServletResponse)
    HttpServlet.java:853
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest,
    javax.servlet.ServletResponse)
    ServletRequestDispatcher.java:721
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.Servlet
    Request, javax.servlet.http.HttpServletResponse)
    ServletRequestDispatcher.java:306
    Text continued in next action...
    14-APR-04 14:37:58 GMT
    Text continued from previous action...
    boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS
    (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread,
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS
    (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse,
    java.io.InputStream, java.io.OutputStream, boolean)
    HttpRequestHandler.java:767
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
    HttpRequestHandler.java:259
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.run()
    HttpRequestHandler.java:106
    void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
    PooledExecutor.java:797
    void java.lang.Thread.run()
    Thread.java:484
    Please help me out from this. Thank you in advance.
    Raj

    to further jdeline's answer:
    it is also possible your mail server requires authentication.
    try adding
    username="FROM_account_user_name" and
    password="FROM_account_user_password" to your cfmail tag.
    there is also such thing as cf logs. and it crates one for
    mail it
    sends, too... you look there for errors if you have access to
    the logs
    (i.e. if you are not on a shared hosting)
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Struts tag not working with Jbo Tag-BUG??

    Hi
    I am developing application using Struts with BC4J and encountered this problem.
    In a JSP page if I have &lt;jbo:DataScroller&gt; tag and &lt;html:cancel /&gt; button, the button is not working.
    If I remove the datascroller tag cancel button works fine (the way it should).
    Not sure why this is happening, can Jdev team look into this.
    Thanks

    Sashi N Ravipati wrote : "Not using a DataScroller tag within a form tag is impossible. If u have an example of it let me know."
    File > New > Web Tier > Struts-Based JSP for Business Components > Complete Struts-Based JSP Application
    One of the files it generated for me was EmpView1_Browse.jsp:
    <%@ page language="java" import="oracle.jbo.*" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld"  prefix="jbo" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE><bean:message key="browse.title"/></TITLE>
    </head>
    <body>
    <jbo:DataTransaction appid="JdevModuleDataModel" />
    <h3><bean:message key="browse.header" arg0="EmpView1"/></h3>
    <table border="0">
      <tr>
        <td ALIGN="right"><jbo:DataScroller datasource="JdevModuleDataModel.EmpView1"/></td>
      </tr>
      <tr>
        <td><jbo:DataTable datasource="JdevModuleDataModel.EmpView1" edittarget="/edit_EmpView1.do"/></td>
      </tr>
    </table>
    </body>
    </html>A jbo:DataScroller tag is used and it is not within a form tag.
    success
    -Jan

  • How to get the value of an jbo:InputSelectLOV field

    I am trying to get the value that was picked by the user by jbo:InputSelectLOV field. The value just set by this is required for another field. The only way I can do this is by doing a commit every time the user picks a value. Any suggestions?. Note:I tried Jbo:PostChanges, it did not work.
    Here is the code snippet. The first Lov gets the value for LocationId. Contacts has LocationId as the foreign key, and I need this to pick ContactId.
    <tr>
    <td>Customerlocation</td>
    <td>
    <jbo:InputSelectLOV datasource="ds" dataitem="Customerlocationid"
    displaydatasource="CL" displaydataitem="Locationtype,Address1,Address2,City,State,Zip,Locationid"
    displayvaluedataitem="Locationid" formname="WorkfilesView_form"/>
    </td>
    </tr>
    <tr>
    <td>CustomerContactid</td>
    <td>
    <jbo:InputSelectLOV datasource="ds" dataitem="Customercontactid"
    displaydatasource="CC" displaydataitem="Contacttype,Contactinfo,Locationid,Contactid"
    displayvaluedataitem="Contactid" formname="WorkfilesView_form"/>
    </td>
    </tr>

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Charles (JDev team) ([email protected]):
    You can't do it right away, you have to submit first.
    When you return from the first lov, the locationId value is set the form input field but not to the datasource yet, which is what you need to be able to see it in the second lov.
    You need to submit the change immediately after the first lov is done and then forward to the same page.<HR></BLOCKQUOTE>
    Charles:
    Two questions:
    1. How to call the editSubmit.jsp automatically after the value is "picked". Right now I have a kludgy "Click Here" link which calls editSubmit.jsp
    2. I tried jbo:postchanges with out success. I have to commit to see the changes. Is this the right?.
    null

  • Next-Previous Do not work Properly for lengthly dynamic Where Clause

    I have created a View object using Expert Query mode
    with following Query:
    SELECT LIC_SYS_ID,
    LIC_NAME,
    TERRITORIES,
    LANGUAGES,
    MEDIA,
    SEGMENT_NAME,
    CHANNELS,
    ACTIVITY_CD,
    LS.LIC_SHORT_NAME,
    LS.LIC_AKA_NAME
    FROM V_LICENSEE_SEARCH LS
    ORDER BY LIC_NAME
    Then at run time the following Where Clause staments get added by in JSP based on the users criteria
    wClause = "(ACTIVITY_CD = '" + activityStatus + "')"
    + " AND " +
    "(LIC_NAME like '" + licenseeName + "%' OR " +
    " LIC_SHORT_NAME like '" + licenseeName + "%' OR " +
    " LIC_AKA_NAME like '" + licenseeName + "%' ) "
    In this case the DataScroller does not work properly It DataTable traves only one setp when I click the "Next" link, But if I use the Drop down list of the Scroller its works fine.
    Secondly the "Next" "Previous" links of the DataScroller work fine if I use only one stmt in the WhereClause ex: "ACTIVITY_CD LIKE 'A%'".
    Can anybody help me with this, Is this a limitation of DataScroller/DataTable/DataSource tags why does it not work??
    Please help me its urgent.
    Thanks a ton !!

    Thx for the reply, I did try your suggestion It did not throw any exception. Here is the log messages after enabling jbo Debug.
    [391] Reusing a cached session application module instance
    [392] Getting a connection for internal use...
    [393] Creating internal connection...
    [394] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    wClause : (ACTIVITY_CD = 'A') AND (LIC_NAME like 'A%' OR LIC_SHORT_NAME like 'A%' OR LIC_AKA_NAME like 'A%' )
    [395] Column count: 10
    [396] ViewObject : Reusing defined prepared Statement
    [397] $$added root$$ id=-2
    [398] Application Module failover is enabled
    [399] Getting a connection for internal use...
    [400] Creating internal connection...
    [401] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [402] <AM MomVer="0">
    <cd/>
    <VO>
    <VO Sz="8" St="8" Def="com.sophoi.ipls.media.tv.businessentities.licensee.LicenseeView" Name="licenseeView">
    <Wh>
    <![CDATA[(ACTIVITY_CD = 'A') AND (LIC_NAME like 'A%' OR  LIC_SHORT_NAME like 'A%' OR  LIC_AKA_NAME  like 'A%' )]]>
    </Wh>
    <Or>
    <![CDATA[LIC_NAME ASC]]>
    </Or>
    </VO>
    </VO>
    </AM>Long postings are being truncated to ~1 kB at this time.

  • Application is not working in Different environments

    Hi Experts,
    I am working in jdev 11.1.1.3.0 with ADF BC
    I have deployed my application in 1 environment it's working fine, the same application i depoyed in another environment it's not working.
    in the log i am getting as
    <Started WebLogic Managed Server "CardEmbosser_ms2" for domain "WLINTQA1" running in Production Mode>
    <Sep 15, 2010 10:31:27 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Sep 15, 2010 10:31:27 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Sep 15, 2010 10:36:12 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:12 AM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : CardEmbossNewUI#V2.0>
    <Sep 15, 2010 10:36:13 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:13 AM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found.">
    <Sep 15, 2010 10:36:33 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:36:33 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_09-20081212-SNAPSHOT) for context '/CardEmbossNewUI'>
    <Sep 15, 2010 10:37:01 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:37:01 AM oracle.adf.mbean.share.connection.ConnectionsRuntimeMXBeanImpl getNonCachedConnectionsContext
    INFO: Registering Connection Runtime MBean>
    <Sep 15, 2010 10:37:04 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:37:04 AM oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
    WARNING: Incomplete connection reference object for connection:Apps>
    <Sep 15, 2010 10:38:01 AM EDT> <Notice> <StdErr> <BEA-000000> <Sep 15, 2010 10:38:01 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: zip:/opt/oracle/domains/WLINTQA1/servers/CardEmbosser_ms2/tmp/_WL_user/CardEmbossNewUI_V2.0/jk9b9a/war/WEB-INF/lib/_wl_cls_gen.jar!/view/DataBindings.cpx>
    Can any one suggest me what is wrong here.

    Error which i am getting while going from one page to another page is:
    <Sep 16, 2010 8:58:36 AM EDT> <Notice> <StdErr>
    <BEA-000000> <Sep 16, 2010 8:58:36 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #15
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag$UIComponentTagAdapter
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    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:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.executeExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: javax/faces/webapp/UIComponentTag$UIComponentTagAdapter
    at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:58)
    at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
    at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:79)
    at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:36)
    at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:796)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1452)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1501)
    at oracle.adf.model.binding.DCParameter.internalEvaluateExpresion(DCParameter.java:202)
    at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:76)
    at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.getCriteriaName(JUSearchBindingCustomizer.java:1956)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._getCurrentViewCriteriaName(FacesCtrlSearchBinding.java:3600)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.getQueryDescriptor(FacesCtrlSearchBinding.java:153)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.internalGet(FacesCtrlSearchBinding.java:3414)
    at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1197)
    at oracle.adf.view.rich.component.UIXQuery.getValue(UIXQuery.java:442)
    at oracle.adf.view.rich.component.UIXQuery._setupAndStoreContextInRequest(UIXQuery.java:267)
    at oracle.adf.view.rich.component.UIXQuery.invokeOnComponent(UIXQuery.java:157)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1383)
    at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:544)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:141)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1333)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1427)
    at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:161)
    at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
    at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._fixClientIds(LifecycleImpl.java:925)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    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)
         ... 34 more
    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag$UIComponentTagAdapter
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
    ... 106 more>
    Can any one help me, it's very urgent for me, what may be the issue here.

  • Delete functionality is not working

    Hi
    I have two EOs on two base tables  PO_REQUISITIONS_INTERFACE_ALL  and PO_INTERFACE_ERRORS and i have one VO having both EOs attached and have the sql query in the VO as below. I attached this VO in the AM. I have a page having regions style as 'query' and construction mode as 'autoCustomizationCriteria' and in that page i have two regions one is search region and another is results region. In the results region i have a button called 'Delete' and my functionality is when ever i click on Delete i am expecting the records should be deleted in both tables. But when i click on delete record is getting deleted only from PO_INTERFACE_ERRORS table not from PO_REQUISITION_INTERFACE_ALL table. Please let me know what needs to be done to fix this issue. I am also placing the CO and AM code below
    VO Query
    SELECT xxpowlPOIntfErrorsEO.INTERFACE_TYPE,
           xxpowlPOIntfErrorsEO.INTERFACE_TRANSACTION_ID,
           xxpowlPOIntfErrorsEO.COLUMN_NAME,
           xxpowlPOIntfErrorsEO.ERROR_MESSAGE,
           xxpowlPOIntfErrorsEO.PROCESSING_DATE,
           xxpowlPOIntfErrorsEO.CREATION_DATE,
           xxpowlPOIntfErrorsEO.CREATED_BY,
           xxpowlPOIntfErrorsEO.LAST_UPDATE_DATE,
           xxpowlPOIntfErrorsEO.LAST_UPDATED_BY,
           xxpowlPOIntfErrorsEO.LAST_UPDATE_LOGIN,
           xxpowlPOIntfErrorsEO.REQUEST_ID,
           xxpowlPOIntfErrorsEO.PROGRAM_APPLICATION_ID,
           xxpowlPOIntfErrorsEO.PROGRAM_ID,
           xxpowlPOIntfErrorsEO.PROGRAM_UPDATE_DATE,
           xxpowlPOIntfErrorsEO.ERROR_MESSAGE_NAME,
           xxpowlPOIntfErrorsEO.TABLE_NAME,
           xxpowlPOIntfErrorsEO.BATCH_ID,
           xxpowlPOIntfErrorsEO.INTERFACE_HEADER_ID,
           xxpowlPOIntfErrorsEO.INTERFACE_LINE_ID,
           xxpowlPOIntfErrorsEO.INTERFACE_DISTRIBUTION_ID,
           xxpowlPOIntfErrorsEO.COLUMN_VALUE,
           xxpowlPOIntfErrorsEO.INTERFACE_LINE_LOCATION_ID,
           xxpowlPOIntfErrorsEO.INTERFACE_ATTR_VALUES_ID,
           xxpowlPOIntfErrorsEO.INTERFACE_ATTR_VALUES_TLP_ID,
           xxpowlPOIntfErrorsEO.PRICE_DIFF_INTERFACE_ID,
           xxpowlPOIntfErrorsEO.TOKEN1_NAME,
           xxpowlPOIntfErrorsEO.TOKEN1_VALUE,
           xxpowlPOIntfErrorsEO.TOKEN2_NAME,
           xxpowlPOIntfErrorsEO.TOKEN2_VALUE,
           xxpowlPOIntfErrorsEO.TOKEN3_NAME,
           xxpowlPOIntfErrorsEO.TOKEN3_VALUE,
           xxpowlPOIntfErrorsEO.TOKEN4_NAME,
           xxpowlPOIntfErrorsEO.TOKEN4_VALUE,
           xxpowlPOIntfErrorsEO.TOKEN5_NAME,
           xxpowlPOIntfErrorsEO.TOKEN5_VALUE,
           xxpowlPOIntfErrorsEO.TOKEN6_NAME,
           xxpowlPOIntfErrorsEO.TOKEN6_VALUE,
           xxpowlPOIntfErrorsEO.APP_NAME,
           xxpowlPOIntfErrorsEO.ROWID,
           xxpowlPOReqIntfAllEO.TRANSACTION_ID,
           xxpowlPOReqIntfAllEO.PROCESS_FLAG,
           xxpowlPOReqIntfAllEO.REQUEST_ID AS REQUEST_ID1,
           xxpowlPOReqIntfAllEO.PROGRAM_ID AS PROGRAM_ID1,
           xxpowlPOReqIntfAllEO.PROGRAM_APPLICATION_ID AS PROGRAM_APPLICATION_ID1,
           xxpowlPOReqIntfAllEO.PROGRAM_UPDATE_DATE AS PROGRAM_UPDATE_DATE1,
           xxpowlPOReqIntfAllEO.LAST_UPDATED_BY AS LAST_UPDATED_BY1,
           xxpowlPOReqIntfAllEO.LAST_UPDATE_DATE AS LAST_UPDATE_DATE1,
           xxpowlPOReqIntfAllEO.LAST_UPDATE_LOGIN AS LAST_UPDATE_LOGIN1,
           xxpowlPOReqIntfAllEO.CREATION_DATE AS CREATION_DATE1,
           xxpowlPOReqIntfAllEO.CREATED_BY AS CREATED_BY1,
           xxpowlPOReqIntfAllEO.INTERFACE_SOURCE_CODE,
           xxpowlPOReqIntfAllEO.INTERFACE_SOURCE_LINE_ID,
           xxpowlPOReqIntfAllEO.SOURCE_TYPE_CODE,
           xxpowlPOReqIntfAllEO.REQUISITION_HEADER_ID,
           xxpowlPOReqIntfAllEO.REQUISITION_LINE_ID,
           xxpowlPOReqIntfAllEO.REQ_DISTRIBUTION_ID,
           xxpowlPOReqIntfAllEO.ROWID AS ROW_ID1
    FROM PO.PO_INTERFACE_ERRORS xxpowlPOIntfErrorsEO, PO.PO_REQUISITIONS_INTERFACE_ALL xxpowlPOReqIntfAllEO
    WHERE xxpowlPOIntfErrorsEO.INTERFACE_TRANSACTION_ID = xxpowlPOReqIntfAllEO.TRANSACTION_ID AND xxpowlPOIntfErrorsEO.INTERFACE_TYPE = 'REQIMPORT' AND xxpowlPOIntfErrorsEO.REQUEST_ID IS NOT NULL
    Controller Page Code
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package powl.oracle.apps.xxpowl.po.requisition.webui;
    import com.sun.java.util.collections.HashMap;
    //import com.sun.java.util.collections.Hashtable;
    import java.util.Hashtable;
    //import java.util.HashMap;
    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    * Controller for ...
    public class xxpowlPOReqIntfAllSearchPageCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
             String userClicked = pageContext.getParameter("event");
             System.out.println("Event from processFormRequest in SearchPageCO :"+userClicked);
           System.out.println("Parametere Names are :- \t" + pageContext.getParameter("UpdateImage"));
           System.out.println("Parametere Names are :- \t" + pageContext.getParameter("event"));
         if (pageContext.getParameter("event") != null &&
             pageContext.getParameter("event").equalsIgnoreCase("Update")) { 
             String ReqTransactionId=(String)pageContext.getParameter("transacitonidParam");
             String errorcolumn=(String)pageContext.getParameter("errorcolumnParam");
             String errormsg=(String)pageContext.getParameter("errormessageParam");
             String readyonly="Y"; //(String)pageContext.getParameter("readonlyParam");
             System.out.println("Requisition Transaction Id  : "+ReqTransactionId);
             System.out.println("Error Column  : "+errorcolumn);
             System.out.println("Error Message  : "+errormsg);
             System.out.println("Read Only  : "+readyonly);
             HashMap params = new HashMap(4);
             params.put("HashmapTransacitonid",ReqTransactionId);
             params.put("HashmapErrorcolumn",errorcolumn);
             params.put("HashmapErrormessage",errormsg);
             params.put("HashmapReadonly",readyonly);
             pageContext.putSessionValue("testValue",ReqTransactionId);
             //System.out.println("Transaction Id passing through HashMap :- \t" + ReqTransactionId);
             pageContext.setForwardURL("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllUpdatePG",
                                        null,
                                        OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                        null,
                                        params,
                                        true,
                                        OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
                                        OAWebBeanConstants.IGNORE_MESSAGES) ;   
    else if (pageContext.getParameter("event") != null &&
             pageContext.getParameter("event").equalsIgnoreCase("Delete")) {   
        System.out.println("Inside Delete method in SearchCO");
        String deleteTransactionID=(String)pageContext.getParameter("deleteTransactionIDParam");
        System.out.println("Transaction Id in Delete Method :- \t" + deleteTransactionID);
        MessageToken[] tokens = { new MessageToken("MESSAGE_NAME", "") };
        OAException mainMessage = new OAException("FND", "FND_MESSAGE_DELETE_WARNING", tokens);
        OADialogPage dialogPage = new OADialogPage(OAException.WARNING,mainMessage, null, "", "");
        String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
        String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
        dialogPage.setOkButtonItemName("DeleteYesButton");
        dialogPage.setOkButtonToPost(true);
        dialogPage.setNoButtonToPost(true);
        dialogPage.setPostToCallingPage(true);
        dialogPage.setOkButtonLabel(yes);
        dialogPage.setNoButtonLabel(no);
        Hashtable formParams = new Hashtable(1);
        formParams.put("transactionIdDeleted", deleteTransactionID);
        dialogPage.setFormParameters(formParams);
        pageContext.redirectToDialogPage(dialogPage);
    else if (pageContext.getParameter("DeleteYesButton") != null)
            System.out.println("Inside DeleteYesButton method in SearchCO");
            String deleteTransactionID = (String)pageContext.getParameter("transactionIdDeleted");
            System.out.println("Tranaction ID getting deleted: "+deleteTransactionID);        
            Serializable[] parameters = { deleteTransactionID };
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            am.invokeMethod("deleteItem", parameters);
            OAException message1 = new OAException("CN", "CN_QUOTA_PE_DELETED",null,OAException.CONFIRMATION, null);        
             pageContext.putDialogMessage(message1);
    else
    AMImpl.java code
       public void deleteItem(String trasnsactionID)
         Number rowToDelete = new Number(Integer.parseInt(trasnsactionID));      
         OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfAllVO();
         xxpowlPOReqIntfAllVORowImpl row = null;
         int fetchedRowCount = vo.getFetchedRowCount();
         RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
         if (fetchedRowCount > 0)
           deleteIter.setRangeStart(0);
           deleteIter.setRangeSize(fetchedRowCount);
           for (int i = 0; i < fetchedRowCount; i++)
             row = (xxpowlPOReqIntfAllVORowImpl)deleteIter.getRowAtRangeIndex(i);
             Number PK = row.getTransactionId();
             if (PK.compareTo(rowToDelete) == 0)
               row.remove();
               getTransaction().commit();
               break;
         deleteIter.closeRowSetIterator();

    Thanks..I changed and unchecked the 'Reference Flag' for Interface Lines VO while adding EOs in VO and it worked as it is deleting the record in Interface Lines Table also. But here i am getting one more issue on specific scenario.
    My design of this development is as follow...
    1. Search Page in which users give some search criteria and results will be displayed in the results region on the same page. For each results record I have two buttons like 'Update' and 'Delete' so that users can delete the record or can update the record. For update i created a one more page where users can able to edit and save the data.
    Suppose I have one record in interface lines table and two records in error tables.When users given the search criteria and hit enter they found two records for same interface line. It means i have two records in error table and one record in interface table and both tables have same transaction id. So here user first try to update one record and it is working. After update he try to delete a record then I am getting below error. Please note that I am not getting this error when if i directly delete the record with out doing any update before delete.
    Unable to perform transaction on the record.
    Cause: The record contains stale data. The record has been modified by another user.
    Action: Cancel the transaction and re-query the record to get the new data.
    My UpdatePage Controller
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package powl.oracle.apps.xxpowl.po.requisition.webui;
    import com.sun.java.util.collections.HashMap;
    import com.sun.rowset.internal.Row;
    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    //import oracle.apps.fnd.oam.diagnostics.report.Row;
    import oracle.apps.icx.por.common.webui.ClientUtil;
    import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateAMImpl;
    import powl.oracle.apps.xxpowl.po.requisition.server.xxpowlPOReqIntfUpdateEOVOImpl;
    * Controller for ...
    public class xxpowlPOReqIntfAllUpdatePageCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
         xxpowlPOReqIntfUpdateAMImpl am = (xxpowlPOReqIntfUpdateAMImpl)pageContext.getApplicationModule(webBean);
          xxpowlPOReqIntfUpdateEOVOImpl UpdateVO =(xxpowlPOReqIntfUpdateEOVOImpl)am.findViewObject("xxpowlPOReqIntfUpdateEOVOImpl");
          String newvalue = (String)pageContext.getSessionValue("testValue");     
          System.out.println("Transaction ID from processRequest UpdateCO from testValue field:"+newvalue);
          String transactionid = pageContext.getParameter("HashmapTransacitonid");
          System.out.println("Transaction ID from processRequest Hash Map in UpdateCO :"+transactionid);
          String errorcolumn = pageContext.getParameter("HashmapErrorcolumn");
          System.out.println("Error Column Name from processRequest Hash Map in UpdateCO :"+errorcolumn);
          String errormsg = pageContext.getParameter("HashmapErrormessage");
          System.out.println("Error Message from processRequest Hash Map in UpdateCO :"+errormsg);
          String readyonly = pageContext.getParameter("HashmapReadonly");
          System.out.println("Read Only value from processRequest Hash Map in UpdateCO :"+readyonly);
          if (transactionid !=null & !"".equals(transactionid)) { 
         /* Passing below four parameters to the Update Page */
          Serializable amParams[] = new Serializable[]{transactionid,readyonly,errorcolumn,errormsg} ;
          pageContext.getRootApplicationModule().invokeMethod("executexxpowlPOReqIntfUpdateEOVO", amParams);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);      
         OAApplicationModule am = pageContext.getApplicationModule(webBean);
          if (pageContext.getParameter("ApplyButton") != null)
            System.out.println("Inside ApplyButton method in UpdatePageCO");
            OAViewObject vo = (OAViewObject)am.findViewObject("xxpowlPOReqIntfUpdateEOVO");
            String transactionid = pageContext.getParameter("HashmapTransacitonid");
            System.out.println("Transaction ID from processFormRequest Hash Map in UpdateCO-ApplyButton method :"+transactionid);
            am.invokeMethod("apply");
              pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
                                                     null,
                                                     OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                                     null,
                                                     null,
                                                     true,
                                                     OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
           else if (pageContext.getParameter("CancelButton") != null)
            am.invokeMethod("rollback");
            pageContext.forwardImmediately("OA.jsp?page=/powl/oracle/apps/xxpowl/po/requisition/webui/xxpowlPOReqIntfAllPG",
                                                   null,
                                                   OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                                   null,
                                                   null,
                                                   true,
                                                   OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    UpdatePageAMImpl.java
    package powl.oracle.apps.xxpowl.po.requisition.server;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.inv.appsphor.order.server.XxapOrderHeaderVOImpl;
    import oracle.jbo.Transaction;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class xxpowlPOReqIntfUpdateAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public xxpowlPOReqIntfUpdateAMImpl() {
        /**Container's getter for xxpowlPOReqIntfUpdateEOVO
        public xxpowlPOReqIntfUpdateEOVOImpl getxxpowlPOReqIntfUpdateEOVO() {
            return (xxpowlPOReqIntfUpdateEOVOImpl)findViewObject("xxpowlPOReqIntfUpdateEOVO");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) {
            launchTester("powl.oracle.apps.xxpowl.po.requisition.server", /* package name */
          "xxpowlPOReqIntfUpdateAMLocal" /* Configuration Name */);
    /*  // Added by 
        public void execute_update_query(String TransactionID) {
        xxpowlPOReqIntfUpdateEOVOImpl vo = getxxpowlPOReqIntfUpdateEOVO();
        vo.initQuery(TransactionID);
    // Added by  , this will not call bec changed the logic and so now the update button enabled on search results page
    // and this method will not called
    public void pageInEditMode (String transactionID, String readOnlyFlag, String ErrorColumn,
                                                                           String ErrorMessage)
        System.out.println("Transaction Id from pageInEditMode in UpdatePGAMImpl.java: "+transactionID);
        System.out.println("xxReadOnly from pageInEditMode in UpdatePGAMImpl.java: "+readOnlyFlag);
        // Get the VO
        xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
        //Remove the where clause that was added in the previous run
        updateVO.setWhereClause(null);
        //Remove the bind parameters that were added in the previous run.
        updateVO.setWhereClauseParams(null);
        //Add where clause
        // updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
        //Bind transactionid to the where clause.
         // updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
          updateVO.setWhereClauseParam(0, transactionID);
        //Execute the query.
        updateVO.executeQuery();
        xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
        // Assiging the transient varaibles
        currentRow.setxxErrorMessage(ErrorMessage);
        currentRow.setxxErrorColumn(ErrorColumn);
        if ("N".equals(readOnlyFlag))
              /* Make the attribute to 'False so that all fields will be displayed in Edit Mode because we used this
               xxReadOnly as SPEL  */
               currentRow.setxxReadOnly(Boolean.FALSE);
       public void executexxpowlPOReqIntfUpdateEOVO(String transactionID, String xxReadyOnly, String ErrorColumn,
                                                                                              String ErrorMessage)
           System.out.println("Transaction Id from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+transactionID);
           System.out.println("xxReadOnly from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+xxReadyOnly);
           System.out.println("Error Message from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorColumn);
           System.out.println("Error Column from executexxpowlPOReqIntfUpdateEOVO in UpdatePGAMImpl.java: "+ErrorMessage);
         // Get the VO
         xxpowlPOReqIntfUpdateEOVOImpl updateVO = getxxpowlPOReqIntfUpdateEOVO();
         //xxpowlPOReqIntfUpdateEOVORowImpl updaterowVO = xxpowlPOReqIntfUpdateEOVO();
       //not working
       //    OARow row = (OARow)updateVO.getCurrentRow();
       //    row.setAttribute("xxReadOnly", Boolean.TRUE);
    // updateVO.putTransientValue('XXXXX',x);
         //Remove the where clause that was added in the previous run
         updateVO.setWhereClause(null);
         //Remove the bind parameters that were added in the previous run.
         updateVO.setWhereClauseParams(null);
         //Add where clause
         // updateVO.addWhereClause(" TRANSACTION_ID = :1 ");
         //Bind transactionid to the where clause.
          // updateVO.setWhereClauseParam(1, transactionID); // this will not work bec it will start with zero from from 1
           updateVO.setWhereClauseParam(0, transactionID);
        // updateVO.setWhereClauseParam(1, ErorrColumn); 
         //Execute the query.
         updateVO.executeQuery();
         /* We want the page should be read only initially so after executing the VO with above command
            and if you use next() it will go to the first record among the
            fetched records. If you want to iterate for all the records then use iterator */
            /* Using Iterator
             while(updateVO.hasNext()) {  // this will check after execute Query above command if it has any rows
              xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
              /* above line next() will take the control of the first record */
          /*     currentRow.setxxErrorMessage(ErrorMessage);
                 currentRow.setxxErrorColumn(ErrorColumn);
               if ("Y".equals(xxReadyOnly))
                      currentRow.setxxReadOnly(Boolean.TRUE);                 
             } // this while loop will loop till end of all the fetched records
         xxpowlPOReqIntfUpdateEOVORowImpl currentRow = (xxpowlPOReqIntfUpdateEOVORowImpl)updateVO.next();
      // Assiging the transient varaibles
      currentRow.setxxErrorMessage(ErrorMessage);
      currentRow.setxxErrorColumn(ErrorColumn);
        /* Make the attribute to 'TRUE' so that all fields will be displayed as READ ONLY because we used this
           xxReadOnly as SPEL
           if ("Y".equals(xxReadyOnly))
                  currentRow.setxxReadOnly(Boolean.TRUE);            
      //Added by  and this methiod will get called from UpdatePG Process Form Request controller  
         public void rollback()
           Transaction txn = getTransaction();
           if (txn.isDirty())
             txn.rollback();
        public void apply()
            //OAViewObject vo1 = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
            //Number chargeAccountID = vo1.get
          getTransaction().commit();      
          OAViewObject vo = (OAViewObject)getxxpowlPOReqIntfUpdateEOVO();
          if (!vo.isPreparedForExecution())
           vo.executeQuery();

  • Bean is not worked  in the jsff page

    Hi
    JDeveloper Studio Edition Version 11.1.2.2.0
    I Have a bean for run a jasperreport
    package Reports;
    import javax.faces.event.ActionEvent;
    import sp11.model.apm.clubImpl;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.math.BigDecimal;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import net.sf.jasperreports.view.JasperViewer;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.binding.BindingContainer;
    import oracle.jbo.client.Configuration;
    public class CardFrontBean {
    public CardFrontBean() {
    public String runReportAction(){
    DCIteratorBinding rleIter = (DCIteratorBinding)getBindings().get("RealentityIterator");
    String RleId = rleIter.getCurrentRow().getAttribute("RleId").toString();
    BigDecimal ID = new BigDecimal(RleId);
    Map parameter = new HashMap();
    parameter.put("ID", ID);// where ID is a jasper report parameter
    try
    runReport("card_front.jasper", parameter);
    catch (Exception e)
    return null;
    public BindingContainer getBindings(){
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public ServletContext getContext(){
    return (ServletContext)getFacesContext().getExternalContext().getContext();
    public HttpServletResponse getResponse(){
    return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
    public static FacesContext getFacesContext(){
    return FacesContext.getCurrentInstance();
    public void runReport(String repPath, java.util.Map param) throws Exception {
    Connection conn = null;
    try
    HttpServletResponse response = getResponse();
    ServletOutputStream out = response.getOutputStream();
    response.setHeader("Cache-Control", "attachment;filename=\"CardFront.pdf\"");
    response.setContentType("application/pdf");
    ServletContext context = getContext();
    InputStream fs = context.getResourceAsStream("/ReportsFolder/" + repPath);
    JasperReport template = (JasperReport) JRLoader.loadObject(fs);
    template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
    PreparedStatement statement = null;
    String amDef = "sp11.model.apm.club";
    String config = "clubLocal";
    clubImpl am = (clubImpl)Configuration.createRootApplicationModule(amDef,config);
    statement = am.getDBTransaction().createPreparedStatement("select 1 from dual", 0);
    conn = statement.getConnection();
    JasperPrint print = JasperFillManager.fillReport(template, param, conn);
    //JasperViewer.viewReport(print, false);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JasperExportManager.exportReportToPdfStream(print, baos);
    out.write(baos.toByteArray());
    out.flush();
    out.close();
    FacesContext.getCurrentInstance().responseComplete();
    catch (Exception jex)
    jex.printStackTrace();
    finally
    close(conn);
    public void close(Connection con){
    if (con != null)
    try
    con.close();
    catch (Exception e)
    and a commandButton in the .jsff page
    <af:commandButton id="Realentitycardfront"
    textAndAccessKey="#{nls['REALENTITY_CARDFRONT']}"
    shortDesc="#{nls['REALENTITY_CARDFRONT_HINT']}"
    action="#{CardFront.runReportAction}"/>
    my .jsff page is in a bounded task flow with Use Page Fragments = true
    when i click the button. ........>nothing
    what is the matter
    i read in a post that it is not work in jsff page with page fragmentation
    please help me
    thanks

    One problem is that you write into the output stream from an action method and don't know what's already in the output stream. Once there is one byte written to hte stream (which you can't know from inside the action method) the pdf stream does not behave as you think it would.
    Next thing is that you use createRootApplicationModule but never release it. This will get you out of resources error eventually.
    A better approach would be to put this code in a servlet and stream the report from there. In the servlet you have control over the output stream.
    Check my blog http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ where I show how to serve images from a servlet which can even use the application module pool from the application (no need to use createRootApplicationModule at all). All you have to do is to exchange the part where I get and stream the image data to your needs.
    Timo

  • DBTransactionStateListener not working properly in JDeveloper 11g TP4

    Hi All
    I've created a custom DCTransactionStateListener and implement transactionStateChanged(boolean state) method. When the db transaction state is being changed i set a parameter in the HttpSession. I need this in order to know if transaction is dirty.
    In JDeveloper 11g TP3 it's working properly, but now i test it in TP4 and it's not working. The method is not called. I've tried with delete and modify existing rows, but the method transactionStateChanged(boolean state) was not called.
    Please anyone give some help to resolve this.
    Regards,
    JavaDeVeLoper

    In general, you should be able to reference the isTransactionDirty() property of the data control without needing to create your own custom listener here, but it looks like for the TP4 and later builds, if you do want a custom DCTransactionStateListener, you'll need to override the
    package model.utils;
    import oracle.adf.model.bc4j.DataControlFactoryImpl;
    public class MyDataControlFactoryImpl extends DataControlFactoryImpl {
      public MyDataControlFactoryImpl() {
      protected String getDataControlClassName() {
        return MyCustomDCJboDataControl.class.getName();
    package model.utils;
    import oracle.jbo.common.ampool.SessionCookie;
    import oracle.jbo.uicli.binding.JUApplication;
    public class MyCustomDCJboDataControl extends JUApplication {
      public MyCustomDCJboDataControl() {
        addTransactionStateListener(new MyDCTransactionStateListener());
      public MyCustomDCJboDataControl(SessionCookie sessionCookie)
         super(sessionCookie);
         addTransactionStateListener(new MyDCTransactionStateListener());
    }

  • FindByAltKey() is not working properly with the nullable elemens in the Key

    HI
    I am facing a problem while using findByAltKey(). I have an alternate key in my Entity Object with few nullable/non nullable columns.
    When I call finidByAltKey() with the key as a combination of non nullable columns It is working fine , that means the row iterator has some elements if that key exists in the Database.
    When I call findByAltKey() with the key as combination of nullable columns It is not working, that means the row iterator does not have any elements
    Key key = new Key(new Object[]
    { dataBean.getCapability(),dataBean.getFeasibilityFlag(),dataBean.getLineOfBusiness(),dataBean.getPriority(),dataBean.getDesGeoBegValue(),dataBean.getDesGeoEndValue(),dataBean.getDesGeoType(),dataBean.getOriGeoBegValue(),dataBean.getOriGeoEndValue(),dataBean.getOriGeoType() });
    RowIterator rows = vo.findByAltKey("NetworkFeasibilityAltKey",key,2,false);
    System.out.println(rows.hasNext());
    if(!rows.hasNext()){
    // Do this
    }else {
    // Do something else
    rows.hasNext() always givine me false value eventhough that key exists
    When I commit the row I am getting below exception
    oracle.jbo.TooManyObjectsException: JBO-28204: Too many objects match the alternate key oracle.jbo.Key[DEDS N DEDC 1 NJ null ST DEPERE null CT ] for entity sni.nm.model.entities.NetworkFeasibilityEO, key NetworkFeasibilityAltKey.
    I suspect null values are creating some problem...

    '''McAfee Site Advisor:''' https://support.mozilla.com/questions/837419
    Look for an updated version in about the 3rd week of July; hopefully they'll fix their many other errors besides, I don't think I've been able to use it since about Firefox 3.6.0 or maybe 3.6.6
    Be aware that if you currently choose to use McAfee Site Advisor it has some serious problems for Firefox users, check
    *http://kb.mozillazine.org/Problematic_extensions for some things to watch out for.
    *https://support.mozilla.com/questions/837877
    *https://community.mcafee.com/message/195191

  • Estimatedrowcount not working in Batch mode

    We have a page where we conditionally display navigation buttons based on whether a view's estimated row count is gt 10 rows. This is done via JSTL. Prior to getting to the page, a data-action refreshes the three views. In Batch mode, when we re-enter this screen a second time, all views return the estimated row count of RANGESIZE rows. If we reset the iterator range size to 6 or 7, the second time in, it would return 6 or 7 rows and the buttons would be GONE.
    Interestingly enough, the dataaction displays the view object's getEstimatedRowCount(), and it is ALWAYS correct, however the front end does not work.
    When we switch to IMMEDIATE mode, it works fine, however IMMEDIATE mode breaks another part of our application, where we attempt to find a row in an iterator inside of a data action. Of course, that section works fine in BATCH mode, but no IMMEDIATE.
    We saw a thread out there on Metalink regarding this last issue - that setCurrentRowWIthKey returns a JBO-25020 in 10.1.2 in IMMEDIATE mode, but there was no solution.
    Are there some words of advice for this sync mode issue and ways to resolve issues like this?
    Again, assistance would be GREATLY appreciated!!!!

    Are you using the parameter 'INSERT' in 'SAVE_TEXT' FM?
    The module can be used to change existing texts and to create new texts. If it is clear that it is a new text, this can be specified via the parameter INSERT. The result is better performance as a test read is not performed.

  • DBsequence not working in ADF app

    HI All
    I am using Jdeveloper 11g release 2 (11.1.2.3.0) and Oracle DB.
    I have created an entity object and set the type of the filed as DBseequence but forgot to insert the sequence+trigger in the database for the table from which it was created.
    I have also created a view object for this EO, and through the app module have used it i a page.
    Clearly the submit and/or commit were not working because of the missing seq+trigger.
    I created the seq + trigger on the db, everything works fine if I insert a record from the db, and the id is generated as it should.
    When i try to do the same from ADF (tried from the page and from the model tester) i get the following error : (oracle.jbo.AttrValException) JBO-27014: Attribute Invoiceid in Invoices is required.
    It seems that the fact that there is a sequence to generate the id is not recognized.
    Any ideas?
    Thank you

    Or you use the groovy approach which doesn't need the db trigger and is easy to implement.
    Check out http://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/
    Timo

  • Entity row with key oracle.jbo.Key is not found in EO

    Hi,
    We are using jDev 11.1.1.5.0.
    I am facing the issue Entity row with key oracle.jbo.Key is not found in my entity object.
    I have EO based VO and I am performing some operations on the VO. Based on user actions on UI, I need delete some records of the entity and I am using stored proc to delete those records and committing the changes in stored proc it self. After invoking stored procedure I am committing the changes performed in UI using ADF bindings.
    While invoking Commit from ADf I getting below error
    {code:java}
    <ADFLogger> <addContextData> Entity read all attributes
    <OracleSQLBuilderImpl> <rollbackToSavepoint> [139913] OracleSQLBuilder: ROLLBACK WORK TO SAVEPOINT 'BO_SP'
    <ADFLogger> <addContextData> Commit transaction
    <DCBindingContainer> <reportException> [139914] DCBindingContainer.reportException :oracle.jbo.RowAlreadyDeletedException
    <DCBindingContainer> <reportException> [139915] oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row with key oracle.jbo.Key [204635 124 202810 N ] is not found in EO.
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:878)
      at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
      at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
      at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
      at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6484)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6665)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3286)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3089)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
    {code}
    Please let me know if you have any pointers to resolve this.
    Thanks,
    Satya

    Where you are calling stored procedure which deletes records in the DB ?
    Try to override doDML() i your entity impl, as follows:
    protected void doDML(int operation, TransactionEvent e) {
         if(operation == DML_DELETE)    
              call_your_storedProc_here();
         else
             super.doDML(operation, e);
    Also, ensure that the procedure deletes the same set of records as well you in the middle tier.

  • Jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_se

    Hi everyone,
    Got the following exception:
    2005-11-08 13:50:54,514 ERROR enatis.error (MsgLogger.java:logError:161) [Error Ref# INT.1131450654514]- An unhandled runtime exce
    ption occured.
    oracle.jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_seq
    at oracle.jbo.PCollException.throwException(PCollException.java:39)
    at oracle.jbo.pcoll.OraclePersistManager.createTable(OraclePersistManager.java:893)
    at oracle.jbo.pcoll.OraclePersistManager.queryNextCollectionId(OraclePersistManager.java:1372)
    at oracle.jbo.pcoll.PCollManager.register(PCollManager.java:560)
    at oracle.jbo.pcoll.PCollection.<init>(PCollection.java:102)
    at oracle.jbo.pcoll.PCollManager.createCollection(PCollManager.java:460)
    at oracle.jbo.server.DBSerializer.setup(DBSerializer.java:153)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:286)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5123)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5001)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateForUndo(ApplicationModuleImpl.java:7429)
    Does anyone know whether there is a process that is supposed to cleanup this table? How is it managed?
    Thanks

    Just to wrap this up i will attach the last couple of postings on Metalink:
    09-NOV-05 07:29:03 GMT
    New info : BUKSVDL : Hi Kjeld,
    Im still on the passivateStateForUndo topic. This time with the PS_TXAN table.
    It looks like BC4J writes to this user table when passivating the AM state.
    Please see my questions in the OTN thread below.
    jbo.PCollException: JBO-28006: Could not create persistence table PS_TXN_se
    The latest entry:
    "The data sources are correct. The problem here were the priviledges after
    upgrading the db to 10g rel 2. Some of the implicit priviledges were removed in
    the latest version of the db.
    The question is still, who manages these tables. When/How are entries removed?
    We see this table, "PS_TXN", growing all the time. How do we prevent problems
    like this in the future. Should we include this table, and maybe others, in the
    maintanance scripts? "
    09-NOV-05 09:29:05 GMT
    New info : BUKSVDL : Hi Kjeld,
    The DBA that did the investigation is out of office today.
    What i can tell you is that:
    We use a data-source on the App serves that is defined by the DBA's. We only
    require the DS name. Apparently, in the past, when a user was created certain
    default priveledges were automatically granted. This doesn't happen anymore
    with the latest release of the DB. The DBA had to explicitly grant the
    priveledges.
    09-NOV-05 10:16:09 GMT
    ISSUE CLARIFICATION
    ====================
    After upgrading the database to Oracle Server 10.1.0.2 the ADF application
    returns following error:
    BC4J - ApplicationModuleImpl.passivateStateForUndo();
    oracle.jbo.PCollException: JBO-28006: Could not create persistence table
    PS_TXN_seq
    The error occurs as soon as passivation is done in the application.
    eos (end of section)
    ISSUE VERIFICATION
    ===================
    Verified the issue by error messages supplied by customer.
    eos (end of section)
    CAUSE DETERMINATION
    ====================
    The user connecting to the database from the ADF application does not have
    the required database grants to create a table. The upgrade did
    delete/remove some required privileges.
    eos (end of section)
    CAUSE JUSTIFICATION
    ====================
    If the database user does not have the privilege "CREATE ANY TABLE", then
    this user cannot create a database table. The tables PS_TXN and PS_TXN_seq
    are created during runtime if passivation is done for the first time. If
    the user does not have the necessary privileges the table cannot occur and
    the error JBO-28006 will occur.
    The upgrade of the database removed some necessary
    eos (end of section)
    STATUS
    ======
    @ WIP - Work In Progress
    09-NOV-05 10:16:56 GMT
    POTENTIAL SOLUTION(S)
    ======================
    Make sure the database user has the privileges "CREATE TABLE" and "CREATE
    SEQUENCE" to create objects such as tables and sequences.
    eos (end of section)
    POTENTIAL SOLUTION JUSTIFICATION(S)
    ====================================
    When the database user has the privileges "CREATE TABLE" and "CREATE
    SEQUENCE" it will be possible to create the BC4J tables PS_TXN and
    PS_TXN_seq on passivation.
    eos (end of section)
    SOLUTION / ACTION PLAN
    =======================
    To implement the solution, please execute the following steps:
    1. Connect as user SYS to the database.
    2. Grant at least following priviliges to the ADF application user:
    GRANT CREATE TABLE TO <user>
    GRANT CREATE SEQUENCE TO <user>
    REMARK: Replace <user> with the actual username that is used to connect
    from the adf application to the database.
    eos (end of section)

Maybe you are looking for

  • 0 Results in Data Transfer.  Similiar issues anyone?

    Hello all, Please reply if my question isn't clear enough for anyone that may have expertise on this issue.  I'm a bit of a novice to BW, but I understand completely how the ETL process should work.  Here are the steps I've taken so far that have pro

  • Is this me or a bug? Loading disabled effects rack wrecks audio!

    Background: I am NOT an audio pro, but am an experienced tech guy and have used Adobe suite products for many years. Just loaded up CS6, including all updates, on a new decked-out Win7 computer (32G RAM, 12 core CPU, CUDA board, etc). I have a clip (

  • Log the message payload

    Hello, We have a HTTP --> RFC synchronous scenario. We have 8 fields in request but we want to log only 6 of them in XI. The other 2 fields should not be logged anywhere in XI. Is that possible? Thanks, Beena.

  • My Library folder is missing-where did it go?

    My mail app has stopped working. It was suggested in another thread that I go to the mail folder in the Library folder and delete some items from the V2 file or folder. Problem is, I have no Library folder. Not there. Missing. Utterly confused. Searc

  • CP5: Is there a way I can set the resolution size before I start recording?

    When I launch Adobe Captivate 5, I click on "Create New.. Software Simulation", but I can't find a way of setting the screen size / resolution before I start recording, like there is when you click "Create New... Blank Project". I prefer to do a new