Does XML approach for passing parameters in the query make the query slow?

Hi,
I am using XML approach for passing parameters in a query. This is running very slow but when I pass comma separated values in parameter, it runs very fast.
So it concludes that we should not use XML approach for passing parameters. Please confirm me that Am I right or wrong?
I have also googled to clear my doubt but not get solution till now. please help me.
Regards,
Sachin

914014 wrote:
Hi,
I am using XML approach for passing parameters in a query. This is running very slow but when I pass comma separated values in parameter, it runs very fast.
So it concludes that we should not use XML approach for passing parameters. Please confirm me that Am I right or wrong?
I have also googled to clear my doubt but not get solution till now. please help me.
Regards,
SachinShow us what you are doing, create a simple yet complete example we can run on our Oracle instances.
Then we will know exactly what you mean, and can comment appropriately.
Cheers,

Similar Messages

  • APP-FND-01702 An assignment does not exit for these parameters

    Hi,
    I am facing this below error in AP,AR,CM,GL Modules. If any one knows the solution plz revert back ASAP,
    I encountered the error message when I created an invoice in AP module:
    APP-FND-01702:An assignment does not exist for these parameters and one is mandatory.
    Cause:The profile option Sequential Numbering is defined to have
    sequential numbering always used. The current set of parameters does not have a sequence assigned.
    Acction: Go to the Assign Sequqnces screen and assign a sequenct to the current set of parameters.
    Regards,
    senthil

    Hi Senthil,
    this is an issue with the configuration only, when the profile option is Always used system is referring to your Sequential numbering configuration, which seems to be not right / incomplete...Hence verify whether you have defined assignment for all the categories in the modules and re-test the same again ....
    You can change the profile option value to Partially used, which will not throw an error, it would only give you a warning ..
    Regards,
    Ivruksha

  • How does APEX check for null values in Text Fields on the forms?

    Hello all,
    How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
    I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
    All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
    Declare
    v_valid boolean;
    Begin
    IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := FALSE;
    ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := FALSE;
    END IF;
    return v_valid;
    END;
    My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
    Thanks

    See SQL report for LIKE SEARCH I have just explained how Select list return value works..
    Cheers,
    Hari

  • HT5071 After submission, how long does it take for a new book to appear in the iBook store?

    How long does it take for a new book to appear in the iBook store after you have submitted it successfully? I submitted a free book last night. No sign of it 6 hours later ... If the delay is because process are being followed, what ate they? Any ideas?

    5-10 days in November.

  • My IPHONE will not Sync when plugged into the USB port, although the it makes the sound that it is charging, Itunes does not recognize that it is there, what should I do?

    I have restarted the computer, the IPHONE 4, I have checked for updates, and Have reinstalled Itunes.  The Iphone plugged into the usb makes the noise that its charging but nothing else. It does not sync and ITUNES does not recognize its plugged in.
    Please Assist.

    See also Recover your iTunes library from your iPod or iOS device.
    tt2

  • Why does the iPad make the same noise when it connects to a charger that doesn't charge it as one that will charge it???

    Why does the iPad make the same noise when it connects to a charger that doesn't charge it as one that will charge it???
    I would expect that it would make an unusual noise if plugged into a generic USB charger that does not have enough oomph to charge a pad to alert you - otherwise, you might think the noise is reassuring that you are actually charging it.

    I guess my question was actually more of a comment on the (lack of) design!  It is unusual that something like this would still be in an Apple product.  There are wall chargers that have a USB port on them that do not have the required oomph to charge the iPad.  I have one that has two USB ports, one for my iPhone  (it won't charge an iPad), and one for an iPad with greater amperage rating.  I accidentally used the wrong ones for a while yesterday, but noticed before being "surprised" the next morning by an uncharged iPad.  The iPad is smart enough to say "Not charging" by the battery icon when it is plugges in to one of these, so it "knows" - seems like it would be fairly simply to have the iPad make a different or additional noise  wehn it puts up the "Not charging" text icon.  Failsafe user experience?

  • Does compiling the kernel makes the system run significantly faster?

    It used to be when you compiled your kernel (at least ten years ago), you would get a significant speed boost. However, with the speed of machine nowadays, I wonder how much, if any. Does compiling the kernel have a significant increase in daily performance or otherwise? If so, what portion of the system does it makes faster than before? In short, Is it worth it? I appreciate any comments.

    lilsirecho wrote:
    Broch:
    The title of this thread doesn't limit responses to just redoing the kernel since it says "system run significantly faster".
    The kernel is not the system...the system runs from HDD and ram. 
    To speed up that process, run everything possible in ram for system speed up.
    I think for 500 packages loading from scratch to desktop in 45 seconds is fast.  And running after that in ram is super fast system speed "significantly faster".
    The speed I quote is possible now.  With UDMA capability in the kernel, at least half of the install time is probable.
    And that is for over 500 packages into KDE no less!
    Using flash in IDE removes the latent search from the system and therefore must be faster.
    Changing the kernel will indeed speed up the system...but only if it includes UDMA for the flash drives already available but not configured with the present kernels. 
    Using flash drives for ide cache repos will allow faster boot time, and reduce the load on the system.  You don't normally run many,many programs at once so put them in cache with a script to permit fast loading .
    That is "system running significantly faster" and all in ram, the fastest in the computer.
    no
    Does compiling the kernel makes the system run significantly faster?
    compiling kernel, not whatever
    I did not suspect that this requires explanation?
    but if you really want the noise, let's leave "faster?"
    and answer is: yes/no
    whatever that means.
    or you are joking
    anyway seems that results may vary.
    Last edited by broch (2008-02-06 04:32:01)

  • I migrated info from a hard drive to a new mac under time machine. It says I have shared files, but I don't see the old info on the new machine. Where do I look for it ? How do I make the old backup the base for my new macbook ?

    I migrated info from a hard drive to a new mac under time machine. It says I have shared files, but I don't see the old info on the new machine. Where do I look for it ? How do I make the old backup the basis for my new macbook ?
    The old OS was Mac X 10.5.8.   I think the new one is  10.7.2     Lion.

    Have a read here How do I set up a new Mac from an old one, its backups, or a PC?
    Stefan

  • I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300

    I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300 pixels on the shortest side but sometimes this gives me an image of slightly greater than 70kb and sometimes the image is just 30-40kb.  Is there a way to be more precise in reaching but not exceeding 70 kb?

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    You can opnly resize using the available options and file size is not one of them
    LN

  • I want to know why some box of Iphone5s it's not come full accessories in box simple my iPhone 5s I have bought from Apple store last week it's first time for me use iPhone but so surprise me how the company make the phone have to use a pin to open

    I want to know why some box of Iphone5s it's not come full accessories in box simple my iPhone 5s I have bought from Apple store last week it's first time for me use iPhone but so surprise me how the company make the phone have to use a pin to open the sim but didn't give a pin inside the box and I ask staff at store their said they also don't know some box have some of are don't have a pin come together so then they told me I have to find solution or I have to buy a pin by my self I can buy it by myself but I really don't understand how come apple big company but how it's happen like this?thank you.

    Where did you purchase this. The US phones do not come with the SIM removal tool anymore. They haven't for some time now. I'm not even sure it comes with any of the devices anymore. You can just straighten out a paper clip and do the same thing.

  • Does any one know if Apple is going to make the necessary changes to the new pages program so we can merge our contacts into a letter as before

    Does any one know if Apple is going to make the necessary changes to the new pages program so we can merge our contacts into a letter as before

    No.
    No more than anyone knew they were going to take away over 90 features.
    Have you tried using Pages '09 which should still be in your Applications/iWork folder?
    Peter

  • IPhone 5S IOS 8. Can't figure out how to disable the "live" location feature within the native calendar app used for mapping/travel time.  Have looked everywhere and it's driving me nuts.  Thanks for any help on where to make the change!!

    iPhone 5S IOS 8. Can't figure out how to disable the "live" location feature within the native calendar app used for mapping/travel time etc.  Have looked everywhere and it's driving me nuts.  Thanks for any help on where to make the change!!

    iPhone 5S IOS 8. Can't figure out how to disable the "live" location feature within the native calendar app used for mapping/travel time etc.  Have looked everywhere and it's driving me nuts.  Thanks for any help on where to make the change!!

  • I have recently updated my iTunes to the latest software. Since then my iphone will not sync with the computer, it doesn't show up in my computer any more. The computer makes the bing sound as I plug in but i am unable to sync, how can I fix this problem?

    I have recently updated my iTunes to the latest software. Since then my iphone will not sync with itunes, it doesn't show up in my computer any more either. The computer makes the bing sound as I plug in but i am unable to sync, how can I fix this problem?

    http://support.apple.com/kb/TS1538

  • Whats the best option for passing parameters between tf?

    Dear All,
    I have three Task Flows:
    1. TF1
         -  Main Taskflow that calls a web service to gather its data
    2. TF2
         -  Secondary taskflow which receives a parameter and depending on the value of the parameter received will display its data accordingly.  Generally any data
         is feed from TF1
    3. TF3
         -  Same as TF2Use Case:
    All three TF will be dropped to the page as Regions in a Webcenter Portal Application. Changes in TF1 should propagate into TaskFlow 2.
    Question:
    1. How do I configure that changes in TF1 would be propagated back into task flow 2 and 3 and whats the best option for this?
    2. At runtime, user can choose to edit the page and TF2 and TF3 can be deleted but TF 1 should remain as the source of information.
    Given the scenario above:
    - shall I wire the taskflows via page parameters?
    - contextual events?
    What are the considerations that needs to be thought of. I havent done such requirements before.
    Please help.
    Webcenter 11.1.1.6

    Contextual events seem to be the best case.
    This way you can trigger whenever you want. Web services can be slow so you can trigger the event when the gathering of the data has been finished and then pass some value on the event.
    An event also has a payload so it's an ideal scenario to add the data from the service on it so you can use it in the other TF's.
    In order to manage the deletion of the TF1, you can use the UI events on the composer: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_page_editor_adv.htm#CHDHHFDJ

  • Better way for passing parameters ?

    Hi, i'm using a hashmap(string) in my java (parameters/value).
    At this time, i m calling Java methods from native code to retrieve value from this hashmap.
    I think it would be better to pass all the data to native code, and after retrieve data from C structure.
    i dont know what jni structure i should use to pass these datas(jobjectArray, jchararray). I cant pass string to native functions because there are too many parameters.
    May you help me.
    Thks

    If you need extremely robust solution, have a look at NewDirectByteBuffer and GetDirectBufferAddress - native functions to allocate ByteBuffer in native memory which could be accessed from Java or retrive the contents of the ByteBUffer allocated in Java. This is pretty neat, since you are not passing any parameters except for a reference to ByteBuffer which can be read directory from native code.
    SUch approach does buy off if you need to pass really huge structures (over 10M?..) since parameters to native code are passed 'by value' (so, EVERYTHING is copied) - if I remember everything correctly - haven't touched JNI for a while.
    I did some tests with early 1.4.x JVMs long time ago and the trade off wasn't very obvious in my case (< 2-3M of data passed in and out). So, unless you run in performance bottlenecks or can think of some generic 'protocol' for your application to read/write params from a buffer (thus eliminating/limiting changes to JNI interface every time you need to pass new parameter) i don't think it's worth it.

Maybe you are looking for

  • Strange system log error from Photoshop CS4

    Hi. I keep getting this strange system log error from Photoshop CS4. It comes after a wile when using PS CS4. I tried to chance the memory settings and scratch disc to see if that helped. It didn't. I also checked all my ram for anything bad. 16GB in

  • Authentication error. Report this error to your system administrator

    Hi, We have intigrated CUE with CUCM in a test lab but facing an issue in voice view. Configured the JTAPI username and password. But Voice view express has a problem when working with remote CUCM. The IP Phone displays the following error: "Authenti

  • Others cant view my pages (using: TOMCAT 4.1.24 server)

    I create pages.. JSP and regular HTML pages but when i give someone over the internet my IP address to view it the get error. However when i use my ip address instead of http://localhost:8080 i can view the pages. What is the problem???

  • How to Store bollean selection values and retrieve them in runtime?

    I have an array of bolleans representing a channel of a device. Now , when the user turns on the channel the selected channel array are supposed to be stored. Now when the user selects device 2 (using a ring function) the list refreshes t5he channel

  • Customer Exit in variables

    plz suggest  what can be done which can fullfill our requirement in variable--- if user gives iput in variable period -jan08  to oct 08,& Material-XXXXXX user should get the output of this in the next variable(inspection Lot) as input values (i.e F4