Issue while applying View Criteria

Hi all,
We have a taskflow which has View Criteria as the input parameter.
When the taskflow is invoked, the View Criteria is set in the pageFlowScope.
Requirement is that we need to apply this view criteria to a View object.
When we applied the view criteria to the View object and executed the query, an SQLException is being thrown
(Missing IN or OUT Parameter at index::1)
In the ManagedBean's method, verified if the view criteria has bindVariables:
VariableValueManager variableValueManage = vc.ensureVariableManager();
System.err.println("Name :"+variableValueManage.getVariableValue("pName"));
Confirmed that the bind variable is carrying the appropriate value.
This View Criteria when applied to the corresponding VO and executed, java.sql.SQLException is thrown:
ViewObjectImpl testVO = gettestVO() ;
ViewCriteriaManager vcm = testVO.getViewCriteriaManager();
vcm.applyViewCriteria(quickSearchViewCriteria);
testVO.executeQuery();     
Exception: java.sql.SQLException: Missing IN or OUT parameter at index:: 1     
In the query, the bind Variable "pName" is not binded, though the view criteria has the value.
Thanks in advance,
Raghu

Hi all,
We have a taskflow which has View Criteria as the input parameter.
When the taskflow is invoked, the View Criteria is set in the pageFlowScope.
Requirement is that we need to apply this view criteria to a View object.
When we applied the view criteria to the View object and executed the query, an SQLException is being thrown
(Missing IN or OUT Parameter at index::1)
In the ManagedBean's method, verified if the view criteria has bindVariables:
VariableValueManager variableValueManage = vc.ensureVariableManager();
System.err.println("Name :"+variableValueManage.getVariableValue("pName"));
Confirmed that the bind variable is carrying the appropriate value.
This View Criteria when applied to the corresponding VO and executed, java.sql.SQLException is thrown:
ViewObjectImpl testVO = gettestVO() ;
ViewCriteriaManager vcm = testVO.getViewCriteriaManager();
vcm.applyViewCriteria(quickSearchViewCriteria);
testVO.executeQuery();     
Exception: java.sql.SQLException: Missing IN or OUT parameter at index:: 1     
In the query, the bind Variable "pName" is not binded, though the view criteria has the value.
Thanks in advance,
Raghu

