Call java code on submit anyaction on the BPEL form

Dear All
As you know in the BPEL form there is many action like Submit , Approve , Not Approve etc.. i want to call java code when i call any actions.
Regards
Wish79

Hi friend,
Maybe this is a sin, to ask a question about java on a .net forum but still going to try ;)
As you said, this is a question about Java. I am afraid this is out of our support. You'd better ask in thier special forum. Like selenium.  Thanks for your understanding.
Have a nice day!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Looking for an idea to call action listner or other way to call java code

    Hi
    I'm building some project on JSF2
    I'm Looking for an idea to call action listner or other way to call java code from link(not commandlink)
    and i got a sign out button which i want to invalidate the session when its clicked...
    i cant do a redirect to a jsp... its a "special" link that does the log out , so i cant use the link for the session invalidation
    I dont want to use commandLink cause i need to put it into a form, and i don't to make my code uglier...
    any ideas?
    Im using JSF 2 (new to it)

    Under the constraints you have given the only thing I can think of is some kind of "pretty url" technique combined with JSF. Google can help you out. (Although that might be overkill for what you need.)
    Other than that I think you are looking at straight Java or JSP solutions that do not involve JSF.

  • How to call java code in xsl?

    I'm trying to call java code in xsl. I've not been able to do so so far....any help is greatly appreciated.
    Here's my xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
              xmlns:xalan="http://xml.apache.org/xalan"
              xmlns:java="http://xml.apache.org/xalan/java"
              extension-element-prefixes="java">
    <xsl:output method="xml" indent="yes"/>
    <xsl:strip-space elements="*"/>
    <xsl:template match="data_order">
    <order xsl:use-attribute-sets="order-info"></order>
    <fromdate><xsl:value-of select="ds/temporal/ds_start_date"/></fromdate>
    <stringdate><xsl:variable name="stringDate" select="java:ConvertDate2.changeDate(ds_start_date)"/>
    </stringdate>
    <thrudate><xsl:value-of select="ds/temporal/ds_stop_date"/></thrudate>
    <chans><xsl:apply-templates select="ds/subset_spec/channels"/></chans>
    </xsl:template>
    <xsl:attribute-set name="order-info">
    <xsl:attribute name="id"><xsl:value-of select="@job_id"/></xsl:attribute>
    <xsl:attribute name="job"><xsl:value-of select="@origin"/></xsl:attribute>
    </xsl:attribute-set>
    <xsl:template match="channels">
    <xsl:copy use-attribute-sets="sequence">
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:attribute-set name="sequence">
    <xsl:attribute name="index"><xsl:value-of select="position()"/></xsl:attribute>
    </xsl:attribute-set>
    </xsl:stylesheet>
    And here's my java code
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class ConvertDate2
    public static String changeDate(String inputdate)
    String date_array[];
    String combined_date;
    date_array = inputdate.split("[-]");
    combined_date = date_array[0]+ date_array[1]+ date_array[2];
    return combined_date;
    }//end changeDate
    }// end class

    Try Changing your namespace for java to ConvertDate2(This class should be in classpath) and replace
    <stringdate><xsl:variable name="stringDate" select="java:ConvertDate2.changeDate(ds_start_date)"/>
    </stringdate>
    with
    <stringdate><xsl:variable name="stringDate" select="java:changeDate(ds_start_date)"/>
    </stringdate>
    Make sure your query matches with ds_start_date correctly.

  • Calling java code from oracle apps form

    I've created my own java .class file and am attempting to call it from an oracle applications form. I am getting a runtime error while running the form, but I don't know what the error is because nothing is being reported to me.
    I've created the .java file in JDeveloper, compiled it into a .class file, deployed it to a .jar file, and placed it on the application server in a directory that the CLASSPATH can see it. I've added it to the archive parameter of the appsweb.cfg file and see that the .jar file is being downloaded when the JInitiator of Oracle Apps is started.
    I have also imported the .class file into the form via the Program -> Import Java Classes which resulted in PL/SQL package stubs created to call the .class methods.
    When I run the form, the java code is activated on a triggering event, PRE-INSERT. There is no java bean item in a block or on a canvas anywhere. I dont' think I need there to be since I am simply using the java code to perform actions during PRE-INSERT, not to display anything on the canvas.
    I have placed debug messages throughout my code and see that the error is occuring in the PL/SQL packaged stub at the line "JNI.GET_CLASS()" where the parameter to that call is the name of my class. I know it's erroring there because I am handling the "java_error" exception. I am displaying "ora_java.last_error" in the exception handling, but it is null.
    I am at a loss as to determine why I am having problems and how to display an error. Any suggestions? I'm happy to outline my steps and problem in more detail if I have missed something obvious.
    We are using Forms 6.0.8.21.3 with Oracle Apps 11.5.7.
    Shane.

    Shane,
    Don't loose the heart. You have come too close to end.
    The scenario you have mentioned is very unique and something which will fit more in the forms forum. So I think that was a sincere answer to help you and not a "pass the buck" card type game :)
    You are lucky that you got Tapash interested into this issue, otherwise you see there is no OAF component involved out here.
    I have an article promised to some of the guys but will follow this issue.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • JNI Calling Java code when attaching to existing JVM

    I've got an Active/X that runs within IE, and also makes JNI calls (via the Invocation API) to Java code. Running within IE means there's already a JVM around, so I attach to it using JNI_GetCreatedJavaVMs
    This is fine. The problem is that I can't use the JNI findClass() to locate my Java classes, because I have no control over the classpath that the JVM is using to locate classes. The only solution I can think of so far is to either add my classes as part of the JVM, OR find out the classpath of the existing JVM (using System.getProperty("java.class.path") and copy my classes into that directory.
    Both solutions look ugly - anyone know of a cleaner way ?
    Mark.

    Toby, thanks for the reply.
    You're welcome.
    I notice from elsewhere on this forum, you're clearly a JNI expert.
    I've been known to work with it a little from time to time. =)
    My code has to work with JDK 1.1 so URLClassLoader is out. Writing my own classloader is fine, but how do I load it in the first place ? Is there something in JNI I've missed ?
    Possibly. Using DefineClass() you can load a class into the virtual machine, given it's byte-code. Now here's the tricky part. First, write your ClassLoader. It will be easiest if it doesn't rely on any other classes other than what is core to the JRE. Once you compile that classloader, you then need to include the bytecode as a resource in your executable/dll. Then, at runtime, you can load that resource, and use DefineClass to class-load it. Once you've class-loaded it, you can use NewObject, GetMethodID, CallXXXMethod, etc... to do the other class loading you need to do.
    Trust me, this really isn't as hard as it might sound.
    God bless,
    -Toby Reyelts
    As always, I recommend you check out the free, open-source JNI toolkit, Jace, at http://jace.reyelts.com/jace.

  • Calling Java code inside JSP page and sending toString on object to Servlet

    Hi.
    I am trying to setup a way to make testing my application easier. Using a web-based method will work best. Here is what I am trying to accomplish:
    - Have a web page that will prompt the user to enter data, fill in text fields, make choices, etc. When done, they press the Submit button. I don't need to keep info between sessions. Just open browser, execute, view results, close browser, repeat.
    - I then want to take this data and use some Java Classes I have to create a Java object.
    - I then want to send the toString() results of this Java object to a known Java servlet. The result of the servlet's actions should be displayed as a response on the screen.
    This is what I currently have (Ignore the
    's - I don't know why they are showing up - its not important):
    Web page:
    <html>
    <head><title>TestGroup</title></head>
    <body>
    <form name=f method=post action=http://localhost:100/Servlet>
    Name: <br>
    Group: <input name=group type=text><br>
    <br>
    <input type=submit value=Submit>
    <input type=reset value=Reset>
    </form>
    </body>
    </html>The Java code in the JSP (where to put it?):
    <%
    Group g = new Group();
    g.setGroupName(request.getParameter("group"));
    String output = g.toString(); // I want this to go to the Servlet.
    %>But, now I am stuck as to how to piece these together. I have some JSP experience, but not quite like this.
    As I said, when the user presses the Submit button, I want to perform the Java code above, and have the results of the toString method sent to the Servlet, plus clear all other parameters (so they are not sent to the servlet).
    Does anyone have any advice/comments? I am open to alternative designs too, this is just the simplest one I could think of. If another JSP page is needed, that's fine too.
    Thanks.

    Hi.
    I am trying to setup a way to make testing my application easier. Using a web-based method will work best. Here is what I am trying to accomplish:
    - Have a web page that will prompt the user to enter data, fill in text fields, make choices, etc. When done, they press the Submit button. I don't need to keep info between sessions. Just open browser, execute, view results, close browser, repeat.
    - I then want to take this data and use some Java Classes I have to create a Java object.
    - I then want to send the toString() results of this Java object to a known Java servlet. The result of the servlet's actions should be displayed as a response on the screen.
    This is what I currently have (Ignore the
    's - I don't know why they are showing up - its not important):
    Web page:
    <html>
    <head><title>TestGroup</title></head>
    <body>
    <form name=f method=post action=http://localhost:100/Servlet>
    Name: <br>
    Group: <input name=group type=text><br>
    <br>
    <input type=submit value=Submit>
    <input type=reset value=Reset>
    </form>
    </body>
    </html>The Java code in the JSP (where to put it?):
    <%
    Group g = new Group();
    g.setGroupName(request.getParameter("group"));
    String output = g.toString(); // I want this to go to the Servlet.
    %>But, now I am stuck as to how to piece these together. I have some JSP experience, but not quite like this.
    As I said, when the user presses the Submit button, I want to perform the Java code above, and have the results of the toString method sent to the Servlet, plus clear all other parameters (so they are not sent to the servlet).
    Does anyone have any advice/comments? I am open to alternative designs too, this is just the simplest one I could think of. If another JSP page is needed, that's fine too.
    Thanks.

  • Calling Java code from Webdynpro Abap UI

    Hi All,
    Can anybody tell me, How to make calls to java code on a button click from webdynpro ABAP UI ?
    Thanks in Advance.
    Jenish .V. Joy

    Hi Jenish,
    As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?
    rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    If you get any answer for your question let me know.
    Regards,
    Karthick K Eswaran

  • Can MySQL triggers or storedprocedures(callbacks) call java code?

    I have to store the DB tables in the server side(i.e cache it) If someone updates the Data Base , The Data updates must be reflected in the cache in the server side. so how callbacks form the DB can be make to a java code in the server side.
    i am using Ms SQL and web logic server.
    or which DB and APP server can support it?

    Do the update request from the client via an java application(servlet,etc.) to an server application. The server application work with the db (via jdbc) and can so update the cache if any db update occurs.

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

  • Code to Submit RIMODGEN in the Background

    Does anyone know how to submit RIMODGEN in the background? Here's a small clip of my code. I don't think the problem is with my parameters. The program executes but the integration model is not created.
    CLEAR gt_params.
    PERFORM load_params USING 'I_INCR' 'P' 'I' 'EQ' 'X'. "Dark Mode
    PERFORM load_params USING 'I_MODID' 'P' 'I' 'EQ' p_model.
    PERFORM load_params USING 'I_LOGSYS' 'P' 'I' 'EQ' p_lsys.
    PERFORM load_params USING 'I_APPL' 'P' 'I' 'EQ' 'MATERIALS'.
    PERFORM load_params USING 'I_MATINC' 'P' 'I' 'EQ' 'X'.
    LOOP AT gt_mara INTO gs_mara.
    PERFORM load_params USING 'MA_MATNR' 'S' 'I' 'EQ' gs_mara-matnr.
    ENDLOOP.
    SUBMIT rimodgen
    WITH SELECTION-TABLE gt_params
    AND RETURN.
    Thanks in advance for any help someone can provide.
    Mike

    Could you please elaborate on your requirement. In general we use SM36 and SM37 for IM creation and scheduling. For IM activation you have to use program RIMODAC2 and create and schedule job using SM36 and SM37
    Thanks
    Aparna
    Edited by: Saradha Ramesh on Jun 12, 2009 6:15 PM

  • Color names in Java code format.  Looking for the 216 safe colors.

    Color names and associated values are available in HTML format; I am looking for such a list in Java code.
    thanks for any help.

    // Since I could not find it, I pasted it up myself.
    // Since I think it is useful and cool, I am sharing it.
    import java.awt.Color;
    Java class of the standard non-standard "safe" browser colors.
    View and choose colors grouped by color at
    <http://halflife.ukrpack.net/csfiles/help/colors.shtml>
    or others.
    Colors in this alpha ordered list are presumed to correspond.
    public class Colors {
    public static final Color AliceBlue = rgb("F0F8FF");
    public static final Color AntiqueWhite = rgb("FAEBD7");
    public static final Color Aqua = rgb("00FFFF");
    public static final Color Aquamarine = rgb("7FFFD4");
    public static final Color Azure = rgb("F0FFFF");
    public static final Color Beige = rgb("F5F5DC");
    public static final Color Bisque = rgb("FFE4C4");
    public static final Color Black = rgb("000000");
    public static final Color BlanchedAlmond = rgb("FFEBCD");
    public static final Color Blue = rgb("0000FF");
    public static final Color BlueViolet = rgb("8A2BE2");
    public static final Color Brown = rgb("A52A2A");
    public static final Color BurlyWood = rgb("DEB887");
    public static final Color CadetBlue = rgb("5F9EA0");
    public static final Color Chartreuse = rgb("7FFF00");
    public static final Color Chocolate = rgb("D2691E");
    public static final Color Coral = rgb("FF7F50");
    public static final Color CornflowerBlue = rgb("6495ED");
    public static final Color Cornsilk = rgb("FFF8DC");
    public static final Color Crimson = rgb("DC143C");
    public static final Color Cyan = rgb("00FFFF");
    public static final Color DarkBlue = rgb("00008B");
    public static final Color DarkCyan = rgb("008B8B");
    public static final Color DarkGoldenRod = rgb("B8860B");
    public static final Color DarkGray = rgb("A9A9A9");
    public static final Color DarkGreen = rgb("006400");
    public static final Color DarkKhaki = rgb("BDB76B");
    public static final Color DarkMagenta = rgb("8B008B");
    public static final Color DarkOliveGreen = rgb("556B2F");
    public static final Color Darkorange = rgb("FF8C00");
    public static final Color DarkOrchid = rgb("9932CC");
    public static final Color DarkRed = rgb("8B0000");
    public static final Color DarkSalmon = rgb("E9967A");
    public static final Color DarkSeaGreen = rgb("8FBC8F");
    public static final Color DarkSlateBlue = rgb("483D8B");
    public static final Color DarkSlateGray = rgb("2F4F4F");
    public static final Color DarkTurquoise = rgb("00CED1");
    public static final Color DarkViolet = rgb("9400D3");
    public static final Color DeepPink = rgb("FF1493");
    public static final Color DeepSkyBlue = rgb("00BFFF");
    public static final Color DimGray = rgb("696969");
    public static final Color DodgerBlue = rgb("1E90FF");
    public static final Color Feldspar = rgb("D19275");
    public static final Color FireBrick = rgb("B22222");
    public static final Color FloralWhite = rgb("FFFAF0");
    public static final Color ForestGreen = rgb("228B22");
    public static final Color Fuchsia = rgb("FF00FF");
    public static final Color Gainsboro = rgb("DCDCDC");
    public static final Color GhostWhite = rgb("F8F8FF");
    public static final Color Gold = rgb("FFD700");
    public static final Color GoldenRod = rgb("DAA520");
    public static final Color Gray = rgb("808080");
    public static final Color Green = rgb("008000");
    public static final Color GreenYellow = rgb("ADFF2F");
    public static final Color HoneyDew = rgb("F0FFF0");
    public static final Color HotPink = rgb("FF69B4");
    public static final Color IndianRed = rgb("CD5C5C");
    public static final Color Indigo = rgb("4B0082");
    public static final Color Ivory = rgb("FFFFF0");
    public static final Color Khaki = rgb("F0E68C");
    public static final Color Lavender = rgb("E6E6FA");
    public static final Color LavenderBlush = rgb("FFF0F5");
    public static final Color LawnGreen = rgb("7CFC00");
    public static final Color LemonChiffon = rgb("FFFACD");
    public static final Color LightBlue = rgb("ADD8E6");
    public static final Color LightCoral = rgb("F08080");
    public static final Color LightCyan = rgb("E0FFFF");
    public static final Color LightGoldenRodYellow = rgb("FAFAD2");
    public static final Color LightGrey = rgb("D3D3D3");
    public static final Color LightGreen = rgb("90EE90");
    public static final Color LightPink = rgb("FFB6C1");
    public static final Color LightSalmon = rgb("FFA07A");
    public static final Color LightSeaGreen = rgb("20B2AA");
    public static final Color LightSkyBlue = rgb("87CEFA");
    public static final Color LightSlateBlue = rgb("8470FF");
    public static final Color LightSlateGray = rgb("778899");
    public static final Color LightSteelBlue = rgb("B0C4DE");
    public static final Color LightYellow = rgb("FFFFE0");
    public static final Color Lime = rgb("00FF00");
    public static final Color LimeGreen = rgb("32CD32");
    public static final Color Linen = rgb("FAF0E6");
    public static final Color Magenta = rgb("FF00FF");
    public static final Color Maroon = rgb("800000");
    public static final Color MediumAquaMarine = rgb("66CDAA");
    public static final Color MediumBlue = rgb("0000CD");
    public static final Color MediumOrchid = rgb("BA55D3");
    public static final Color MediumPurple = rgb("9370D8");
    public static final Color MediumSeaGree = rgb("3CB371");
    public static final Color MediumSlateBlue = rgb("7B68EE");
    public static final Color MediumSpringGreen = rgb("00FA9A");
    public static final Color MediumTurquoise = rgb("48D1CC");
    public static final Color MediumVioletRed = rgb("C71585");
    public static final Color MidnightBlue = rgb("191970");
    public static final Color MintCream = rgb("F5FFFA");
    public static final Color MistyRose = rgb("FFE4E1");
    public static final Color Moccasin = rgb("FFE4B5");
    public static final Color NavajoWhite = rgb("FFDEAD");
    public static final Color Navy = rgb("000080");
    public static final Color OldLace = rgb("FDF5E6");
    public static final Color Olive = rgb("808000");
    public static final Color OliveDrab = rgb("6B8E23");
    public static final Color Orange = rgb("FFA500");
    public static final Color OrangeRed = rgb("FF4500");
    public static final Color Orchid = rgb("DA70D6");
    public static final Color PaleGoldenRod = rgb("EEE8AA");
    public static final Color PaleGreen = rgb("98FB98");
    public static final Color PaleTurquoise = rgb("AFEEEE");
    public static final Color PaleVioletRed = rgb("D87093");
    public static final Color PapayaWhip = rgb("FFEFD5");
    public static final Color PeachPuff = rgb("FFDAB9");
    public static final Color Peru = rgb("CD853F");
    public static final Color Pink = rgb("FFC0CB");
    public static final Color Plum = rgb("DDA0DD");
    public static final Color PowderBlue = rgb("B0E0E6");
    public static final Color Purple = rgb("800080");
    public static final Color Red = rgb("FF0000");
    public static final Color RosyBrown = rgb("BC8F8F");
    public static final Color RoyalBlue = rgb("4169E1");
    public static final Color SaddleBrown = rgb("8B4513");
    public static final Color Salmon = rgb("FA8072");
    public static final Color SandyBrown = rgb("F4A460");
    public static final Color SeaGreen = rgb("2E8B57");
    public static final Color SeaShell = rgb("FFF5EE");
    public static final Color Sienna = rgb("A0522D");
    public static final Color Silver = rgb("C0C0C0");
    public static final Color SkyBlue = rgb("87CEEB");
    public static final Color SlateBlue = rgb("6A5ACD");
    public static final Color SlateGray = rgb("708090");
    public static final Color Snow = rgb("FFFAFA");
    public static final Color SpringGreen = rgb("00FF7F");
    public static final Color SteelBlue = rgb("4682B4");
    public static final Color Tan = rgb("D2B48C");
    public static final Color Teal = rgb("008080");
    public static final Color Thistle = rgb("D8BFD8");
    public static final Color Tomato = rgb("FF6347");
    public static final Color Turquoise = rgb("40E0D0");
    public static final Color Violet = rgb("EE82EE");
    public static final Color VioletRed = rgb("D02090");
    public static final Color Wheat = rgb("F5DEB3");
    public static final Color White = rgb("FFFFFF");
    public static final Color WhiteSmoke = rgb("F5F5F5");
    public static final Color Yellow = rgb("FFFF00");
    public static final Color YellowGreen = rgb("9ACD32");
    public Colors() {  }
    private static Color rgb(String hexValue){
    return(new Color(
    Integer.parseInt(hexValue.substring(0, 2), 16),
    Integer.parseInt(hexValue.substring(2, 4), 16),
    Integer.parseInt(hexValue.substring(4), 16)));

  • Multiple submit button on the same form

    Hi,
    I have created a PL/SQL procedure which generates a HTML form using htp and below is part of the code.
    Create or Replace PROCEDURE OBM_PROCEDURE
    htp.formOpen(OWA_UTIL.GET_OWA_SERVICE_PATH || 'insert_obm');
    htp.formSubmit(cvalue=> 'Insert');
    This creates the form and clicking Insert button calls the other procedure (insert_obm).. works fine.
    I could create other buttons like "Query" "Update" "Delete" on the same form using following.
    htp.print ('<INPUT TYPE=submit VALUE="Query"> ');
    But all the buttons call the same form (insert_obm) since they are in the same form. How do I make the buttons call different procedure?
    Thanks,
    Jee

    Hi,
    The best way to do is call a single procedure as you are doing on form submit and check which form submit was clicked ,say based on the submit value and then do the processing accordingly i.e whether it is INSERT or DELETE.
    Hope this helps,
    Thanks,
    Anu

  • Is it possible to call Java Code in a Oracle Trigger?

    Hi there,
    I am a programmer, but I need to do some Oracle database job. Specifically, I want to create a trigger in Oracle database table and within the trigger to call some java JDBC code to connect to another DB2 database. Is it possible?
    If possible where to find some sample code or material?
    Thank you!
    Eric

    Thank you for you great answer. it is clear and helpful.
    but I am not very good at database. I still have question on "databaseLink".
    all I know is use JDBC to connect to db.
    In your code:
    INSERT INTO localOracleTable
    SELECT * FROM remoteDB2Table@databaseLink
    BEGIN
    FOR x IN (SELECT * FROM localOracleTable)
    LOOP
    INSERT INTO remoteDB2Table( <<column list>> )
    VALUES( x.col1, x.col2, x.col3, ... x.colN );END LOOP;
    END;
    What the "databaseLink" look like? I want to do is other way around. select * from remoteDB2Table and insert into localOracleTable...
    I will spend some time on Oracle to try to fully understand it.
    Thanks a lot!
    Eric

  • Java Code  that can find all the specified functions in a sql statement

    If i pass a string like
    SELECT CONCAT(region_name,store_name) , length( region_name) , region_name || store_name, region_name, store_name FROM Geography
    WHERE store_name = 'Boston';
    Then my code should return
    CONCAT(region_name,store_name)
    length( region_name)
    region_name || store_name
    i.e all function related stuff. Is there any parser in java that can parse all the functions a sql or ny code that can d that. Any help is highly appreciated

    I suspect a regular expression may be able to handle this, or 'grep'. Why do you need to do it in Java?

  • How to call java code from xslt.

    I have to do some complex looping in my stylesheets. It is difficult to implement it directly. can i write a javacode for the same and invoke it from my stylesheet? Can anyone help me out with a demo if possible?

    you're the one supposed to provide updates on your progress, not anyone else...

Maybe you are looking for

  • How to connect G5 to G3

    Was working many mos. ago when I needed to use it but not now - so I know I'm overlooking something simple. If I remember correctly, I wasn't able to see the G3 from the G5, only the G5 from the G3 - but whatever, it worked. (May have that backwards,

  • Dragging a file onto finder in Mountain Lion

    Hi there, I am asking this question here because there isn't a Mountain Lion section yet. When I drag a file onto the finder icon in the dock I used to get a pop up finder window where I was able to navigate to other maps to find the right destinatio

  • Vram windows and mac

    Hello I have and mac and installed windows via bootcamp, I wonder if the VRAM is split for both! Help please.

  • IPad cannot connect iTunes problem :(

    This iPad cannot be used because the required software is not installed.Run the itunes installer to remove itunes, then install itunes again. I had try many times remove itunes, then install itunes again, still face this problem. I also look for anot

  • Missing PO's:  2LIS_02_ITM

    Hi, I'm missing a few PO's in BW which are present in R/3. Since I have limited knowledge of the MM side, what are the reasons that could cause a PO to be excluded. The PO also exists in table EKPO. We are using datasource 2LIS_02_ITM. We do a full l