Please Suggest...How to execute SQL quiries in JDeveloper using BPEL????

Hi All,
I am very new user of Oracle JDeveloper and BPEL. I am trying to develop a process flow in JDeveloper using BPEL and get stuck when I was trying to execute a SQL quiry in the flow.
How to execute SQL quiries using JDeveloper and BPEL?????????????
Possibilities might be..
1.Configring Database Adapter
2.Using Java Embedded activities of BPEL
However, any of the above mentioned way is not clear with me how to implement it to get the query run in the process flow.
It will be great if anyone could help me with this concept....
Thanks in advance
-Prabha
Edited by: user10259700 on Sep 15, 2008 3:48 AM

Hi,
though BPEL has its development environment in JDeveloper, it has its own forum
BPEL
Frank

Similar Messages

  • How to execute SQL Quiries in BPEL using JDeveloper

    Hi All,
    I am very new user of Oracle JDeveloper and BPEL. I am trying to develop a process flow in JDeveloper using BPEL and get stuck when I was trying to execute a SQL quiry in the flow.
    How to execute SQL quiries using JDeveloper and BPEL?????????????
    Possibilities might be..
    1.Configring Database Adapter
    2.Using Java Embedded activities of BPEL
    However, any of the above mentioned way is not clear with me how to implement it to get the query run in the process flow.
    It will be great if anyone could hepl me with this concept....
    Thanks in advance
    -Prabha

    ... or perhaps just scan the last 5 posts before you post a new thread, in which case, you'd discover that someone else already asked Help needed in executing SQL query... and got the same answer

  • Please suggest how to handle User Transactions in JSP using JTA

    we are using Websphere application server with DB2, Can anyone suggest how to maintain the transactions in JSP ?

    What transactions?

  • How to execute SQL through OEM GC, using different OS user?

    Hi all,
    I have a relatively simple issue, and I'm hoping there's a simple fix. This is all being done on ONE server - so on this server, I have OEM 11.1.0.1.0, the agent, and several 11.2 databases running. The OEM install is owned by the "oem" OS user, while the databases I'm connecting to are owned by a different OS user "oracle". All normal OEM GC operations are working great, just this one issue I am having.
    Through OEM, I am trying to go in and execute some simple SQL statements against a database. When I do this, I am selecting to "Override Preferred Credentials", and I'm putting in the host and database username/pwds. It all works fine, but only if I specify the OS user that owns the OEM install (oem). If I try to put in the OS user that owns the actual Oracle database install (oracle), then it is failing. It is not giving me any error messages, just a red X under "Execution Status", and when I click on it, it just says "(No results available)". Again, when I change the query so that the host credentials are the "oem" user, then it runs fine.
    I am not sure what I need to do, so that it can run the query, but use a different host login? Any thoughts/ideas?
    Thanks!!
    --Brad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    It may be that when Grid logs in using the preferred credentials you've specified that the environment is not being set properly. When you log in interactively as this other user (the owner of the Oracle RDBMS binaries) do you need to manually set environment variables such as ORACLE_HOME or PATH in order to run sqlplus ? Or are they set in the user's .profile? I am assuming that this is a Linux / UNIX system and not Windows.

  • How to execute SQL queris in BPEL using JDeveloper?????..Please suggest

    Hi,
    I am very new to JDeveloper. Curently i am tryin to execute an SQL query from the BPEL process, there is an query in the source field and the output of the query is to be mapped to a variable field in the target xsd file. the query is fairly simple, like
    SELECT emp
    FROM emp_table
    WHERE emp_id=123
    The target field, namely "employee", is an element from the xsd file. I tried using Java embedding activity to connect to the db and execute the query through a piece of Java code, but couldn't find a way to assign the output of the query to the associated target field. however lately i also discovered the Database Adapter services which helps me to create a database connection, but still i am not sure as of how to handle and map the output of the query to the variable field. Is there any other way to execute database queries in Jdeveloper using BPEL process????????? Please suggest.
    Can somebody please help me in resolving the issue either through Java Embed activity or Database Adapter services??
    Thanks in advance
    Prabha

    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm
    maybe this one is helpful for you.
    best is to use the db adapter for this.
    if you just execute it you will see the format of the output in your audittrial (so some kind of list of employees). In bpel when you doubleclick the invoke-activity you will see the outputvariable.
    With use of xpath you coud loop over this 'list' (collection/array/etc) of employees and do with it whatever you want.
    Too see how you need to loop over the array you could check this :
    http://clemensblog.blogspot.com/2006/03/bpel-looping-over-arrays-collections.html

  • How to execute SQL scripts in batch

    Hi,
    I have separate scripts for Creation of Tables, Stored Procedures, Views, Triggers in different .sql files.
    I have to execute thses scripts in batch in different servers and different databases without opening SSMS.
    All .sql files to be executed in single command.
    Please suggest how to achieve?
    Appreciate your help.
    Regards,
    Bala

    you can use sqlcmd
    https://msdn.microsoft.com/en-us/library/ms162773.aspx
    other options are osql,isql
    https://technet.microsoft.com/en-us/library/aa214012%28v=sql.80%29.aspx
    https://technet.microsoft.com/en-us/library/aa214007%28v=sql.80%29.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to execute SQL Query in Code behind Using infopath 2010?

    Hi,
    I've repeatable on infopath form, and want bind it throuth code behind from SQL table. My question is that how to execute SQL Query in code behind from infopath as well as how would get Query result to bind repeatable control?
    Thanks In Advance
    Shoeb Ahmad

    Hello,
    You first need to add new SQL DB connection then you need execute connection from code behind.
    See below link to create new connection
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx:
    http://www.bizsupportonline.net/infopath2010/connect-infopath-2010-sql-server-2008-table.htm
    Then use below code to execute this connection:
    AdoQueryConnection conn = (AdoQueryConnection)(this.DataConnections["Data connection name"]);
    string origCommand = Select * from tablename;
    conn.Command = origCommand;
    conn.Execute();
    Finally bind your table:
    http://www.bizsupportonline.net/infopath2007/4-way-programmatically-add-row-repeating-table.htm
    http://stevemannspath.blogspot.in/2010/09/infopath-20072010-populate-repeating.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • After updating my iphone 5s to ios 8.0.2, I am not able to use watsapp and line properly, iphone automatically comes out of the apps after few mins. Please suggest how to fix it.

    After updating my iphone 5s to ios 8.0.2, I am not able to use watsapp and line properly, iphone automatically comes out of the apps after few mins. Please suggest how to fix it.

    I had this same problem with what's app.  There is a new update for the app on the app store which is compatible with ios8.  Update the app, or delete it and re-add it.  I found a lot of apps weren't compliant with ios8, but after updating everything worked fine.

  • Please suggest how can we place chart series label evenly in Pie Chart of SSRS 2008

    Could you please suggest how can we place chart series label value evenly so that it doesnot overlap with each other and user can view the data properly.
    Please find  the attached  screenshot for the same.

    Hi SubhadipRoy,
    As Satish posted, the solution can achieve your goal. In addition, you can right click the Chart Series Labels and Series Label Properties, and then select Number in the left pane, finally select Scientific below the Category option. The data label may not
    overlay. Or you can enlarge the chart.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Please suggest how can we verify file format using SSIS 2008 .

    We have ragged files placed in directory which need to be loaded into DB. Before loading we need to validate the file format before loading.
    The file schema is as follows.
    01 XREF_RCD.
    05 XR_JOB PIC X(4).
    05 XR_PHASE PIC X(2).
    05 XR_DATE PIC X(6).
    05 XR_ST_CHECK_NO PIC S9(8)
    05 XR_END_CHECK_NO PIC S9(8)
    05 XR_ST_SERIAL PIC S9(8)
    05 XR_END_SERIAL PIC S9(8)
    05 XR_AMOUNT PIC S9(7)V99
    05 XR_ISSUE_DATE PIC X(6).
    05 XR_CONTENT_FLAG PIC X.
    05 XR_XREF_CARD_PROCESSED PIC X.
    Could you please suggest how can we validate using SSIS 2008  and
    invalid value in header (alpha character for numeric field), more than 20% of records with errors, format is not correct also need to validated.

    Before we load the data we need to verify  invalid value in header (alpha character for numeric field),
    more than 20% of records with errors,
    format is not correct (values starting or ending in wrong position),  if the above validation pass then only the data can be loaded.  please suggest how can we achieve in SSIS .  The FileFormat and filedata is available below.  
    please find the file contents.
    49530110050230088937300889393008893730088939000036714100506
    54000110050230089190300894103008919030089410000066614100506
    73880110050230090564300907593009056430090759000104503100506
    73880110050230090564300907593009056430090759000104503100506
    45980110050230088829300888793008882930088879000033453100506
    58160110050230089820300898263008982030089826000058278100506
    41680110050130088623300886413008862330088641000035877100506
    41680110050241683471416834714168347141683471000000949100505
    82900110050230093642300936633009364230093663000069407100506
    54520110050230089411300894193008941130089419000048629100506
    83580110050230093664300936683009366430093668000083136100506
    56320110050230089556300895613008955630089561000073072100506
    74160110050230090760300907983009076030090798000099724100506
    57920110050230089562300895823008956230089582000079256100506
    45950110050230088649300888283008864930088828000185937100506
    81770110050230092335300928073009233530092807000118370100506
    70760110050230089827300899233008982730089923000083451100506
    74200110050230090799300908493009079930090849000047305100506
    84450110050230093699300937153009369930093715000076723100506
    83930110050230093669300936983009366930093698000043699100506
    75120110050230091002300910043009100230091004000034908100506
    10100110050230088620300886223008862030088622000194662100506
    79600110050230091402300914093009140230091409000119741100506
    58110110050230089583300897633008958330089763000140539100506
    58117710050230089764300897643008976430089764000047663100506
    52460110050230088940300891893008894030089189000097617100506
    48820110050230088928300889343008892830088934000142420100506
    48824110050230088935300889363008893530088936000144862100506
    82810110050230093510300936413009351030093641000156790100506
    76090110050230091060300911413009106030091141000111451100506
    74210110050230090850300909943009085030090994000130955100506
    75760110050230091030300910323009103030091032000075843100506
    File Layout
     XR_JOB PIC X(4).
     XR_PHASE PIC X(2).
     XR_DATE PIC X(6).
     XR_ST_CHECK_NO PIC S9(8) 
    XR_END_CHECK_NO PIC S9(8) 
    XR_ST_SERIAL PIC S9(8)
    XR_END_SERIAL PIC S9(8) 
    XR_AMOUNT PIC S9(7)V99 
    XR_ISSUE_DATE PIC X(6).
     XR_CONTENT_FLAG PIC X.
     XR_XREF_CARD_PROCESSED PIC X

  • How to execute sql qurery in st05

    how to execute sql qurery in st05
    thanks in advanced.

    Hi,
    do this....
    1.create a small ABAP/4 program that contains only the select statement. Before proceeding, test it to ensure that it works.
    2.Open that program in the editor so that it is ready and waiting to execute.
    3.Open a new session using the menu path System->Create session.
    4.Run transaction ST05 (enter /nst05-zero-five, not oh-five-in the Command field, or choose the menu path System->Utilities->SQL Trace). The Trace SQL Database Requests screen is displayed.
    5.If the Trace SQL Status Information box reads Trace SQL is switched off, go to step 7.
    6.At this point, the Trace SQL Status Information box contains Trace SQL switched on by, followed by the user id who turned on the trace and the date and time it was started. You must switch it off before you can proceed. If the trace was started within the past hour, it is possible that it is still being used. Contact the indicated user or try again later. If the trace was started hours or days ago, the user probably left it on by mistake and it can be safely turned off. To turn off the trace, press the Trace Off pushbutton. The message in the Trace SQL Status Information box should now read Trace SQL is switched off.
    7.Press the Trace On pushbutton. The Trace SQL Database Requests dialog box is displayed. The DB-Trace for User field should contain your user ID. If your user ID is not in this field, enter it now.
    8.Press the OK button. You are returned to the Trace SQL Database Requests screen and the status information reads Trace SQL switched on by, indicating that you turned on the trace.
    9.Switch back to the window containing your editor session (the one with your program waiting to execute).
    10.Press F8 to run your program. (Only press F8, do not do anything else, do not even press the Back button.)
    11.When your program has run and the hourglass is no longer displayed, switch back to the trace window.
    12.Press the Trace Off pushbutton. The status information reads Trace SQL is switched off.
    13.Press the List Trace pushbutton. The Trace SQL Database Requests dialog box is displayed. The fields on this screen will already contain values.
    14.Press the OK button. You might need to wait a little while, at most a couple of minutes. The Trace SQL: List Database Requests screen is displayed.
    15.Type %sc in the Command field and press the Enter key. The Find dialog box is displayed.
    16.Type the name of the table you are tracing in the Search For field. (This is the table named in the select statement in your ABAP/4 program.)
    17.Press the Find button. A search results list should be displayed with your table name highlighted.
    18.Click on the first highlighted table name. You are returned to the Trace SQL: List Database Requests screen. Your cursor is positioned on the first line containing your table name. To the right of it, in the Operation column, should be the word PREPARE, OPEN, or REOPEN.
    19.Press the Explain SQL button on the Application toolbar. The Show Execution Plan for SQL Statement screen is displayed.
    20.Scroll down to the execution plan. The index used will be displayed in blue.

  • Hello, iam using the latest version of firefox, whenever i login into my yahoo mail account i get a stop script error, the details of the error script is mentioned below , please suggest how to stop this : STOP ERROR

    Hello, iam using the latest version of firefox, whenever i login into my yahoo mail account i get a stop script error, the details of the error script is mentioned below , please suggest how to stop this
    the website is www.mail.yahoo.com. i was getting the same STOP script error every now and then in firefox 6 as well

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • HT1222 Hello, I wanted to update my Mac OS 10.5.2 and i am using dial up modam, Once the machine will ask to restart for update modem application also close, please suggest how can i update

    Hello, I wanted to update my Mac OS 10.5.2 and i am using dial up modam, Once the machine will ask to restart for updation modem application also close, please suggest how can i update

    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether further updates are required.
    You should now see the App Store icon, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
    http://support.apple.com/kb/HT4759
    You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/

  • Windows migration assistant gives error " An error occurred while preparing your information for transfer " Please suggest how to proceed . Many Thanks .

    Windows migration assistant gives error " An error occurred while preparing your information for transfer " Please suggest how to proceed . Many Thanks .

    To find out what is causing the Migration Assistant to fail, you can check the SystemMigration log located in - C:\Users\[user name]\AppData\Local\Temp\SystemMigration

Maybe you are looking for

  • Using multiple physical tables in a single logical dimension table

    I have two physical tables that are related on a 1 to 1 basis based on a natural key. One of these tables is already part of my RPD file (actually, it is the W_EMPLOYEE_D from the Oracle BI Applications). The second table contains additional employee

  • Recording via line-in always below the center line

    I've been recording music via a line-in input on my sound card for a while now and had no real issues. However, suddenly all recording I do falls below the center line and I have to center the waveform after recording. Ive checked the connections, bo

  • When do you go for transitive attributes

    hi all, What is the significance of transitive attributes. if i am going to extract the data from flat file for that transitive attribute then how should i do that. thanxs haritha

  • MapViewer + WebLogic + Coherence

    I want to deploy the Mapviewer service in WebLogic server combined with Oracle Coherence caches. My purpose is to get in-memory grid computing. The MapViewer (which is deployed in a WebLogic server) retrieves data from the Oracle Spatial database and

  • Background execution of reports

    Hi Experts,   I have a report the output of which is an ALV.   Now If the report is run as such, the o/p is correct.   But if I run the same report in background, the layout is coming incorrect.   Although the titles of ALV (eg. article, site, storag