How can I use the procedures and functions in my library

hello, all
I have a pl/sql library MYLIB.pld, MYLIB.pll and MYLIB.plx.
How can I invoke procedures and functions there in JDeveloper?
Thanks.
Damon

I am indeed using ADF BC to re-develop the oracle application.
Here is my situation:
We have an oracle form application.
Our objective is to try to re-use the existing sources in the form application as much as possible:
1. tons of procedures and functions in a pl/sql library(a file with extension name portfolioLib.pll or portfolioLib.plx);
2. tons of form-level triggers, data-block triggers and item-triggers;
3. tons of database stored procedures and triggers;
After doing a research on JDeveloper, we decide to use ADF Swing+ADF BC to re-develop the application.
My opinion for the above three kinds of sources in our form application is:
for 1: we try to move most of procedures and functions into database(except Form build-in);
for 2: we try to wrap those triggers in a SQLJ class;
for 3: we try to call database procedures and functions with PreparedStatment or CallableStatement;
I just do a test on a post-query trigger on a data-block:
I created a sqlj file, named testSQLJ.sqlj in the test.view package;
I tried to call it in createInstanceFromResultSet of testDeptVOImpl.java which is test.model package,
I was told that testSQLJ cannot be found there. why?
How can I call some classes from test.view package in some classes of test.model?
I read some documents about how to deal with post-query trigger in JDeveloper: create a view with SQL statement, but it seems that it does not support pl/sql statement there.
Can you give me some opinion about the above stuff?
I really appreciate your help.
Damon

