Polling Strategy to get back inserted/updated rows from BPEL

Hi,
Can anybody have code to get back the newly inserted/updated rows from database table, using DbAdapter Polling Strategy from BPEL Process.

Hi user559009,
Could you please elaborate a bit more about what it is you need.
If you create a Partner link that polls a table and then create a receive activity that uses the partner link the variable in the receive activity will contain the data from the table.
Regards Pete

Similar Messages

  • Get the list of table's last Inserted/Updated date from a database

    Hi All,
    Good afternoon!
    Please help me to find the last inserted/updated date from different tables in a database.
    Consider I have a database called testDB, which contains 20 tables. Most of these tables will get data inserted/updated daily. But sometimes it may not happen due to some issues . We will not be knowing about this issue until we check  in each table
    manually. Now, somebody should be daily checking for the issues in this db. So, we have decided to make an alert mail to send this informations to us.
    We need to check whether any of the table's in TetsDB has got inserted/updated data in one day difference.
    I have tried this..
    SELECT OBJECT_NAME(OBJECT_ID) AS Object_, last_user_update,*
    FROM sys.dm_db_index_usage_stats
    WHERE database_id = DB_ID( 'TestDB')
    Thanks,
    Julie

    The solution depends on the version and edition of your SQL Server.
    If you use SQL Server 2000 or SQL Server 2005, please visit these links: 
    How do I audit changes to SQL Server data?
    Table Auditing with SQL Server 2000
    If your SQL Server 2008 or above (only on the Enterprise edition), please have a look at this link:
    Change Data Capture
    If your SQL Server 2008 or above (all editions),
    you can use Change Tracking, but Change tracking captures the fact that rows in a table were changed, but does not capture the data that was changed.
    more info: 
    Comparing Change Data Capture and Change Tracking
    Saeid Hasani [sqldevelop]
    HI,
    I've read about change tracking change data capturing now. 
    We need to track the data daily and we need to know whether any modification happens in those tables.
    Will it make any performance issue if I enable change data capturing on multiple tables.. lets say 20+ tables.?

  • HT201210 How does the Ipad get back to Nigerian Store from American Store to enable it carry out Update aand Downloading?

    Dear All, please, How does the Ipad get back to Nigerian Store from American Store to enable it carry out Update and Downloading?

    Try this.
    Settings>iTunes and App Stores>Apple ID
    Tap your ID
    Tap View Apple ID
    Enter your password
    Go to country/region in the popup window to change the store

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

  • Alright, so my ipod touch stopped working, but I can still connect it to itunes, but my friend gave me his old nano. I was wondering how I could get my more updated songs from my ipod touch onto the shuffle. My laptop crashed whish had all my new music

    Alright, so my ipod touch stopped working, but I can still connect it to itunes, but my friend gave me his old nano. I was wondering how I could get my more updated songs from my ipod touch onto th nano. My laptop crashed whitch had all my new music, and im afraid if I sync my Ipod touch to the desktop with all my old songs, ill lose all my newer ones which I dont want to happen because I want them on my nano. Im sorry for the confusing topic im just so lost.

    All you have to do is connect your new iPod to the computer that has the library for your old iPod.
    When iTunes comes up, click on your new iPod under Devices.
    At the top of the Summary Page click Music.
    Click Synch Music.
    Do the same thing for Photos, Apps, Movies and so on...
    Now just synch the iPod.

  • I am running a Mac OS X 10.6.8 and i will be away but will need to get back to my Mac from a distance. Is it possible?

    HELP!
    HOW CAN I GET BACK TO MY MAC FROM FAR AWAY?
    I WILL BE AWAY FOR 4 MTH AND WILL HAVE TO WORK AT DISTANCE
    I RUN MAC OSX 10.6.8
    I WILL HAVE ACCES TO AN APPLE COMPUTER AT MY DESTINATION.
    BUT WILL HAVE TO USED INFORMATIONS FROM MY HOME COMPUTER.
    NEED HELP
    THENK YOU IN ADVANCE
    PIERRE LEDUC
    <E-mail Edited by Host>

    Setting up and using Back to My Mac with AirPort base station or Time Capsule
    Supported router devices for Back to My Mac

  • Hi My grandparents just bought an iPod Touch for me from Dubai, UAE. I can't see any facetime on the home screen nor in the settings. I've read that it's not possible. But is it possible if I get my OS updated again from India?

    Hi My grandparents just bought an iPod Touch for me from Dubai, UAE. I can't see any facetime on the home screen nor in the settings. I've read that it's not possible. But is it possible if I get my OS updated again from India?

    There is no way you can activate Facetime on an iPod touch purchased in the UAE. The government there required Apple to lock off Facetime at the hardware level and there's no way to unlock it. Reinstalling iOS, regardless of country, will not help. If you want Facetime, you will need to sell your UAE-version iPod and buy one there in India.
    Regards.

  • How can get back my backup data from an external element ?

    How can get back my backup data from an external element ?

    See the section titled "restoring data from Time Machine backups" in this Apple support article; that should get you going.
    http://support.apple.com/kb/ht1427
    Regards.

  • Do voice memos get backed up to iCloud from my iPhone?

    do my voice memos get backed up to iCloud from my phone at all?

    Use Settings > General > Reset > Erase All Content and Settings to start over and this time using iCloud backup.

  • Can get back all my photo from the previous iphone

    My 4s was lost and I'm using iphone5 with the same Apple ID.can I get back all the photo from my previous iphone4s?

    If you have an back-up or Photo Stream on iCloud you can. Otherwise your data will probably be lost.
    Do you have a back up? Check this article to restore the back-up on your new iPhone.
    http://support.apple.com/kb/HT1766
    Good luck,
    juleon

  • How to get last insert/update/delet row of a table?

    I hava a table A and table B which is a copy of A. I want to create a trigger to record the changes of A in B. So every time inserting/updating/deleting A I record the row inserted/updated/deleted in B, But I can't find a effiencial way to get the latest row changed.
    So is there any sys_var in oracle table like cur_rowid or something to record the latest inserted/updated/deleted in a table? I don't want to check a index or a table to get the max_seq_id again.

    user11228816 wrote:
    I hava a table A and table B which is a copy of A. I want to create a trigger to record the changes of A in B. So every time inserting/updating/deleting A I record the row inserted/updated/deleted in B, But I can't find a effiencial way to get the latest row changed.
    So is there any sys_var in oracle table like cur_rowid or something to record the latest inserted/updated/deleted in a table? I don't want to check a index or a table to get the max_seq_id again.Sounds like an ugly requirement, any reason you're not going for materialized views or advanced replication here?

  • OBIEE Write Back - Insert New Row

    Hello,
    I am new to these forums and looking for some help with OBIEE's Write Back feature.
    I have Write Back working fine with respect to updating existing rows in a table (ie: the UPDATE tag), but was wondering how to force Write back to invoke the INSERT feature. I would like to be able to create new rows in a table to allow my end user to dynamically add and remove information. I have heard of this being possible (perhaps through some sort of temp. table) in other forum posts, but have yet to see how this is implemented. Also, is it at all possible to use Write Back to delete rows in a table? Any help here would be greatly appreciated. Thanks!
    -Mike
    Here is an exerpt from my working XML file:
    <WebMessage name="NEWSNOTESADMIN">
    <XML>
    <writeBack connectionPool="Oracle Data Warehouse Connection Pool">
    <insert>INSERT INTO WC_NEWS_NOTES (CONTENTS, CONTENT_DATE, IMPORTANCE_LVL) VALUES(@{c0},@c{4},@{c2})</insert>
    <update>UPDATE WC_NEWS_NOTES SET CONTENTS='@{c0}', CONTENT_DATE='@{c4}', IMPORTANCE_LVL=@{c2} WHERE CONTENT_ID='@{c1}' </update>
    </writeBack>
    </XML>
    </WebMessage>

    Well first and foremost, Oracle explicitly states that writeback isn't meant to be used to transform OBIEE into a data entry system. Check the other posts on this subject...
    On the "force insert": put the same statement you have for INSERT into the UPDATE tag. Related to the initial point I mentioned: you will have to worry about uniqueness yourself. OBIEE isn't an OLTP platform!
    Re. delete: I liked Stijns recent post, so I'm going to use that as well:
    http://www.justfuckinggoogleit.com/search.pl?query=obiee+delete+through+writeback
    Third hit. Venkats blog.

  • Getting the un updated records from receiver JDBC

    Hi Friends,
         I am doing the Proxy - jdbc integration. Consider my proxy sends 10 records to JDBC to update. Consider bcoz of some reason the jdbc updates only 8 records i need to get the 2 records back to Proxy which is not updated in the DB.
    Should i need to use the Proxy and JDBC channel as syn or seperate integration should be built. I have seen some documents, that we can get the count of the updated records from jdbc receiver, but i dont need the count i need the record which is not been updated.
    How can i do it. please give ur inputs.
    thanks
    Prem

    Unless  you are using SP on JDBC side and explicitly build a record set to send back the data it might not be possible. I am not sure if a custom record set could be returned in JDBC sync receive adapter. You can realize this by updating some other table on JDBC side and then polling that table to update ecc back.
    VJ

  • Fetch Insert / Update Query From Table Trigger

    Hi everyone !,
    I have a situation, is there any way where I can get insert/update query by before-insert / after insert trigger when a user inserts/updates any row in the table.
    Plz....help me....champs.....
    Regards,
    Naushad

    That was a nice thing but it works only on some oracle 9i with DML statements.
    On database versions 9.2.0.1 to 9.2.0.6 ora_sql_text works and returns the calling text for dml triggers, where as starting from 9.2.0.7 the behavior has changed and returns NULL.
    Cause
    This issue had surfaced from 9.2.0.7.0 patchset. After discussions in Bug 4171597 which was closed as a duplicate of Bug 4230721 it was concluded that it was the expected behavior i.e ORA_SQL_TXT should return null when dml triggers are used.
    ORA_SQL_TXT is a "System defined event attribute" and is supposed to work only with "System triggers". This is also what the Documentation says - "Application Developers Guide : Fundamentals(9.2)
    Chapter 16 Working with System events".
    Bye Alessandro

  • How do I get BACK to my ipod from I store, with new itunes?

    So I start my I tunes..
    It goes to my Apps.. OOps, I have 1 update available.
    It goes to the down load page.
    I can download it, or refuse it.. and then it takes me to the ITunes store.
    How do I get back to my own Ipod? I cannot find the menu option. seems the only way is to exit Itunes and restart.
    I really do not like this new Itunes format. its so frustrating.
    Thanks.

    You can't put music directly onto your iPod from a memory stick. You can, however, get iTunes to recognize the tracks on the stick without having to copy them to the computer. Go to the iTunes Advanced preferences and uncheck the option to "Copy files to iTunes Media folder when adding to library". Then use the Add to Library command or drag the tracks into the iTunes window. iTunes will recognize the track files on the memory stick and allow you to sync them to the iPod. Note that when you remove the memory stick, iTunes will of course then not be able to play nor sync the tracks until you put the stick back in. It may therefore be better to just clear some space on your computer's hard drive.
    Regards.