Similar Messages

  • Apply View criteria at runtime to child View object

    Hi,
    I am facing issues while trying to assign View Criteria to child VO that is part of View hierarchy at runtime.
    AM Model:
    Parent VO ->
    Child VO1
    -> Child VO2
    View Link between :
    Parent VO -> Child VO1
    Child VO1 -> Child VO2
    I have to apply View criteria at runtime at Child VO1 & Child VO2, i tried setApplyViewCriteriaName from AMImpl for these VO but that doesnt work.
    It works for Parent VO, So I concluded Apply VC doesnt work directly for Tree structure.
    I then override executeQueryforCollection in the VO however i am never able to get the handle for the VO that is getting executed :
    Here's what is happening when i fetch my VO tree from AM :
    - Parent VO , Child VO are getting instantiated
    - Parent VO executeQueryforCollection called
    - ** After this a new instance of Child VO is getting instantiated and i dont have any control of setting the VC based on some custom property
    as all get defaulted at this point.
    Please suggest what can be done in this case.
    PS : i can not hardcode the VC condition at View Link.
    - Sam

    I was able to set the VC condotinally based on property set at Parent level using following code in executeQueryForCollection :
    ApplicationModule am= this.getApplicationModule();
    ViewObject vo = am2.findViewObject("ParentView1");
    prop = (String)vo.getProperty("Parent_prop");
    if(propVo_prop.equals("Y"))
    this.setApplyViewCriteriaName("VC");
    super.executeQueryForCollection(object, object2, i);
    is this the right way ? Any performance bottleneck ? This service can be called for 1000 Id's .
    Please suggest if there is some better way.
    Thanks
    -Sam

  • Is it even possible to dynamically apply view criteria in an ADF Web App?

    This is one of those situations where something that should take an hour ends up taking days.
    * I have a view.
    * The view has Bind Variables associated with it.
    * The view has View Criteria associated with it.
    * Each of the View Criteria use different Bind Variables.
    * I have a search criteria input page that receives from the user what will ultimately be used to set the bind variables.
    * I have a search results page that uses the view to display a table.
    * I have the code that dynamically sets view criteria and parameters. It is based on the following:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvvo.htm#BCGFHAGA
    * This code works great, until the iterator associated with the table binding to the view is initialized. At that time, the view is reset to its defaults, and all of my code's doings are discarded. How do I know this? Because I have gone so far as to run my code that sets view criteria and binding variables dynamically in a phase event handler for the search results page in the render response phase. There is no other point at which to dynamically modify the view.
    This is turning into a situation where it seems I will need 5 different views and 5 different pages in order to show a single set of query results. I cannot get dynamically applied view criteria to work in an ADF web app. Has anyone else done it? Can anyone relate to this? Are there any other suggestions before I conclude that it's not possible for this framework to handle this simple scenario?
    Thanks

    There must be a setting or something that I am still missing here. If I write code just like this and make sure it is executed, I still only see the results of my view executed without the view criteria applied using the default bind variable values that I supplied in the view object.
    It's like the fact that I set the bind variables, the view criteria, and executed the view query programmatically is lost on the iterator -- it's like it never happened. What setting is used to ensure that the iterator uses the outcome of what I executed programmatically? There has to be a critical set or setting that I am missing.
    Here is the iterator and search region definitions defined in the page def "executables" section:
      <executables>
         <iterator Binds="CustomSearchView1" RangeSize="25"
                  DataControl="AppModuleDataControl"
                  id="CustomSearchView1Iterator"/>
        <searchRegion Binds="CustomSearchView1Iterator"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      id="CustomSearchView1Query"/>
        </executables>Here's the "tree" binding in the page def file:
      <bindings>
       <tree IterBinding="CustomSearchView1Iterator" id="CustomSearchView1">
          <nodeDefinition DefName="Model.CustomSearchView" Name="CustomSearchView10">
            <AttrNames>
              <Item Value="CustomId"/>
              <Item Value="CustomProjectNumber"/>
              <Item Value="CustomName"/>
              <Item Value="CustomStatus"/>
              <Item Value="CustomStatusDate"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
      </bindings>In an effort to take page flow out of this mess, I had modified this to include the search criteria and search results on a single page. So, I now have a "Search" button. When the "Search" button is clicked, the action method does the following:
        public String searchActionListener ()
              // Get search criteria from select one choice and text input controls.
              AppModule appModule =
                    ( AppModule ) Configuration.createRootApplicationModule (
                        "Model.AppModule",
                        "AppModuleLocal");
              appModule.customSearch( searchCriteria1,
                                                   searchCriteria2,
                                                   searchCriteria3 );
        }In my application module this translates to:
        public void customNoticeSearch ( String searchCriteria1, String searchCriteria2, String searchCriteria3)
           CustomSearchViewImpl searchViewImp =
               ( CustomSearchViewImpl ) this.getCustomSearchView1 ();
           searchViewImp.customExecuteQuery ( searchCriteria1, searchCriteria2, searchCriteria3);
        }Finally, in my custom view object implementation code:
        public void customExecuteQuery ( String searchCriteria1, String searchCriteria2, String searchCriteria3 )
            // Set-up the parameters that are part of the core query.
            this.setp_searchCriteria1( searchCriteria1);
            this.setp_searchCriteria2( searchCriteria2);
            if ( searchCriteria3 != null )
                ViewCriteriaManager vcm = this.getViewCriteriaManager();
                ViewCriteria vc = vcm.getViewCriteria ( "WithLastCriteria" );
                this.setp_searchCriteria3( new Number ( searchCriteria3 ) );
                this.applyViewCriteria( vc );
            System.out.println ("This is fun.");
            this.executeQuery();
        }This code executes, but the results table is empty, and I know that there are results, because I can execute use execute with params to execute the base query and get the correct results back.
    Thanks for taking a look at this.

  • Applying view criteria dynamically

    Hi,
    its urgent...... please guide me....
    in my application I want to execute the viewobject once using database than it should store in cache memory and after applying view criteria it should filter the data and give from the memory after clearing it it should return all the records from the cache memory no need to go database...
    I have used the following code......
    public void getViewdata()
                   ApplicationModule am = Configuration.createRootApplicationModule("model.HRAppModule", "HRAppModuleLocal");
            ViewObject viewobject = am.findViewObject("employeesVo1");
            viewobject.executeQuery();
                  System.out.println("no of records:\t" + viewobject.getRowCount());
            System.out.println("no of records:\t " + viewobject.getFetchedRowCount());
            System.out.println("no of records:\t" + viewobject.getEstimatedRowCount());
            System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            ViewCriteria Viewcriteria = null;
            Viewcriteria = viewobject.createViewCriteria();
            Viewcriteria.setCriteriaMode(Viewcriteria.CRITERIA_MODE_QUERY | Viewcriteria.CRITERIA_MODE_CACHE);
            System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
            viewobject.setQueryMode(viewobject.QUERY_MODE_SCAN_VIEW_ROWS);
            System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            Viewcriteria.setConjunction(Viewcriteria.VC_CONJ_AND);
            ViewCriteriaRow Viewcriteriarow = Viewcriteria.createViewCriteriaRow();
            ViewCriteriaRow Viewcriteriarow1 = Viewcriteria.createViewCriteriaRow();
            Viewcriteriarow.setAttribute("ManagerId", this.getMgr());
            Viewcriteriarow.setConjunction(Viewcriteriarow.VC_CONJ_AND);
            Viewcriteriarow1.setAttribute("Salary", this.getSal());
            Viewcriteriarow1.setConjunction(Viewcriteriarow.VC_CONJ_AND);
            Viewcriteria.add(Viewcriteriarow);
            Viewcriteria.add(Viewcriteriarow1);
            if (Viewcriteria.hasData())         {
                System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
                viewobject.applyViewCriteria(Viewcriteria);
                viewobject.executeQuery();
                System.out.println("no of records after apply view criteria:\t" + viewobject.getRowCount());
                System.out.println("no of records after apply view criteria:\t" + viewobject.getFetchedRowCount());
                System.out.println("no of records after apply view criteria:\t" + viewobject.getEstimatedRowCount());
                System.out.println(" view criteria where clause:\t" + viewobject.getViewCriteria());
                           System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
                System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
                System.out.println("Query :\t" + viewobject.getQuery());
            else
                          Viewcriteria.removeAllElements();
                viewobject.applyViewCriteria(Viewcriteria);
                System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
                 System.out.println(" view criteria where clause:\t" + viewobject.getViewCriteria());
                           System.out.println("Query :\t" + viewobject.getQuery());
                viewobject.executeQuery();
                System.out.println("no of records after apply view criteria:\t" + viewobject.getRowCount());
                System.out.println("no of records after apply new view criteria:\t" + viewobject.getFetchedRowCount());
                System.out.println("no of records after applying new view criteria:\t" + viewobject.getEstimatedRowCount());
                System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
                System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            }Edited by: user13385388 on Jan 21, 2011 6:59 AM

    Hi,
    I'm not able to get that so I have put all the things u go through it tell me the solution please its urgent...... please guide me....
    in my application I want to execute the viewobject once using database than it should store in cache memory and after applying view criteria it should filter the data and give from the memory after clearing it it should return all the records from the cache memory no need to go database...
    I have used the following code......
    backing bean code
    public class Beanclass
        private String deptid;
        private String mgrid;
        private String sal;
        public void setDeptid(String deptid)
            this.deptid = deptid;
        public String getDeptid()
            return deptid;
        public void setSal(String sal)
            this.sal = sal;
        public String getSal()
            return sal;
        public String ROView_action()
            // Add event code here...
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp = elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
            BindingContainer bindings = (BindingContainer) valueExp.getValue(elContext);
            DCIteratorBinding iter = (DCIteratorBinding) bindings.get("EmPdetails1Iterator"); //("employeesVo1Iterator");
            ViewObject viewobject = iter.getViewObject();
            System.out.println("no of records without applying view criteria value:\t" + viewobject.getRowCount());
            System.out.println("no of records without applying view criteria value:\t " + viewobject.getFetchedRowCount());
            System.out.println("no of records without applying view criteria value:\t" + viewobject.getEstimatedRowCount());
            System.out.println("Query Mode of viewobject before applying view criteria:\t" + viewobject.getQueryMode());
            ViewCriteria Viewcriteria = null;
            Viewcriteria = viewobject.createViewCriteria();
            Viewcriteria.setCriteriaMode(Viewcriteria.CRITERIA_MODE_CACHE);
            //Viewcriteria.setCriteriaMode(Viewcriteria.CRITERIA_MODE_QUERY | Viewcriteria.CRITERIA_MODE_CACHE);
            System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
            viewobject.setQueryMode(viewobject.QUERY_MODE_SCAN_VIEW_ROWS);
            System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            Viewcriteria.setConjunction(Viewcriteria.VC_CONJ_AND);
            ViewCriteriaRow Viewcriteriarow = Viewcriteria.createViewCriteriaRow();
            ViewCriteriaRow Viewcriteriarow1 = Viewcriteria.createViewCriteriaRow();
            ViewCriteriaRow Viewcriteriarow2 = Viewcriteria.createViewCriteriaRow();
            Viewcriteriarow.setAttribute("DepartmentId", this.getDeptid());
            Viewcriteriarow.setConjunction(Viewcriteriarow.VC_CONJ_AND);
            Viewcriteriarow1.setAttribute("ManagerId", this.getMgrid());
            Viewcriteriarow1.setConjunction(Viewcriteriarow.VC_CONJ_AND);
            Viewcriteriarow2.setAttribute("Salary", this.getSal());
            Viewcriteriarow2.setConjunction(Viewcriteriarow.VC_CONJ_AND);
            Viewcriteria.add(Viewcriteriarow);
            Viewcriteria.add(Viewcriteriarow1);
            Viewcriteria.add(Viewcriteriarow2);
            viewobject.applyViewCriteria(Viewcriteria);
            viewobject.executeQuery();
            System.out.println("no of records after applying view criteria value:\t" + viewobject.getRowCount());
            System.out.println("no of records after applying view criteria value:\t" + viewobject.getFetchedRowCount());
            System.out.println("no of records after applying view criteria value:\t" + viewobject.getEstimatedRowCount());
            System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
            System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            Viewcriteria.removeAllElements();
            viewobject.applyViewCriteria(Viewcriteria);
            //  viewobject.setQueryMode(viewobject.QUERY_MODE_SCAN_DATABASE_TABLES);
            viewobject.executeQuery();
            System.out.println("no of records after removing view criteria:\t" + viewobject.getRowCount());
            System.out.println("no of records after removing view criteria:\t" + viewobject.getFetchedRowCount());
            System.out.println("no of records after removing view criteria:\t" + viewobject.getEstimatedRowCount());
            System.out.println("Viewcriteria mode is:\t" + Viewcriteria.getCriteriaMode());
            System.out.println("Query Mode of viewobject:\t" + viewobject.getQueryMode());
            return null;
    }Jspx code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
                             id="pt1">
              <f:facet name="center">
                <af:panelGroupLayout id="pgl2" layout="vertical"
                                     inlineStyle="width:1327px;">
                  <af:table value="#{bindings.EmPdetails1.collectionModel}"
                            var="row" rows="#{bindings.EmPdetails1.rangeSize}"
                            emptyText="#{bindings.EmPdetails1.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.EmPdetails1.rangeSize}"
                            rowBandingInterval="0"
                            selectedRowKeys="#{bindings.EmPdetails1.collectionModel.selectedRow}"
                            selectionListener="#{bindings.EmPdetails1.collectionModel.makeCurrent}"
                            rowSelection="single" id="t1" partialTriggers="::cb1"
                            width="1290">
                    <af:column sortProperty="DepartmentId" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.DepartmentId.label}"
                               id="c5">
                      <af:outputText value="#{row.DepartmentId}" id="ot11">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.EmPdetails1.hints.DepartmentId.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="DepartmentName" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.DepartmentName.label}"
                               id="c10">
                      <af:outputText value="#{row.DepartmentName}" id="ot3"/>
                    </af:column>
                    <af:column sortProperty="EmployeeId" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.EmployeeId.label}"
                               id="c1">
                      <af:outputText value="#{row.EmployeeId}" id="ot9">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.EmPdetails1.hints.EmployeeId.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="FirstName" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.FirstName.label}"
                               id="c9">
                      <af:outputText value="#{row.FirstName}" id="ot2"/>
                    </af:column>
                    <af:column sortProperty="LastName" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.LastName.label}"
                               id="c3">
                      <af:outputText value="#{row.LastName}" id="ot12"/>
                    </af:column>
                    <af:column sortProperty="Email" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.Email.label}"
                               id="c11">
                      <af:outputText value="#{row.Email}" id="ot10"/>
                    </af:column>
                    <af:column sortProperty="PhoneNumber" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.PhoneNumber.label}"
                               id="c6">
                      <af:outputText value="#{row.PhoneNumber}" id="ot7"/>
                    </af:column>
                    <af:column sortProperty="HireDate" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.HireDate.label}"
                               id="c7">
                      <af:outputText value="#{row.HireDate}" id="ot1">
                        <af:convertDateTime pattern="#{bindings.EmPdetails1.hints.HireDate.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="JobId" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.JobId.label}"
                               id="c4">
                      <af:outputText value="#{row.JobId}" id="ot5"/>
                    </af:column>
                    <af:column sortProperty="Salary" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.Salary.label}"
                               id="c12">
                      <af:outputText value="#{row.Salary}" id="ot8">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.EmPdetails1.hints.Salary.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="CommissionPct" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.CommissionPct.label}"
                               id="c2">
                      <af:outputText value="#{row.CommissionPct}" id="ot6">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.EmPdetails1.hints.CommissionPct.format}"/>
                      </af:outputText>
                    </af:column>
                    <af:column sortProperty="ManagerId" sortable="true"
                               headerText="#{bindings.EmPdetails1.hints.ManagerId.label}"
                               id="c8">
                      <af:outputText value="#{row.ManagerId}" id="ot4">
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.EmPdetails1.hints.ManagerId.format}"/>
                      </af:outputText>
                    </af:column>
                  </af:table>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="header"/>
              <f:facet name="start">
                <af:panelGroupLayout id="pgl1" layout="vertical">
                  <af:inputText label="Department Id" id="it1"
                                value="#{Viewcriteriabackingbean.deptid}"/>
                  <af:inputText label="Salary" id="it2"
                                value="#{Viewcriteriabackingbean.sal}"/>
                  <af:commandButton text="ApplyviewcriteriaUsingIteratorBindingforROView" id="cb1"
                                    partialTriggers="t1"
                                    action="#{Viewcriteriabackingbean.ROView_action}"/>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="branding"/>
              <f:facet name="copyright"/>
              <f:facet name="status"/>
              <f:attribute name="startColumnSize" value="200"/>
            </af:pageTemplate>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:preferred-managed-bean-name:Viewcriteriabackingbean-->
    </jsp:root>output:
    its returning the filtered records based on deptid and sal after removing view criteria its not returning the all the records its returns filtered records only.
    Edited by: user13385388 on Jan 25, 2011 1:58 AM

  • Issue while apply support pack SAP_BASIS SAPKB70013 -18

    Hi Gurus,
    We have issue while apply support pack to Development system, we have implemented SAPKB70012 pack first and then we have implemented SPAU and saved in Trasport request  . while applying other patch SAPKB70013 -18 in one go system asked us to release SPAU  transport and then we released that transport after that same transport with auotomatic job it has got implemneted to Quality system and then after that we got below error in quality system :-
    The function module "EXTENDED_AUTH_CHECK_FOR_REPS" is called, but
    cannot be found in its function group.
    Error in the ABAP Application Program
    The current ABAP program "SAPLS38E" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Please suggest now both system is not working .
    Regards,
    Jeetendra

    Also you can check object modifications in transaction SE03 looking for request that touched object SAPLS38E.
    Could you please share the syntax error message ?
    Best regards

  • Issue with Inline View Criteria

    Hi,
    I have a VO created on two tables that are joined by a 1:1 association(say Opportunity and Revenue). The query is specified in Expert mode because I need some aggregations performed using analytic functions. Data security predicates are applied on top of this query using a dummy View Criteria. My requirement now is that I need to filter these results using another VC. The issue is that both the tables have attributes with the same name(say Cust ID) and I need to filter based on this using an inline View Criteria. I have done the same declaratively. However, I get an error on hitting the page saying the columns have been ambiguously defined.
    On digging through the log, I discovered the test Query fails to prefix the alias before the attribute. So what I get is something similar to this
    select (o.id, r.amt, sum(), count(), avg(), o.custId) from opty o, revn r where (o.id in DATA SECURITY PREDICATE) and (custId = :bindCustId)
    Is there a way to ensure that the custId can be changed to o.custId???
    Note - The View Criteria was created on an attribute from opty table that was exposed i.e in this case, o.custId. Although the query builder shows it correctly while creating the VC declaratively, the issue persists as seen from the logs.
    Thanks,
    Manoj

    Hi experts...
    Any pointers to this issue???
    Please help!
    Regards,
    Debolina

  • Passivate issue while applying viewCriteria on runtime

    Hello,
    (ADF BC on jDev 11.1.2.2.0)
    Hoping someone can shed some light on this. (the issue is not how to do this, but why doing it like this is not working)
    Here goes :
    Supose, you need to list all employees from departmant 60 (considering HR schema) while at the same time, i need to know wich one of them has a sallary > some_value.
    (Again, i'm sure there are lots of ways to do this, but the issue is not how to do it, but why doing it like this raises some passivation issues.)
    So, i created the Department and Employee viewObjects (linked together). And created a viewCriteria for salary > vc_salary inside EmplyeeView.
    Now on the view, consider the approach: I created the following, simple, action method:
        public void apply1VC(ActionEvent actionEvent) {
           // will set the current row of departments so i the depat 60 employees.
            ADFUtils.findIterator("DepartmentsViewIterator").setCurrentRowWithKeyValue("60");
            // for some reason, i need to know how many employess there are with a salary > 5000, belonging top department 60.
            // So, ill apply a view criteria, do my business logic, and then remove it:
            //apply vc
            ViewObject viewObject = ADFUtils.findIterator("EmployeesViewIterator").getViewObject();
            ViewCriteriaManager vcm = viewObject.getViewCriteriaManager();
            ViewCriteria vc = vcm.getViewCriteria("bySalary");
            VariableValueManager vm = vc.ensureVariableManager();
            vm.setVariableValue("vc_salary", new BigDecimal(5000));
            viewObject.applyViewCriteria(vc);
            //execute query
            viewObject.executeQuery();
            //do the business logic here to the employees with salary > 5000
            //remove the viewcriteria
            vcm.removeApplyViewCriteriaName("bySalary");
            // force executeQuery on my terms to list all employees of dept 50
            viewObject.executeQuery();
        }This executes perfectly and does its job as expected. But! If after this method is executed, a passivate/activate occurs,the application will blow up on the next activation (easely checked with AM pooling turned off):
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    +
    <MethodExpressionActionListener> <processAction> oracle.jbo.SQLStmtException: JBO-27122: Erro de SQL durante a preparação da instrução. Instrução: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID FROM EMPLOYEES Employees WHERE ( ( (Employees.SALARY > :vc_salary ) ) ) AND Employees.DEPARTMENT_ID = :Bind_DepartmentId
    Like as if the view object is beeing passivate with the viewCriteria still applied and while activating trys to insert a parameter that already does not exist.
    Am i missing something? Is there any reason for this implementation to raise such a problem?
    If any of you kind souls is interested enough, here is the application i did to reproduce this issue. (you just have to do 3 clicks and the only code inside is the one on the post):
    https://dl.dropbox.com/u/198190/PassivateIssue.zip
    Thank you!
    Tiago Braz
    Edited by: Tiago Braz on 5/Dez/2012 11:09

    Hi,
    Even replacing the vcm.removeApplyViewCriteriaName("bySalary"); for the viewObject.applyViewCriteria(null); as referenced on "42.4.2 Removing All Applied Named View Criteria", i get the same behavior.
    This is how de bind parameter is defined:
      <Variable
        Name="vc_salary"
        Kind="viewcriteria"
        Type="java.math.BigDecimal"/>If the bind variables are not persisted for passivation, what happens after activation of a VO with a viewcriteria having a value from a binding parameter? Or if i use the executeQuery immediatly after that activation? Do i have to override the passivation method to assure it stores that value?
    Anyways, i believe that on particular case thats not the issue. I believe the EmployeeView viewObject should not have the "WHERE ( ( (Employees.SALARY > :vc_salary ) )" on activation since i made sure to remove it before the passivation with the "viewObject.applyViewCriteria(null) and for that reason im not expecting to read that variable. But the framework, for some reason expects it to be there.
    Edited by: Tiago Braz on 6/Dez/2012 2:56

  • Issue while using views in Data services Jobs

    Hi,
    In Data Services Job, i am trying to pull data from a view to a table. The view is pointing to the table which is in other database.
    The problem is when i import the source view into data services and view the data, i found one row having wrong data. The values in that row are wrong/corrupted while the same row in the source table is having correct values
    I queried the view from TOAD for that record. The values are valid.
    The data is coming wrong only in Data services. Any row in that table gets corrupted, there is no specific row.
    Hence while running the jobs i am getting errors.
    Any idea what can be the reason of getting corrupted data in view while same view when queried from TOAD gives correct values?

    hi,
    There is a possibility of unsupported data type by data service, please share the data service version,  database type and data type of column which got corrupted.
    Regards,
    M Ramesh

  • Issue while applying bundle patch 11.1.1.3.8

    Hi Experts,
    We are facing issue after applying the bundle patch 11.1.1.3.8. We are unable to edit IT Resource and create/edit connectorafter appying Bundle Patch BP08 for oim 11.1.1.3.
    Below are the steps followed
    1.Click on manage IT Resource
    2.Click on edit for a specific it resource.
    3.Shows "A system error occured.Please contact your system administrator"
    The patch was applied for fixing email notification issue. Before appying this the mentioned functionalities were working as expected.
    Just wanted to check if anyone has faced this issue and what was done to resolve this.
    Thanks,
    Partha

    what error you see in the server logs?

  • Applying view criteria to LOV programmatically in ADF UI

    Hi,
    I have a LOV defined in model on VO. I want to populate this LOV programmatically based on some view criteria.
    How can I do this?
    Thanks
    - Harish

    Hi.
    Welcome to OTN.
    Check this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf

  • Opatch issue while applying the patch 6400501

    upgrading the database with R12.0.6 for database from 10g to 11g.
    as per pre-requisites we have to apply the iAS patch 6400501 According to the doc id 1058763.1
    we are applying the 10.1.0.5 version of patch 6400501 to the 10.1.2 Oracle Home
    This inventory is not containing the information for this oracle home
    the environment is set to the ORACLE_HOME correctly.
    We are getting the following error
    $ opatch lsinventory
    Oracle Interim Patch Installer version 1.0.0.0.57
    Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
    We recommend you refer to the OPatch documentation under
    OPatch/docs for usage reference. We also recommend using
    the latest OPatch version. For the latest OPatch version
    and other support related issues, please refer to document
    293369.1 which is viewable from metalink.oracle.com
    Oracle Home : /applprod/apps/tech_st/10.1.2
    Oracle Home Inventory : /applprod/apps/tech_st/10.1.2/inventory
    Central Inventory : /home/oraprod/oraInventory
    from : /etc/oraInst.loc
    OUI location : /applprod/apps/tech_st/10.1.2/oui
    OUI shared library : /applprod/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
    Java location : /applprod/apps/tech_st/10.1.2/jre/1.4.2/bin/java
    Log file location : /applprod/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
    Creating log file "/applprod/apps/tech_st/10.1.2/.patch_storage/LsInventory__04-27-2011_12-06-13.log"
    Result:
    LsInventory: OPatch Exception while accessing O2O
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    OPatch Exception:
    OUI found no such ORACLE_HOME set in the environment
    Can not get details for given Oracle Home
    An exception occurs
    null
    There is no Interim Patch
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    Can not get a list of inventory on this home.
    ERROR: OPatch failed because of Inventory problem.
    $
    Regards
    Kk

    after running this command i got the error
    opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
    i got the error
    $ opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc
    Oracle Interim Patch Installer version 1.0.0.0.57
    Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
    We recommend you refer to the OPatch documentation under
    OPatch/docs for usage reference. We also recommend using
    the latest OPatch version. For the latest OPatch version
    and other support related issues, please refer to document
    293369.1 which is viewable from metalink.oracle.com
    Oracle Home : /applprod/apps/tech_st/10.1.2
    Oracle Home Inventory : /applprod/apps/tech_st/10.1.2/inventory
    Central Inventory : /home/oraprod/oraInventory
    from : /applprod/apps/tech_st/10.1.2/oraInst.loc
    OUI location : /applprod/apps/tech_st/10.1.2/oui
    OUI shared library : /applprod/apps/tech_st/10.1.2/oui/lib/ibm_aix/liboraInstaller.so
    Java location : /applprod/apps/tech_st/10.1.2/jre/1.4.2/bin/java
    Log file location : /applprod/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log
    Creating log file "/applprod/apps/tech_st/10.1.2/.patch_storage/LsInventory__04-27-2011_16-04-46.log"
    Result:
    LsInventory: OPatch Exception while accessing O2O
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    OPatch Exception:
    OUI found no such ORACLE_HOME set in the environment
    Can not get details for given Oracle Home
    An exception occurs
    null
    There is no Interim Patch
    OPATCH_JAVA_ERROR : An exception of type "OPatchException" has occurred:
    Can not get a list of inventory on this home.
    ERROR: OPatch failed because of Inventory problem.

  • Issue while applying patch 14037855

    Hi,
    When i try to apply the patch p14037855_111163_Generic for the version upgrade from ODI 11.1.1.6.0 to ODI 11.1.1.6.3, am facing the below issue.
    In command prompt, i went to the Opatch loc, in my case "D:\Oracle\Middleware\Oracle_ODI1\OPatch" and i set ORACLE_HOME=ODI_HOME
    D:\Oracle\Middleware\Oracle_ODI1\OPatch>set ORACLE_HOME=D:\Oracle\Middleware\Oracle_ODI1\oracledi\agent
    D:\Oracle\Middleware\Oracle_ODI1\OPatch>opatch lsinventory -jdk D:\Oracle\Middleware\jdk160_24
    *"There are no Interim patches installed in this Oracle Home"*
    When i try to apply the pacth from its stored location,facing the below issue
    D:\ODI_Software\14037855\opatch\14037855>opatch apply -jdk D:\Oracle\Middleware\jdk160_24
    OPatch failed during prerequisite checks: Prerequisite check "CheckApplicableProduct" failed.
    OPatch found incompatible or invalid applicable product type with respect to the Oracle Home.
    Could anyone pls advice on this.
    Thanks in advance

    I think your ORACLE_HOME env variable should point to D:\Oracle\Middleware\Oracle_ODI1\
    Regards,
    Rickson Lewis

  • Unknown issue while applying effect using "exposure" plugin

    Hi,
    I am trying to execute a third party plugin called "Exposure4" from my existing automation plugin. I have done something similar before too and had no problem. However, I have encountered some problems while executing this plugin from my automation plugin. I am able to build it and when I run it doesn't give any error message. But when I debug the code it returns - 1 error code. When I execute its equivalent javascript from extendscript it runs fine.
    Then I tried to run the jsx from my plugin. But it is also not working.
    Please guide. Its really urgent.
    I have tried hard but didn't got any clue.

    You are really not providing enough info for anyone to be able to help you. You have to realize that you are asking us to somehow debug your code that you are not providing in the post (a least the very few lines that trigger the plugin) which runs some third party plugin which nobody here probably has.
    In general, here are 3 simple steps you have to follow to get it all working:
    1. Copy the listener plugin to PS plugin folder
    2. Start PS, open your image and run your third-party plugin. Make sure it succeeds
    3. Close PS and open Listener.log on the Desktop. Copy&paste the function that contains the code that triggers your third party plugin into your automation plugin source.
    ivar

  • View Criteria issue on ADF Tree

    Hi,
    JDev 11.1.1.5.0
    I am facing an issue while displaying ADF tree. I've created ParentVO & ChildVO from a single table with view criteria to filter the nodes.And then created two View links ParentToChild & ChildToChild.
    Added VOs & corresponding ViewLinks to ApplicationModule. When I tried to run application module, getting the results as per expectation (applying view criteria at each level).
    Now i've dragged the parent vo from data control on to jspx page. when I run the jspx page, it's displaying the tree structure.
    Issue is only view criteria is applying for top level nodes(parent VO) but not sub levels. If there is some issue with creation of View criteria then it should give same problem while executing AM. But while running AM, getting the expected results.
    It would be great if you provide any clue on this issue
    Thanks,
    Samba

    Thanks for your response.
    But my usecase is different. I need to filter the sublevels of the tree.
    Following is the sample
    Level1
         Level1.1
         Level1.2
         Level1.3
    Level2
         Level2.1
         Level2.2
         Level2.3
         Level2.4
    Level3
         Level3.1
         Level3.2
         Level3.3
    If I gave View Criteria as contains '2' then, Need to filter the nodes contains character 2. Able to filter first level nodes according VC. But VC is not applying for sub levels. Is there any way to set the VC in my case?

  • LOV View Criteria Error : JBO-36001: Mismatching parentheses

    JDeveloper Version 11.1.1.0.2
    I am getting following error when trying to execute a search from LOV Search Region
    I have one field
    Book_Description with value "Rob" , and clicking on Search Returns one Row in LOV, and actual value is "Rob's Book" , clicking ok closes the LOV popup and brings me back to the LOV field,
    Now, If I try to Launch LOV again. it gives me following error, and it seems like it does not like "Rob's Book" value , while parsing View Criteria Expression
    my View Criteria is [created thru JDeveloper]
    ( ( ( UPPER(BOOK_DESC) LIKE UPPER('%' || :bookDesc|| '%')  )  OR  ( :bookDesc IS NULL ) ) )  which means, BOOK_DESC Contains :bookDesc (where bookDesc is bind variable and BOOK_DESC is DB column name)
    If I search any other value which does not contain special character ' (inverted comma e.g Rob's Book) it works fine. Is this a bug ?
    JBO-36001: Mismatching parentheses
    Aug 21, 2009 3:55:12 PM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #3
    javax.servlet.ServletException: JBO-36001: Mismatching parentheses
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         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:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.jbo.expr.JISyntaxError: JBO-36001: Mismatching parentheses
         at oracle.jbo.expr.JIExpr.getTerm(JIExpr.java:313)
         at oracle.jbo.expr.JIExprSQL.getTerm(JIExprSQL.java:185)
         at oracle.jbo.expr.JIExpr.getIdentTerm(JIExpr.java:503)
         at oracle.jbo.expr.JIExpr.getMultiplyExpr(JIExpr.java:536)
         at oracle.jbo.expr.JIExpr.getAddExpr(JIExpr.java:589)
         at oracle.jbo.expr.JIExpr.getCompareExpr(JIExpr.java:648)
         at oracle.jbo.expr.JIExpr.getAndExpr(JIExpr.java:839)
         at oracle.jbo.expr.JIExpr.getOrExpr(JIExpr.java:800)
         at oracle.jbo.expr.JIExpr.getBooleanExpr(JIExpr.java:789)
         at oracle.jbo.expr.JIExpr.getAssignExpr(JIExpr.java:878)
         at oracle.jbo.expr.JIExpr.getVarDeclExpr(JIExpr.java:932)
         at oracle.jbo.expr.JIExpr.getStmtExpr(JIExpr.java:986)
         at oracle.jbo.expr.JIExprSQL.getStmtExpr(JIExprSQL.java:572)
         at oracle.jbo.expr.JIExpr.getTerm(JIExpr.java:307)
         at oracle.jbo.expr.JIExprSQL.getTerm(JIExprSQL.java:185)
         at oracle.jbo.expr.JIExpr.getIdentTerm(JIExpr.java:503)
         at oracle.jbo.expr.JIExpr.getMultiplyExpr(JIExpr.java:536)
         at oracle.jbo.expr.JIExpr.getAddExpr(JIExpr.java:589)
         at oracle.jbo.expr.JIExpr.getCompareExpr(JIExpr.java:648)
         at oracle.jbo.expr.JIExpr.getAndExpr(JIExpr.java:839)
         at oracle.jbo.expr.JIExpr.getOrExpr(JIExpr.java:800)
         at oracle.jbo.expr.JIExpr.getBooleanExpr(JIExpr.java:789)
         at oracle.jbo.expr.JIExpr.getAssignExpr(JIExpr.java:878)
         at oracle.jbo.expr.JIExpr.getVarDeclExpr(JIExpr.java:932)
         at oracle.jbo.expr.JIExpr.getStmtExpr(JIExpr.java:986)
         at oracle.jbo.expr.JIExprSQL.getStmtExpr(JIExprSQL.java:572)
         at oracle.jbo.expr.JIExpr.getParseExpr(JIExpr.java:997)
         at oracle.jbo.expr.JIExpr.getExpr(JIExpr.java:1007)
         at oracle.jbo.ExprEval.getParsedExpr(ExprEval.java:581)
         at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:179)
         at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2361)
         at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3058)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2952)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2764)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1931)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:4508)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2899)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2755)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1047)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:873)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2738)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2715)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRangeInternal(ViewRowSetIteratorImpl.java:2101)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRange(ViewRowSetIteratorImpl.java:2148)
         at oracle.jbo.server.ViewRowSetImpl.getAllRowsInRange(ViewRowSetImpl.java:2730)
         at oracle.jbo.server.ViewObjectImpl.getAllRowsInRange(ViewObjectImpl.java:9131)
         at oracle.jbo.server.ViewRowSetImpl.findByViewCriteriaWithBindVars(ViewRowSetImpl.java:5191)
         at oracle.jbo.server.ViewRowSetImpl.findByViewCriteria(ViewRowSetImpl.java:4950)
         at oracle.jbo.common.AbstractListBinding.filterList(AbstractListBinding.java:580)
         at oracle.jbo.common.AbstractListBinding.filterList(AbstractListBinding.java:470)
         at oracle.jbo.common.AbstractListBinding.filterList(AbstractListBinding.java:436)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getFilteredRowSetIterator(JUCtrlListBinding.java:3147)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.mav$getFilteredRowSetIterator(FacesCtrlLOVBinding.java:78)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.autoCompleteValue(FacesCtrlLOVBinding.java:837)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:128)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:55)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:236)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:134)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:711)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:551)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 33 more
    Edited by: user626222 on Aug 21, 2009 1:11 PM

    Hi,
    This is expected because when we give apostrophe in the value then the query looks as below with unmatched apastrophe's resulting in missing paranthesis error:
    ( ( ( UPPER(BOOK_DESC) LIKE UPPER('%' || 'A'S' || '%') ) OR ( 'A'S' IS NULL ) ) )
    You can observe this error on running the same query in SQL worksheet just by substituting variable with value, this is not an ADF issue
    Try giving two apostrophe's where your value has one apostrophe.
    Hope this helps
    Sireesha

Maybe you are looking for