Similar Messages

  • How can I use the battery and let it be perfectly healthy?

    Hello everybody!
    I love this forum because everyone is a great helpful person.. .. However, I'd like to ask you couple things about the MacBook battery...
    I know that now the battery has been improved, it leasts longer and it can support 1000 charging cycles.
    (Right now I'm performing the battery calibration)
    I'd like to know how can I use the battery and let it be perfectly healthy.
    For instance,
    1) If I connect the laptop to the MagSafe and let it charge, when should I remove the plug from the Mac and when should I put it in charge? I don't wanna continously waste cycles and let my battery die too soon (it's too young to die! :-D ) .. I use it mainly at home connected to the MagSafe: someone tell that even if you leave the MagSafe connected after the mac has been charged it stops charging (I can see this), and others say that is not a good thing to let the mac connected to the plug for a long time... with the old model I used to disconnect the battery from the mac so I didn't have these problems but with the new one it's a long procedure...
    2) I usually use to calibrate the battery once a month... Is it a good thing?
    Thanks!
    Andrea

    Everything you need to know about your battery is contained in this User Tip from frequent poster neuroanatomist:
    http://discussions.apple.com/thread.jspa?threadID=1764220

  • How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?

    With Acrobat 6.0 I was able to copy a stamp in the same position (I mean "exactly" the same one) of different pages just by using the "copy/past" tool.
    Now I am using Acrobat XI and it seems like it is not possible anymore: I am copying a stamp and I am trying to past it in anoter page, but it appears in the center of the page (or wherever it wants to...).
    Does anyone have a solution?
    Thanks in advance.

    Thank you very much. I'll be waiting for you message.
    Messaggio originale----
    Da: [email protected]
    Data: 26/01/2015 17.56
    A: "Umberto Gangi"<[email protected]>
    Ogg:  How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
        How can I use the "Copy and paste" tool in order get stamps in the same position in different pages (Acrobat XI for PC)?
        created by Gilad D (try67) in Creating, Editing &amp; Exporting PDFs - View the full discussion
    Well, I was in the same situation so I've developed a tool that allows one to do it. I will send you some additional information about it in a private message.
         If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7132586#7132586 and clicking ‘Correct’ below the answer
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7132586#7132586
         To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, &amp; "Stop Following"
         Start a new discussion in Creating, Editing &amp; Exporting PDFs by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How can i use the boolean AND here?

    Hi,
    how can i use the boolean expression AND in order to include it in the expression below so as that 2 condition must be true in order to get the respective data from the database?
    java.sql.ResultSet res = statement.executeQuery("SELECT * FROM station9 " + "WHERE P =" + power);
    regards

    java.sql.ResultSet res = statement.executeQuery("SELECT * FROM station9 " + "WHERE P =" + power + " AND FLAVOUR = " + raspberry);

  • How can i use the SNMP and TCP/IP together in Labview?

    I want to use the SNMP and TCP/IP together in the Labview to communicate between the two computers, If anyone know about it , please write back.
    Santosh Chavan
    IIT MADRAS.

    You can use LabVIEWs UDP functions to communicate with SNMP devices. The tedious part is converting the MIB information into the required hex message.
    There is also a problem in using the UDP functions on port 161 (default SNMP port) if the Windows SNMP services is running.

  • How can I use the F14 and F15 key for a shortcut?

    Hi folks,
    I've been trying to assign custom shortcuts to the F14 and F15 keys of my keyboard (wired, full sized type) on my Mac Pro 2008 running Mac OS X Lion 10.7.2 however every time I try to assign those keys to an app's "Record a shortcut" function I get the same error dialog from the OS:
    The key combination F15 can't be used!
    The key combination "F15" can't be used because it's already used by a system-wide keyboard shortcut. (If you really want to use this key combination, most shortcuts can be changed in the Keyboard & Mouse panel in System Preferences.)
    (note: the same happens with F14, F13 and lower as well as F16+ work fine however)
    I have looked into my system settings as the dialog suggests however there isn't a single shortcut that uses F14 or F15 anywhere in any of the shortcut groups.
    If any of you have an idea of how I could "clear" or even just find out what these keys are currently being used for/by that would be super… they don't seem to do or trigger anything when I press them.
    Here is another screenshot of the issue:
    Note: This is not app specific, I've tried this in various apps and every time I get the same Mac OS popup.
    Thanks for reading,
    I look forward to your ideas and insights!

    Hi,
    Use the step reference to get a PropertyObject reference using the Step.AsPropertyObject. With this PropertyObject reference you can then get the values of Limits.High and Limits.Low using the PropertyObject.GetValNumber() method.
    Limits.High and Limits.Low will be the lookup string for the PropertyObject.GetValNumber() method.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • The computer I use for Itunes only has XP so I can't use ICloud. My desktop has Vista so I can use it. But I don't want to lose all of what I have on my Iphone 4S and my two Ipads. How can I use the desktop and retain the apps, music, podcasts etc. I have

    The computer I use for Itunes (my laptop) only has XP so I can't use ICloud:(
    I have a desktop that operates using with Vista.
    I downloaded 10.5 and sought to sync my two iphones and two ipads with the desktop in order to use ICloud. However I got warning messages that if I synced with this computer that had none of my extensive library of apps, music, podcasts, etc. would be on it, I would lose it all.
    I did authorize the computer. I knew enough to do that but am terrified that I will lose everything that I have accumulated and still won't be able to use ICloud.
    Isn't there a way to do this? Shift my library FROM my devices to the desktop?
    Thanks

    This is a tedious solution, which is stupid!  And some users report an inability to reauthorize a computer after an "en masse” deauthorization.  I can’t believe Apple doesn’t provide a list or menu to find out which computers you’ve authorized! Obviously, APPLE knows (or else they couldn’t tell us how many computers we have authorized)--so why can’t they give us access to that information about our own computers??!!!
    And for an already-authorized computer with a hard drive that’s since been replaced and upgraded from Mavericks to Yosemite, would it be recognized as a “new computer” and require authorization? Would its previous incarnation (i.e., with the old hard drive and OS) be considered a separate computer? Some users report they can’t authorize a computer after an OS upgrade because of that. Can’t believe we have to do such a bass-ackwards kludge!

  • How can I use the "home" and "end" buttons

    I have an external apple keyboard (full style, with number pad and all) plugged into my macbook.  However, the "home" and "end" buttons don't function the way I'd like (i.e. they don't go to the beginning or end of a line).
    Can I ever get this to work or does it just not function with a laptop that doesn't have that function in the first place.  I'd like to not have to use multiple keystrokes just to get a similar home/end result.
    Thanks!

    "on your hub dont use the phone it will cost you more.when i change over to bt they never told me that i would be charged for useing this phone so i dont now.crafty bt again.when my contract is up i will be leaveing bt for ever,georgesaa."
    Not sure why you are charged for calls on this, as standard you would get free evening and weekends and there are packages for unlimited anytime.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • How can I use the procedure parameters here?

    The problem in the following procedure is that the embedded javascript uses the parameter OBJ_NAME and OBJ_VALUE -> that doens't work.. how to solve this? It would be a pleasure for me if this procedure works! greetings Koen
    PROCEDURE KOEN.PROC_SET_FIELD (OBJ_NAME IN VARCHAR2, OBJ_VALUE IN VARCHAR2) as
    begin
    htp.htmlOpen; htp.headOpen;
    htp.p('<SCRIPT language = "JavaScript1.2">');
    htp.p('for (i=0; i < document.forms[0].length - 1; i++)');
    htp.p('{');
    htp.p('var v_name = document.forms[0].elements.name;');
    htp.p('if (v_name.indexOf("." + OBJ_NAME + ".") != -1)');
    htp.p('document.forms[0].elements[i].value = OBJ_VALUE;');
    htp.p('}');
    htp.p('</script>');
    htp.headClose; htp.htmlClose;
    end;

    Hi,
    it looks as if you are creating a new page to hold your javascript.
    the javascript must be on the same page as the form for the code to work.
    put the PL/SQL to generate the javascript code into the "after generating the form" section in the portal form.
    Regards Michael

  • I received an apple 5 from a colleague  he cannot be reached anymore, how can i use the phone and use it with my apple id ?

    I received an I phone 5 from a colleague
    He  is nowhere to be contacted
    I do not have his apple id
    How do I use this i phone without having his apple id
    I have my own apple id
    <Email Edited by Host>

    If the phone is Activation Locked (which it sounds like it is) the only thing you can do is contact the person who locked it. If you can't do that the phone is not usable as there is no way to bypass Activation Lock. The following has more information, including what to do if the person can be contacted. iCloud: Activation Lock

  • How can I use the message protection function ???

    hello,everyone! I am a programmer working on the iphone,and I have a trouble in message filtering.How can I do it when I want to refuse the message which is sended from the specific people?? thank you

    Why not ask over at the registered developers forum?

  • I just installed Readdledocs on my ipod, and now when I launch the app, I get a screen which says "downloading message" and the app freezes and won't do anything else.  How can I get the app to function again?

    I just installed Readdledocs on my ipod, and now when I launch the app, I get a screen which says "downloading message" and the app freezes and won't do anything else.  How can I get the app to function again?
    This happened after I tried to get Readdledocs to open an epub file which I created in Calibre.

    This is a followup to my own posting above.
    Thanks to Dave Sawyer for posting information about re-downloading an app which has been deleted.  I deleted the app from iTunes.  Then, when I synched, iTunes asked me if I wanted the items on my ipod touch copied back into iTunes.  I said yes and then synched.
    Readdledocs is now working again.  It is no longer frozen.  However, I have learned my lesson.  I will download only pdf's from now on.  I don't think it works so well with epub files.  The text reflow feature of Readdledocs is exactly what I need to use for my work documents on my ipod touch.

  • How can I find the procedures where I use a table?

    How can I find the procedures where I use a table?
    I need to look for it in all the users.

    select name,owner from dba_dependencies where referenced_name='table_name'
    and referenced_owner = 'schema'
    and type = 'PROCEDURE'
    Aravind

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

  • I've an apple ID used to buy off iTunes and a mobileme account for the calendars and contacts. How can I move the calendars and contacts to the older apple ID and use it for iCloud?

    I've an apple ID used to buy off iTunes and a mobileme account for the calendars and contacts. How can I move the calendars and contacts to the older apple ID and use it for iCloud?

    If you remeber the password to that Apple ID then follow these steps
    1 - Make sure you have an email address that is NOT an Apple ID
    2 - Go to AppleID.Apple.com
    3 - Where it reads Manage Apple ID - Sign in
    Once you are signed in want to make sure the email address you are wanting to use is NOT set up as a "Recovery/Rescue" email for this account.
    [To check this - Main page where you see Primary ID - below do you see the email address you want to use listed towards the bottom? Yes - Delete / No - Good ./. If made any adjustments "Save" Next on the left select "Password & Security" - Answer your security questions you set up "if you have any" then scroll towards the bottom and check to see if you see the email address you want to use. Yes - Delete / No - Good] <-> Also you can change your password on this page as well. Any adjustments made "Save"
    Once this is done go back to the main page where you should read "Primary ID" and change the email address that is showing to the new email address youo want. "Save" Done
    I learned this not to long ago and worked for me. Hope this helps you!

Maybe you are looking for

  • InDesign to pdf

    Help me!! I'm late to CS5.5, having just upgraded from CS4. I can't figure out a) how to create pdfs and b) where the Acrobat printer is, altho' that's probably a discussion for the Acrobat forum... I tried the AdobePDF Presets, which used to work li

  • Change Region of existing HANA instance

    Hello, We are facing the following problem. We have a HANA cloud instance which by mistake we have opened in Asia Pacific region in AWS. The result is that we have increased latency due to the remote location. (We are accessing the instance mainly fr

  • Using smart forms

    hi all, How to include a smart form into webdynpro abap view?can any one provide me step by step procedure or sample code for this.. Thanks in advance, Regards, Anusha

  • Subbing from pdf to InDesign

    HI there, I've got given a pdf of a webpage and am now supposed to subedit this. Will I need to draw the main parts (that I have to sub) myself onto InDesign or can I use the pdf template and then fit new content into it??? Am a bit lost here and don

  • Revenue recognition wrt project system

    Hello friends, We have a scenario like: Total cost incurred on a project100(PWIP) Billing to the customer is 200 Here my client says revenue is only 100 not 200 as he incurred cost 100. What is the configuration reequired to show the revenue as 100.


HashFlare