Maybe you are looking for

  • Step by Step for FICO(GL,Assets and CO) Extraction

    Hi gurus, I am trying to see if i can get a step by step extraction process for FICO extraction cos am abt to start a project to extract and load GL,Asset and Controlling data into a BW system.I am thinking I shd be able to get a lot of the reports n

  • Lost sound devices now blue screen of death when updating creative drivers.

    I have an XPS with windows 7, dont k now what the sound card is, I have factory installed software for Creative X something extreme, and Realtex. Now I had been trying to get sound via an optical cable to an AV amp with no success. I had tried disabl

  • How to fetch WSDL targetNamespace in bpel ?

    Hi Experts, I 've a requirment to fetch data of targetNamespace , service/@name and port/@binding in wsdl. Is there any way to achieve this ? For ex : below is my sample wsdl <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:

  • How do I start Java? I'm a novice.

    I got a java book and just downloaded JDK 5.0 Update 3. After installing it, I couldn't find a way to start the program. There's no icons or exe. files that can do that. I was just going to try to type in some simple samples from the book. Now I can'

  • Custom Document & Custom Doc Legal Control Extraction into SAP BI

    Dear All, After all the business content for GTS was activated in GTS and SAP BI, the following configuration steps were taken in GTS to extract this data into BI for reporting: [1] Integration with Other mySAP.com Components > Data Transfer to the S