Named View Criteria and Range paging don't work together

Hi,
I am using a named view criteria for a view whose access mode is set to range paging.
When I use the named view criteria on my page to do a search I am getting the below error. If I don't use range paging as access mode for the view I don't get this error. Looks like when I use the search it doesn't pass the row numbers properly and they are not set in the query.
Is this a known issue or am I missing something?
Thanks
SQL error during statement preparation.  Statement: Select *
  From (Select /*+ FIRST_ROWS */
         IQ.*, ROWNUM As Z_R_N
          From (Select Persons.PRINCIPAL_NAME,
                       Persons.PERSON_ID,
                       Persons.TITLE,
                       Persons.FIRST_NAME,
                       Persons.LAST_NAME,
                       Persons.PHONE_NUMBER
                  From PERSONS Persons
                 Where ((((UPPER(Persons.FIRST_NAME) Like UPPER('%' || :p_name || '%')) Or (:p_name Is Null))))) IQ
         Where ROWNUM < :1)
Where Z_R_N > :2
Missing IN or OUT parameter at index:: 4 Message was edited by:
Muhammed Soyer

Hi Frank,
I didn't test it in 10g. It was something that I came across and thought that it might be a known issue..
The query is not something that I built manually. My entity is created from a table and my view is using the entity. I added a Named Criteria to the view and used Range Paging as access mode for the view.
The actual query is this
SELECT Persons.PRINCIPAL_NAME,
       Persons.PERSON_ID,
       Persons.TITLE,
       Persons.FIRST_NAME,
       Persons.LAST_NAME,
       Persons.PHONE_NUMBER
FROM PERSONS Persons

