Call a procedure in the application. Frank kindly check this

Hi,
I hv downloaded the login screen from the following site. Now I am trying to connect the same with my database. i hv introduced the password field in the application as earlier only username is available in the UI.
[http://blogs.oracle.com/shay/simpleJSFDBlogin.zip]
The problem is that in my database password field is protected with inbuilt oracle encryption. There is a procedure i hv in the database for the password encryption. How can I call the Procedure in the application??? In the application i hv introduced the business components and i hv attached the procedure in the application like "Offline Database Source" I hv to attach each database source like this? is it right way which i am following to call the procedure??
Please guide me
Thanks in advance
Jithesh.

Hi,
have a look at the developer guide of how to invoke stored procedures and functions. Instead of basing the query for the login form on a VO you use a stored procedure of function in a client method exposed on the VO or AM
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadvgen.htm#sm0297
Frank

Similar Messages

  • Frank Kindly check this....

    Hi,
    I am working on JDeveloper 11g ADF.
    I am a beginner in this technology. I hv tried to call the variable as per I got the replies in my earlier thread but I m not success in that way(May be i m doing it wrong way).
    [t-865632]
    In my application a Java class is there for checking the username and password through SQL query. In that class I am storing the username and password in two variables.
    I hv attached some BC into this application. I need to pass the condition in the query (of the Business components by going Data Controls --> Object (Table)--> Edit Definition --> Query). I want to call the Java variable there in the query (For passing the where condition). Is there any way to call the java variable there?
    Could u please provide a Sample if possible
    Thanks in advance.
    Jithesh.

    Jithesh,
    you're not calling the Java variables but pass the values of them to the query. See Named Bind Variables in the Fusion Developer's Guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#ADFFD1901
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Calling a procedure in the loop

    Just want to know one thing :
    I am calling a procedure with the following parameters
    DECLARE
        PROFIT_CENTER NUMBER;
    BEGIN
      PROFIT_CENTER:= 1109 --( Similarly I am running the proc for 5 more profit_centers 1123,1132,1122,3211,1111 one by one by passing values manually, it is taking almost a minute for each profit center)
    Prc_test_calc (  PROFIT_CENTER);
    COMMIT;
    END;
    For each profit_center proc is taking 1 mins (Approx) time.
    But when I am trying to loop it to call the procedure for each profit_center , I don’t know for what reason it is taking too much time for each profit_center
    Please let me know is there anything wrong with the below loop
    DECLARE
        PROFIT_CENTER NUMBER;
      cursor c_profit is
    select distinct PROFIT_CENTER from plng_pc where profit_center in (1109, 1123,1132,1122,3211,1111); -- Plng_pc is a table from where profit_center information is getting fetched
    BEGIN
    For pc_rec in c_profit
    loop
       Prc_test_calc (  pc_rec .PROFIT_CENTER );
      COMMIT;
    End loop;
    END;
    Could you please sugget me if something is going wrong?

    That depends on what the code is doing inside the proc, however how do you know that the select is not consuming more time and it is the procedure only. Your select -
    select distinct PROFIT_CENTER from plng_pc where profit_center in (1109, 1123,1132,1122,3211,1111);
    Is there a need to be commit inside the loop. It seems incomprehensible to me.

  • On win 7 64 bit mozilla or IE 10  I get the following message This installation package could net be opened verify that the package exist and that you can access for contact the application vendor to verify this is a valid windows installer package I trie

    I get this following message when installing the latest itunes on mozilla or IE10 was working on this machine before crash and reinstalled for HP disc I tried at leat 15 times firewall off /on microsoft essentials on/off  on windows 7  64 bit  see  message
    This installation package could net be opened verify thatthe package exist and that you can access for contact the application vendor to verify this is a valid windows installer package

    If you are not already doing so, install from an Administrator account.
    If you haven't already done so, download the iTunes Installer from:
    http://www.apple.com/itunes/download/
    Then right click on the installer and select "Run as Administrator." (Even though you are using an admin account).
    If that doesn't work, try creating a new administrator account and installing from there.

  • II  downloaded the OS X version 10.9 and my iPhoto version 9.2.3 will n.ot open.  I get a message that I can't use this version of the application I photo with this version of OSX.  What do I do now and how do I get the photos out of the old version?

    I downloaded the OS X version 10.9 and my Iphoto version 9.2.3 will not open.  I get a message that I can't use this version of the application I photo with this version of OS X.  How do I upgrade to a i photo that will run on 10.9.  Do I purchase a new program or can I do just an download?

    Check the "Purchases" page in the Mac App Store and see if there is a more recent version there already waiting for you.

  • Since uploading Maverick, my Microsoft apps give an error message "(the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  What to do?

    Since uploading Maverick, all of my Microsoft apps give an error message "(name of the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  I have to click on the "OK" button to get rid of the error message.  What to do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • I have just bought a 2011 iMac (2.5 ghz, 4gb) and logic express 9, and when i installed logic and tried to run it i had a message saying 'you can't use this version of the application logic express with this version of Mac OS X. How do i sort this out!?

    I have just bought a 2011 iMac (2.5 ghz, 4gb) and logic express 9, and when i installed logic and tried to run it i had a message saying 'you can't use this version of the application logic express with this version of Mac OS X. How do i sort this out!? It is very frustrating as the main reason i have bought  a mac is to use logic! Any help would be great as i am a complete novice when it comes to Macs!

    You're probably on OS X Lion?
    I had the same problem as you. I used Software Update to update Logic Express to the latest version, and then it ran without any problems.

  • You can't use this version of the application "logic pro" with this version of os x

    After installing all of Logic Studio (i.e. install dvd, audio content 1-3, jam packs 1-3), my laptop concludes that everything is installed successfully, however, when going to open to Logic, error icon appears and says:
    'you can't use this version of the application "logic pro" with this version of os x'

    Thank you! I found that just after I entered the question. I reinstalled everything two times, updated software, but was still having issues. But, I specifically updated the 9.1.8 (which was supposedly included in my standard software update). Guess I needed to give it some extra attention and affection.
    P.S. - Why do I feel like the more I upgrade versions of OS X, the worse off I am getting or am? Isn't it supposed to be opposite...isn't it supposed to make things better...come on, mac...where you at? mt. lion or mavericks. I'm downloading Snow Leopard to make some programs run. (um, yeah).

  • Unable to open mail, address book etc due to this message:  You can't use this version of the application Address Book with this version of Mac OS X. HELP!

    I am transferring my mother's address book and mail etc to my computer from an external hard drive enclosure and am not able to open it due to this message:  You can't use this version of the application Address Book with this version of Mac OS X. HELP!  Is there a way to open her older applications and get the info out?

    her email is in user>Library>Mail folder. Hopefully you've created another user on your Mac for your mother so she would have her own user Library.

  • You can't use this version of the application Logic Pro with this version of Mac OS X.

    You can't use this version of the application Logic Pro with this version of Mac OS X. why am i getting this message after upgrading to lion

    <Bump>
    See this thread.
    https://discussions.apple.com/message/15700842#15700842
    and this one.
    https://discussions.apple.com/message/15700505#15700505
    pancenter-

  • 'You cannot use the application ical.app with this version of Mac OS X'

    When I first upgraded to 10.5 ical and calculator both crashed when starting and now after upgrading to 10.5.1 I get the following message - 'You cannot use the application ical.app with this version of Mac OS X'
    This is only on my G4 powermac. No problem with Intel MacBook.

    Are you, by any chance, one of "those people" that move applications to something other than the default location?
    I know I am.
    When I upgraded, I saw the same problem - I had moved iCal (among others) outside of "applications" to something like "Applications/Business Apps"
    The version in "Business Apps" was the Tiger version, and it wouldn't run. However, the Leopard version (Installed to /Applications) worked fine.
    So, I deleted the "Tiger" version, moved the iCal to where I wanted it, and all was well.
    In a similar note, I put a number of iLive apps in a different folder -- and OS X software update stopped finding updates for those apps. I had to move them back to /Applications in order to get OS X software update to run them.

  • You cannot use the application "System Preferences" with this version OS X

    You cannot use the application “System Preferences” with this version of Mac OS X.
    I received this error message when trying to run System Preferences (SP) for the first time after running the 10.5.1 update (from the download, not software update). After the update, I repaired permissions. Did another restart. Same.
    I reinstalled 10.5.1 update. Same message. Logged in as another user. No change.
    I removed the com.apple.systempreferences.plist from ~/library/preferences. No change, and it did not re-create the .plist file.
    Any ideas? No one else seems to be having this problem as far as I can tell.
    dkrockville

    I have had this problem with many applications after updating to 10.5.1, including
    System Preferences, Calculator, Preview. Tried repairing permissions, and other tips from this thread. The strange thing is, the actual Leopard applications seem to have actually vanished? I don't know if this is anything to do with Time Machine; Anyway, My fix was:
    Download Pacifist (if you don't already have it), locate the apps that you're having problems with on the Leopard install DVD, and copy them to the Applications Folder (Click on 'Replace Bundle')
    Problem Solved for Me!
    Hope this Helps!

  • Disk utility "You can't use this version of the application Disk Utility with this version of Mac OSX. You have Disk Utility 12.1"

    I use mountain lion 10.8.1
    I try start disk utility it only says: "You can't use this version of the application Disk Utility with this version of Mac OSX. You have Disk Utility 12.1"

    To do a Reinstall of the OS boot to the Recovery HD, Command+r key at startup, then select Reinstall Mac OS X. the files will be downloaded from the internet and then the instal will begin.
    With Mt Lion it is also available from the Mac App store in your Purchases area. You may be able to download it and then nmanually starting the install while booted to Mt Lion.
    But I'd normally use the Recovery HD as that takes the installed OS out of the picture.

  • You can't use The following message is stopping me access my disk utility.  'this version of the application "Disk Utility" with this version of OS X.'  not only that my Mac pro keeps dropping my internet connection and logs on to BT Open.

    After installing Yosmite, The following message is stopping me accessing my disk utility.  'You can't use this version of the application “Disk Utility” with this version of OS X.' you have “Disk Utility” 12.1.1. 
    not only that my Mac pro keeps dropping my internet connection and logs on to BT Open.
    Help

    For whatever reason you don't have the Yosemite version of Disk Utility which is 13. I suggest you reinstall Yosemite.
    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Download and install the 10.10.1 update.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Check that you have the current version of Disk Utility.

  • I am getting pop ups on safari and firefox lately and am worried i may have malware or something now on my computer doing this. What is the best way to check this out for sure and remove it?

    I am getting pop ups on safari and firefox lately and am worried I may have malware or something now on my computer doing this. What is the best way to check this out for sure and remove it?

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

Maybe you are looking for