How to call plsql procedure or function and getting back the string?

Hi Everyone,
i am using Jdev 11.1.1.5.0.
i have a requirement to call plsql procedure or function from my backing bean java file and get back the returned value from the procedure or function.
what piece of simple code i need to write in my backing bean?
please suggest.
Thanks.

As always you write the method to call he pl/sql in the application module, expose this method to the client (so you see it in the datacontroll) then create a operation binding to the method and call this operation from the bean. The result you get by operation.getResult();
You should never call pl/sql from the bean directly!
The doc shows how to call the procedure from an application module: http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcadvgen.htm#sm0297
Timo

Similar Messages

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • How to call plsql procedure in jasper

    Hi,
    anybodys know how to call plsql in jasper..
    i have try this code in jasper -> select query langiuage = plsql
    {CALL STD03_MERIT_PROCESSING($P{std03_studentVal},$P{std03_studentVal})}
    but there is error taht said no data found..
    any idea
    Thnak You

    Hi,
    I know nada of Jasper, but it took a couple of seconds to find out that calling stored procedures aren't supported.
    There are number of articles describing work-arounds for that.
    This seems to be a good one:
    http://brianburridge.com/2006/06/04/how-to-call-stored-procedures-from-jasper-reports/
    Other suggests Hibername mappers or some bean approach,
    Regards
    Peter

  • HOW CAN I REMOVE "ASK" SEARCH BAR AND GET BACK FIREFOX SEARCH BAR?

    for last few dyas, when i click on firefox icon, i get the "ASK" search bar. i want to remove 'ASK' search bar, and get back firefox search bar

    If this is the Ask.com toolbar, you can remove it by following these instructions: '''[http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4 How do I uninstall the Toolbar?]'''
    You may also be able to '''[[Uninstalling add-ons|disable or uninstall the add-on using the Firefox add-on manager]]'''.

  • I lost my iphone (4).  I ended up buying a new 4S.  NOW my original iphone has been found. I had had the 4 disabled and it can only be utilized now for emergency calls.  How do I backup my original phone and get all the contacts?

    I lost my iphone and had to replace it.  All my contacts were on my original iphone which wasa a version 4. 
    I had to replace the phone and now  have a 4S.  I had never backed up my original phone.  How do I download all my contacts to icloud etc so I can upload to my new 4S?
    Right now the original phone is "disabled" and it tells me I have to enter my 4 digit pin.  It also says the only calls I can make are for assistance...
    Once I have downloaded my contacts from original phone to icloud???...how do I sink my new 4 S.
    Also, I have a new ipad and it has 3 G.  I have lots of data in my ipone plan and don't need more.  How do I "share" the data plan between my iphone and ipad? How do I keep the data backed up that is on both iphone and ipad.

    In Regards to this, You possibly wont be able to get the contacts from the iPhone 4 unless there is a back up file on your computer.
    The original phone would be disabled due to alot of attempts of the wrong passcode. If all your contacts are on the cloud at the moment, you would be able to just set the iPhone 4S up with iCloud on it then Turn On "Contacts".
    This would be bring all the contacts down from your iCloud onto your 4S.
    But you will only be able to merge your contacts with the cloud when your original iPhone either has been enabled or the passcode was entered.
    If you have previously already had iCloud on that device and have contacts Turned on, you will be able to just enter the same Apple ID you used for iCLoud on your original phone and use it on your new one.
    Your able to check what content your iCloud holds via www.icloud.com
    If you are unable to get past the disabled screen, then unfortunately the device will have to be put into recovery mode and then restored via iTunes NOTE: This will delete all data.

  • How to call webservices in as3 (flash) and get its response

    Hello
        I need to know how to call webservices in flash cs5 as3 and how to track its response. any example ?
    Thanks
    Avneet

    http://www.thetechlabs.com/tech-tutorials/xml/creating-a-as3-web-service-package-base-serv ice-class-and-simple-twitter-api/

  • How do I uninstall 10.5.2 and get back to 10.5.1

    the new update has destroyed my printing. Until Apple fixes the problem, I NEED my printer, so I'd like to delete the update. Of course I have the original disk... so how do a take out the new and return to the original Leopard.

    Adding my experiences to the discussion... My sisters 1.83 iMac (Early 2006) had some crazy stuff going on after the update. I ran Disk Warrior from my MacBook Pro with the iMac as a target disk and DW told me that it could not rebuild the directory, mentioning media errors among the problems. I started to think that the HDD was the problem after Disk Utility failed to repair the disk until I booted from the Leopard DVD, and found that her 10.5.2 update coincidence with all of her problems (all Mail lost, black menu bars, a whole host of new apps in the Dock that weren't there before, and other unknown problems). However, I was unable to restore from the earlier TM backup (thankfully they bought an external at Xmas), because the HD couldn't be found, so I erased the HD and now I am reinstalling Leopard from the DVD and will restore the system from the last 10.5.1 TM backup. If there is anything that I could have done differently, let me know. I'll post an update once I get it all back up and running.

  • How do I close a web site and get back to the home page?

    When I click the close button on a web page I end up at the desktop with no visible means of using other sites. When I click on the fire fox logo again I am told that I am already connected. When I use the back button instead of the close button to get to the home page and then shutdown my computer to start over I get the oops page asking if I want to restore web pages that I thought were closed.

    Make sure that you type in the location bar and not in the Google search bar.
    * Make sure that you have the "Navigation Toolbar" and the "Bookmarks Toolbar" visible: "View > Toolbars"
    * If items are missing then see if you can find them in the "View > Toolbars > Customize" window
    * If you see the item in the Customize window then drag it back from the Customize window to one of the toolbars.
    * If, in "View > Toolbars > Customize", you do not see that item then click the "Restore Default Set" button
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • How do I Uninstall 10.9.2 and get back 10.8.6 ?

    I recently downloaded Maverick 10.9.2   I am having lots of problems.  I tried to open a Numbers file ("Recipes Numerically") stored in my Desktop Documents folder.
    Instead of the Numbers Icon near the top of the dock bouncing back and forth, a new Numbers Icon appears at the bottom of the dock and does the bouncey thing. It opens a page saying "Welcome to Numbers" and wants me to click "Continue"  When I do it brings up another page. Then opens a blank numbers page titled "Recipes Numerically" with only one column. I now have lost that copious file that I've been updating for years.
    PLEASE, can I get back to my old, familiar, friendly 10.8.6?

    Thanks Tony & Peter,
    Unfortunately, I do not have Wi-Fi, hence no Time Machine.  I'm hooked to a DSL cable. Can I redo my operating system by restarting my
    computer using the original Snow Leopard 10.6 Install DVD ?   I do have Carbonite
    and have many things backed up on that. I also have files backed up on SunDisk external memory cards.
    Also I have a LOT of files generated by ClarisWorks 4.0 for Teachers that are residing on my old MAC Tower. I understand that ClarisWorks will only run on OS 9 Classic. Would I be able to use my OS 9
    DVD to load it onto my present iMAC 20"/2.66/2GB/320/SD/MSE/KB  that I purchased
    on 05/09 ?   If not, is there a program that will convert the ClarisWorks files
    into Pages/Numbers Documents that will run on Snow Leopard ?  I would like to
    get rid of my old computer, but it's the only one that'll run OS 9 and open those
    files.
    Thanks again for all your help.

  • Rotating an image and getting back the image...

    Hi,
    I have a small problem using images...
    1. I have an existing image...
    2. I need to rotate the image by a certain angle(say 60 degree)....
    3. Return the rotated image back to the calling routine...
    My problem is that I can rotate the image using the AffineTransform, and draw the image immediately... but I cannot return the rotated image... can anyone help me out on this??????

    No sorry that didn't fix it. I forgot to mention that I already have a method in ImagePanel called clearImage()
         * Clear the image on this panel.
        public void clearImage()
            if(panelImage != null) {
                Graphics imageGraphics = panelImage.getGraphics();
                imageGraphics.setColor(Color.LIGHT_GRAY);
                imageGraphics.fillRect(0, 0, width, height);
                repaint();
        }But if I clear the panel and then try to apply the function nothing happens. The LIGHT_GRAY background remains.
    This is how I apply a function in the class[b] ImageViewer
         * Apply a given function to the current image
        private void applyFunction(Function function)
             if(currentImage != null) {     
                  if(function.getName().equals("Zoom In")) {
                       Zoom.ZOOMIN_RATE = 1.5;
                       function.apply(currentImage);
                  else if(function.getName().equals("Zoom Out")) {
                       Zoom.ZOOMIN_RATE = 0.5;
                       function.apply(currentImage);
                  else {          
                       imagePanel.clearImage();
                       function.apply(currentImage);    //A function is applied                   
                  frame.repaint();              
                  showStatus("Applied: " + function.getName());
             else {
                  showStatus("No image loaded.");
        }

  • I had an old iPod nano with my files saved on it and was stolen. I cannot find my old account. I bought an iTouch and made the new account that was needed for it to function. I was wondering how i could find my old account and get all the content back.

    I had an old iPod nano with my content saved on it and was stolen. As well, I can't find and access my old account that I had with it. I bought an iPod touch and made a new account so that I could use the iTouch. Anyone know how to find the old account and how to transfer data from the old one to the new account?

    This may help you find your iTune account:
    Frequently Asked Questions About Apple ID
    Without knowing your old account info there is nothing you can do.

  • How do i uninstall lightroom 4.4 and get back to 4.3?

    I certainly made a mistake trying 4.4.  I did a few things in 4.4 am not sure where the problem started, but i made numerous changes in photoshop (always updating the metadata) and things seemed fine.  Then i created a new file in photoshop and did an import, but since i had a flash drive plugged in, LR imported from that.  Where those photos went in LR, I don't know.  Was the catalog actually updated, I don't know.  I removed the flash drive and synchronized folders.  From that point on, i had problems with metadata.  I have been very careful uploading and downloading the metadata properly when linking to photoshop and creating new files from an original opened from lightroom.  However, now in LR, metadata seems to be a problem.  My filter 'unsaved metadata' had 20-30 files, and i know they were ok.  I saved them anyway (maybe not a good idea).  Interesting thing, LR keeps showing those files with unsaved metadata, even after I save them.  It's like LR 4.4 isn't saving metadata.  I absolutely know there is a problem because of an original dng file that i didn't touch showed as unsaved metadata. 
    At this point, I'm going to have to revert to my last catalog backup prior to installing 4.4.  Then i want to deinstall 4.4 and reinstall 4.3.  I'm a bit unclear how to do this.  I'll save my settings and previews and backup catalogs, but with all the downloading these days, I'm not sure I have LR dvds. 

    Findings to date:  first, thanks to everyone for suggestions.  I chose a less drastic approach than deinstall, and still have 4.4.  Reviewing the responses, I suddenly remembered that I had a similar problem in 4.3, but only one time. And I confirmed this problem in 4.4.  I can't give you a scenario for how it happened, or why it happens to some images and not others.  It's not a security problem, though that was a good idea to check out.  My solution in 4.3 was simply to delete the photos (didn't really need them)!  What happens is that when I click on the down arrow on an image to write metadata to file, the down arrow does not go away, so it seems that the metadata is not updated.  However, when I look at the properties in Windows Explore for that image, it shows the date updated as the date that I hit the arrow, so the metadata, I believe, IS being updated.  If this is true, then it is simply some error in 4.4 (and existed in 4.3) as to how LR updates its own arrow.  Here's another interesting thing.  I tried 'edit in photoshop' and making a change, just to see what happens.  Well, that REALLY resulting in some strange behavior SOME TIMES, but not all times.  Some times, when i made a slight change in PS, saved, and returned to LR, the active link between LR and PS served to update the metadata flag.  However on some occasions a new image was created, and I did this a number of times.  It would have a name something like the original image name with "_edit-1", _"edit-2", etc.  Before I noticed what was going on, I just saw the unsaved metadata flag, and edited one of those copies in PS, and would come back to LR with another new image and an increased name, such as "_edit-4", etc. 
    So, rather than uninstalling, I carefully reviewed most of my images in the catalog to determine the extent of the damage, and these peculiarities affected far fewer images than I had thought.  I updated the metadata when notified, and most of them worked.
    However, I will say that I am quite certain that I had not changed some of these images in order to get that metadata out of sync indicator.  A few of the images that showed the metadata out of sync were complete original dng images that I KNOW I did nothing to so I'm quite sure this was a mistake on LR's part, but I can't prove it because I know that other software affects metadata, including Bridge which I try to stay out of.  These particular images, and they were few in number, simply would not update the tag when i clicked the indicator.  Anyway, I suggest folks really check out the metadata functions, but like I said, I believe this problem exists in 4.3, also, but why only a small subset of images, I don't know.

  • HT3258 I am running Safari on 10.6.8. and inadvertently downloaded what  I took to be an update BUT it was a lion product not running on my macbook AND in so doing I lost/overwrote or whatever my trusty Safari. How do I uninstall Lion etc and get back the

    Question. I  am running 10.6.8. on my macbook and wrongly/inadvertently downloaded Lion Safari rather than an update to my trusty browser system. How do I uninstall Lion which seems to have overwritten. 'scrubbed' my faithful friend leaving me bereft -  hence this plea sent via my Imac.

    Try the Mac OS X v10.7 Lion community on how to uninstall Lion.

  • How to delete "temporary" a game and get back the data later?

    Hello everybody
    My iphone4s 16GB is quite full .
    I wish to delete some game (Galaxy on Fire for example) to have some free space. But i don't want to loose all what i gained during the 45h of play I spent in this game... I want to be able to re-install this game later and find my last save.
    Can you tell me how to proceed?
    Thnaks in advance for your help!
    Guillaume

    You can't do that easily.
    Find another way to free up space, because even if you were able to strip the save data for this game from your device (just do a google search to see how complicated that is) there isn't any guarantee that would even work if you put it back on.

  • Exporting and getting back the original settings

    Just some basic questions if Lightroom 1 and 2 really behaves this way:
    - When I export a picture I edited in the Develop module as a different file name, Lightroom then remembers those changes I made from that particular picture when I go back to the Library module.
    - If i try to import the exported file, Lightroom 2 will give two previews of the same edited picture. The exported picture and the original. However, what I wanted Lightroom to do is to retain the original picture so that the edited will also appear in the library.
    - When I try to import the original picture again, Lightroom said that the picture already exists in the catalog.
    Are there any workarounds so that when I export an edited picture, lightroom retains the original picture for comparison purposes?

    If you want both the "original" image and the developed version of the image visible in the Library module then use Virtual Copies.
    Do this:
    1. import your images
    2. select them
    3. create a new collection (Library > New Collection) and tick the "Make new virtual copies" box.
    You can make development adjustments to the virtual copy.

Maybe you are looking for

  • Protective cover for macbook

    is it worthwhile to buy one of those transparent anti-stain/scratch stick-on plastic cover for protection of the exterior of the macbook? pls recommend any brand/model that is value for money. thanks.

  • Performance issues while issuing cursor

    Hi All, I have two tables, Tab1 contains 8000 rows and tab2 contains 2000 rows. I need to check which all tab1 data are missing in table2. I wrote the comparision query using cursor within curosoe and its working fine also but its taking a long time.

  • I can't edit my Project in iMovie 11-Gray Screen

    I completed importing all the clips into the PROJECT window from the EVENTS window that I needed.  Everything was working well until I imported a song from iTunes.  I tried ducking the song during a portion of a clip in the PROJECT window then all he

  • Applet NullPointerException/noClassDefFound

    Hi, i'm new to Java and VERY new to applets. I have an applet that works fine when i start it from eclipse, but when i try starting it in a browser window i get the following Exception: Java(TM) Plug-in: Version 1.4.2_05 C:/Inetpub/wwwroot/SampleFish

  • PDDocSaveWithParams saving files of little to no size

    Hi there, From my Reader-Enabled Plugin, I am trying to save a copy of a document to the user's temporary directory using PDDocSaveWithParams This works fine, about 90% of the time. The other 10% I get either a 0byte file or a file of very small size