Similar Messages

  • ADDT Datepicker and spry validation don't work together

    Datepicker and spry validation don't work together
    the problem is in: /includes/wdg/classes/MXWidgets.js
    (necessary to datepicker)
    Does anyone have a solution??
    Thanks

    Hi Gabriele,
    technically speaking, ADDT and the Spry framework have about nothing in common, and you´re going to stumble across many compatibility-related issues when trying to use them together.
    Does anyone have a solution??
    any regular user who´d like to provide a solution to this, would have to be a pretty skilled programmer and would have to know the "technical details" of both ADDT and SPRY very well to be of help -- I don´t think that you´ll find many folks here who are capable to do that.
    However, why not making the date field required in ADDT ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • TP4 - PPR and af:subform don't work together

    Hello,
    I have a form (enclosed in a af:subform) that is refreshed by PPR from a table. If I don't use af:subform PPR works correctly, but if I use af:subform only af:inputText that have readOnly="true" gets refreshed.
    I need subform because I have required fields and I need validation to happen only when save on that subform occurs.
    This behaviour was in TP3 too.
    Is there a workaround for this?
    Thanks,
    Dan.
    Message was edited by:
    Dan Rece

    Here is a sample of code:
    A simple bean (I don't add getters and setters):
    package test;
    public class Person
      private Integer id;
      private String name;
    }Managed bean class:
    package test;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import org.apache.myfaces.trinidad.event.SelectionEvent;
    public class ManagedBean
      private List<Person> rows;
      private Person selectedPerson = new Person();
      public ManagedBean()
        rows = new ArrayList<Person>();
        rows.add( new Person( 1, "Mike" ) );
        rows.add( new Person( 2, "Luke" ) );
        rows.add( new Person( 3, "John" ) );
      public List<Person> getRows()
        return rows;
      public void setSelectedPerson(Person selectedPerson)
        this.selectedPerson = selectedPerson;
      public Person getSelectedPerson()
        return selectedPerson;
    }jspx file:
        <af:document maximized="false">
          <af:form>
            <af:panelGroupLayout layout="vertical">
              <af:panelBox text="Persons">
                <af:table id="persons"
                          value="#{managedBean.rows}"
                          contentDelivery="immediate"
                          columnSelection="none"
                          rowSelection="none"
                          var="row">
                  <af:column sortable="false" headerText="Id" align="start">
                    <af:outputText value="#{row.id}"/>
                  </af:column>
                  <af:column sortable="false" headerText="Name" align="start">
                    <af:outputText value="#{row.name}"/>
                  </af:column>
                  <af:column sortable="false" headerText="Edit">
                    <af:commandLink partialSubmit="true"
                                    id="edit_link"
                                    shortDesc="Edit item '#{row.id}'">
                      <af:setActionListener from="#{row}" to="#{managedBean.selectedPerson}" />
                      <af:image source="/common/images/edit.gif" />
                    </af:commandLink>             
                  </af:column>
                </af:table>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 1" partialTriggers="persons:edit_link">
                <af:subform id="edit_subform_1">
                  <af:panelFormLayout>
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
                </af:subform>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 2">
                <af:subform id="edit_subform_2">
                  <af:panelFormLayout partialTriggers="::persons:edit_link">
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
                </af:subform>
              </af:panelBox>
              <af:spacer height="5" />
              <af:panelBox text="Edit 3">
                  <af:panelFormLayout partialTriggers="persons:edit_link">
                    <af:inputText value="#{managedBean.selectedPerson.id}" readOnly="true"/>
                    <af:inputText value="#{managedBean.selectedPerson.name}" />
                  </af:panelFormLayout>
              </af:panelBox>
            </af:panelGroupLayout>
          </af:form>
        </af:document><managed-bean>
    <managed-bean-name>managedBean</managed-bean-name>
    <managed-bean-class>test.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    There are 3 ways of refreshing edit form in this jspx file. If you run it you will notice that only latest panel box (the one without af:subform works correctly).
    In the first two... only the first field is refreshed correctly.
    Thanks,
    Dan
    Message was edited by:
    Dan Rece
    Message was edited by:
    Dan Rece
    Message was edited by:
    Dan Rece

  • Bluetooth and Z10 speaker don't work together

    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.

    jrcatfan wrote:
    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.
    My car radio has 2 separate Bluetooth input source's. Phone and Music A2DP, verbal directions can only be heard when Music source is selected.

  • Spry and custom Javascript don't work together

    I'm using Spry form field validation, but also need to do some more specialized input checking. I've tried to add some custom Javascript to do this, but now my Spry stuff doesn't work!  Is there a way to combine the two -- Spry + custom Javascript? (testing in Safari) 
    Here's a very simplified example:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Test Doc</title>
    <script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
    <!-- Hide script from old browsers
    function procform(f) {
    if (f.name.value =="test") {
    alert("You entered the word 'test' ")
    return false
    // End hiding script -->
    </script>
    </head>
    <body>
    <form id="form1" name="passForm" method="post" action="#" onsubmit="return procform(this)">
    <span id="sprytextfield1"><span class="textfieldRequiredMsg">A value is required.</span></span>
    <input type="text" name="name" id="name" />
    <input type="submit" name="submit" id="submit" value="Submit" />
    </form>
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
    //-->
    </script>
    </body>
    </html>

    jrcatfan wrote:
    Phone works great when connected to Bluetooth in car and I can talk hands free.  When I use the Map app that came with the phone, I can't hear the verbal directions. My old Blackberry worked great with Bluetooth and I could hear verbal directions and also answer the phone when it rang. Verbal directions would be silent until I hung up the phone call.
    My car radio has 2 separate Bluetooth input source's. Phone and Music A2DP, verbal directions can only be heard when Music source is selected.

  • Lightroom 3 and Photoshop CS5 don't work together

    Hello,
    I recently updated from PS CS4 to PS CS5 and Lightroom 2.7 to Lightroom 3.
    Everything went smoothly and i'm very happy with performance overall.
    The only problem that i'm having is that now in Lightroom the "Edit in Photoshop" is greyed out. I can still edit the preferences for this option but i cannot choose the option when i want a photo to go to PS.
    I can still edit in Photoshop if i use it as an "another external edit program", but my question is how do i get the two programs aware again of each other?? So i can edit in photoshop as a smart object again. I updated ACR to the latest version.
    My computer runs a copy of Win7 64-bit Ultimate.
    Thanks
    Jan

    JanGeloen wrote:I guess these forums aren't so bad after all
    As long as you have protective body armour on, you're quite safe! 

  • G5 Quad (Geforce 6600) and Dell 2405fpw don't work together

    I purchased both (G5 Quad (Geforce 6600) and Dell 2405fpw) brand-new a few days ago.
    When I connect the display using the supplied DVI->VGA cable, the display works. When I connect them using (about any type of) DVI-D cable, I get no picture. The dell screen just stays in stand-by mode. BUT it gets detected (I can see this when I connect a second screen). And the screen show a test image when I disconnect it from the mac, so there's at least SOMETHING happening...
    What is wrong here?
    I am first-time Mac user and on edge to go to the PC/Unix world again, without ever looking back to apple-land, because of this, as it is SERIOUSLY SCREWING UP christmas for us this year.
    Thanks for your help.

    Actually ``detect displays'' found the screen, that was what I meant in my first post.
    The issue is kinda solved now, the DVI-Port of the ``brand-new'' display, which was delivered directly from the Dell factory in Limerick, is non-functional.
    I tried it with a different setup (PC) and see the same symptoms, which lead me to this conclusion. I will get a full refund and possibly buy a 3007WFP if the price is decent.
    It should work with a Geforce 6600 - even at 2560x1600.
    Thanks,
    Robert
    PowerMac G5 Quad Mac OS X (10.4.3)

  • IPhoto and Mountain Lion don't work together

    I consistently have problems with iPhoto and my entire computer locks up and runs at less than a snail's pace. I paid $15 to install iPhoto after upgrading to Mountain Lion and now wish I had stayed with Snow Leopard and the old iPhoto. Having to type this on my iPad while I wait for something to unlock on my computer. I am merely trying to export one image to my desktop and it's taken about 10 minutes. Apple - PLEASE fix this!

    There is no problem with iPhoto and Mountain Lion. You're not talking to Apple here, and as it's not happening to everybody else they're not going to fix it because you have a local problem.
    If you want help try give us a full description of the problem.
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Transition script and button script don't work together

    Hi
    I've been experiementing with actionscripting transitions
    between sections... this is the first site I have tried this with
    (last 3 had swf loaded in one after another rather than
    transitioned between). I used some code from kirupa.com which works
    for loading movies in and out, but I also have some code for my
    movie buttons. I can get one or the other working, but not
    together, so I guess I'm clashing code somewhere, I could do with
    some help please to find what I'm doing wrong...
    The transistion code and calling-up buttons is;
    Code:
    Menubar.b1.onRelease = function() {
    if (_root.section != "about.swf") {
    _root.section = "about.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b2.onRelease = function() {
    if (_root.section != "portfolio.swf") {
    _root.section = "portfolio.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b3.onRelease = function() {
    if (_root.section != "contact.swf") {
    _root.section = "contact.swf";
    _root.transition.gotoAndPlay("closing");
    and the code I have on my movie buttons is;
    Code:
    on (rollOver) {
    gotoAndPlay("rollover");
    on (releaseOutside, rollOut) {
    gotoAndPlay("rollout");
    Is there a way to combine them???
    Thanks. Wayne.

    your on(rollover) handlers are applied to buttons that are
    children of a movieclip that has handlers defined. the parent
    movieclip (Menubar.b1 etc) is going to intercept those mouse
    events.
    to remedy move you on(rollover) etc handlers to your
    movieclip buttons b1, b2 and b3 on MovMenu's timeline.

  • Named View Criteria with no wizard - I write the SQL

    Using JDeveloper/ADF 11.1.2.3.
    Is there a way to create a named View Criteria with a SQL Select that is more complex than the wizard can write?
    I know that I can write code to create a View Criteria at runtime, but then I can't just drag and drop it like a named one.
    One use case:
    I have a table named FACILITIES, with a detail table named FACILITY_SERVICES. I want a view criteria for FACILITIES that finds all facilities that have all the required services in a bind variable that is a comma delimited list.
    WHERE list.to_vc_array(:requiredServices) /* I wrote this function to translate a comma delimited list to my own vc_arraytype. */
       SUBMULTISET OF
          CAST(MULTISET ( SELECT service
                            FROM facility_services
                           WHERE facilities.facility_id = facility_services.facility_id)
               AS vc_arraytype)With the wizard, I can't even write a simple IN query (match at least one of the required services), much less this more complex one (match ALL the required services).

    I'm not sure that this is so bad :)
    You need to implement one interface and override one method.
    For example:
    public class YourVOImpl extends ViewObjectImpl implements ViewCriteriaAdapter {
        protected void create() {
            super.create();
            setViewCriteriaAdapter(this);
        @Override
        public String getViewCriteriaClause(ViewObject viewObject, ViewCriteria viewCriteria) {
            if (viewCriteria == null || viewCriteria.size() == 0) return null;
            return "list.to_vc_array(:requiredServices)\n" +
                      "   SUBMULTISET OF \n" +
                      "      CAST(MULTISET ( SELECT service\n" +
                      "                        FROM facility_services\n" +
                      "                       WHERE facilities.facility_id = facility_services.facility_id)\n" +
                      "           AS vc_arraytype)");
    }Dario

  • View criteria and LOVs

    Hi I am very new to ADF and just getting started on view criteria and LOVs. Is it possible to create a query panel and table such that in the search section the fields have drop down boxes or select many shuttles ? Right now what ever criteria i give is coming as only text boxes. I want for some fields there must be values retrieved from database and shown as drop down list and for another field I need it to be shown as SelectManyShuttle.
    Any suggestions or examples should be helpful.
    Thanks,
    Ravi.

    Hi Ravi,
    Sure, there is a way to do this. The attributes in your ViewCriteria should have LOV defined on them to show dropdown list for that attribute. When you include that attribute in your VC, it will show as selectOneChoice or whatever you have defined the LOV as.
    This might help:
    http://docs.oracle.com/cd/E23943_01/web.1111/b31974/web_search_bc.htm
    Thanks.
    -Nirav

  • I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login.

    I spilled water on my laptop and my "i", "j" and "k" letters don't work on my laptop. However my main problem is that my password contains an "i" so i am locked out of my computer. Any ideas how I can get around the password and login. I tried the method where you go into single user mode and type in commands, however that method uses some of the letters that are not working on my laptop.

    You didn't mention which version of OS X your running but there are password reset utilities provided OS X: Changing or resetting an account password (Snow Leopard and earlier) - Apple Support  or  OS X: Changing or resetting an account password - Apple Support
    Alternately you can use an external keyboard to log in and change the password. Make a backup if you don't have one, it's likely that your problems aren't over. If that water continues to migrate downward and fries the logic board your macbook will be toast.

  • IPad 2 Rotation, Sleep, and Volume Buttons Don't Work.

    I have an iPad 2 running 7.1.1 (11D201) and just yesterday the sleep sleep and volume buttons don't work, and the screen won't rotate at all.  I have already tried the following:
    Switched the Lock Rotation/Mute settings in General
    Power cycling it
    Held the sleep and menu button to reset it (the button worked for that at least)
    Done a network reset
    Reset All Settings and restored from backup
    Reset All Settings and restored from iCloud
    Erase All Content and Settings and restored from backup
    Erase All Content and Settings and restored from iCloud
    If anyone has any OTHER suggestions besides what I've already tried, I am all ears.  Thanks.

    Go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without be charged again.  Also, if you have IOS-7, read this.

  • My Microsoft Intellimouse back and forward buttons don't work in Firefox, but they do in IE and in Windows Explorer. It used to work, now it just stopped. Why and how can I fix this?

    Forward and back buttons don't work in Firefox but do everywhere else.

    Make sure that you set those buttons to the default action in your mouse driver software (Control Panel > Mouse or specific Intellimouse driver software).

  • My earphones mic and volume buttons don't work ever since the iOS 8.1 update! Please help me. One discussion person says they bought a new pair and THEY don't work either. What do I do? I'm about to have a breakdown!

    I rely heavily on my earphones because well... I'm lazy but they don't work. They work on my friend's iPhone who hasn't updated yet but I've updayed and the mic and volume buttons don't work. Please make a correct update!

    Nope, still same problem. I did an install, didn't work. Then I completely removed my IDT driver, restarted, installed the driver, restarted, same problem.
    When I troubleshoot my audio it always asks me which one to troubleshoot. It only works if I do one of the "Speakers / HP - IDT" but I don't know why it has so many devices listed with the same name.
    Also, after I troubleshoot and I can hear audio, if I go to "Manage audio devices" it still shows that no audio device is installed, which is why the webinars won't work.

Maybe you are looking for

  • Migration from BW 3.x to BI v7.0 Analysis Authorizations

    Hi All! We are converting our security from BW 3.x Reporting Authorizations to BI v7.0 Analysis Authorizations. My questions are as follows: We you make the IMG change in BI v7.0 in IMG transaction RSCUSTV23, does your old BW Reporting security disap

  • Compliance 4 - Updates by vendor month year

    Hello, I am having an issue where the Compliance report is saying KB2929733 is critical, but within the SUP console it severity = none. I deployed updates that were in the SUP console that severity = critical, but the reporting being presented to man

  • Transaction codes executable for user

    Hi I want a function module which says whether a user acess to particular transaction code. I am using this FM, but it says the user has authorization to a particular transaction code although he/she is not having access to that transaction SUSR_AUTH

  • Shortcut problem Asha 305

    I formatted my mmc last day so that all data is lost, but in the theme option it still had shortcut of the removed theme ,it also happen for tone option, i still can see the shortcut of the tone that have been gone.,. Please how to fix dis?

  • Export revisions

    This question was posted in response to the following article: http://help.adobe.com/en_US/story/cs/using/WSeffff8bffc80208419b47ba312e76907913-7ff9.html