Are the updates in branches visible in other parts of a global transaction

Hi,
We have a business service inside an EJB (using CMT) which deals with Tuxedo and jdbc using XA in both places. Below is how it is supposed work
1. A call to a tuxedo service is made
2. Upon success, we want to read that updated data using JDBC and write to another table. The second steps has to happen to before the transaction is commited, but will be done only after the success of step 1.
What we find is that - in steps 2 we can't see the update data from step 1.
If I do step 1 and 2 in reverse - i.e do an update using jdbc and read the updated data in tux, I can read it without any issues.
Also, if I call two tux services - one to update and one to query within the same transaction. No issues here too...i.e the second service can read the updates done by first service.
On enabling the logs ...it looks like the jdbc part is creating its own transaction. We can see in oracle database level..that two global trxn ids are seen. Any ideas on this behavior and what I might be doing wrong ?
Thanks
Kishore

It's logical that you can't read out any uncommitted data from a different transaction. So indeed, your solution lies in defining a transaction on the EJB method level, which would then be used for both the Tuxedo call as well as the JDBC step.
I haven't worked yet with Tuxedo, so I couldn't tell you whether it supports existing transaction.

Similar Messages

  • What are the Update tables?

    In LO Delta scenario, Data posted parallel into document tables and update tables. What are the Document tables? What are the Update tables?
    Give example for Application 11, which is document tables, and update tables?

    Hello Mannev,
    Document tables are the actual application tables where the data is posted when you post a document in R/3.
    Examples can be MSEG, VBRK etc.
    Update tables are the intermediate tables which store data read from document tables. The V3 runs collects deltas in form of LUWs from these update tables and populates the delta queues.
    hope this helps..
    thanks,

  • What exactly are the updates good for on an ipod

    I ask because mine is windows format, and im having trouble transferring all the metadata off my ipod with senuti to a back up so that i can reformat the ipod to mac and then sync in my senuti backed up library. I was wondering if anyone knows what exactly are the updates that you get. my ipod is 1.2 5thgen.
    If i were to have the latest update would i be able to see album cover art view when the ipod is plugged into itunes? I noticed that i can see that view in library mode but not in ipod mode. (my pod isnt synced)...
    so what are these updates good for?

    hey thanks for your reply.
    I do have it set to manual and i can see the art on the ipod by itself, but even with manual transfer itunes wont let me view the artwork modes unless i am playing off my computers library (which doesn't have the songs on my ipod on it). I called apple earlier today and some tech support guy claimed that itunes does not support this feature. Is this correct? can anyone out there see artwork modes on an unsynced ipod through itunes?

  • Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?

    Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?

    Google "lightroom 5.6" and direct links to both Mac and Windows will be at the top.

  • Where are the updates located for Mac App Store app?

    Hi,
    where are the updates located for Mac App Store app? I don't think /Library/Updates is the only location. Because I'm now having 10+ of Apps reporting updates is needed, but only 1MB+ files is located in /Library/Updates.
    Please help!

    If so just use the search bar in the top right to search for the update you are looking for.

  • Is Adobe Acrobate Pro 9 still supported?  Are the updates to this program being uninstalled by Adobe

    Is Adobe Acrobate Pro 9 still supported?  Are the updates to this program being uninstalled by Adobe

    Hi Kent,
    http://helpx.adobe.com/acrobat/kb/end-support-acrobat-8-reader.html may help,
    Thanks!
    Eshant

  • Glacial pace of this forum during the last several hours visible to others?

    Is the glacial pace of this forum and other sites like Facebook  during the last several hours visible to others?  We're seeing timeouts b all the time.
    Is this the result of another cyber attack launched from N. Korea? 
    Spooky.

    This site is fine as are many others.
    Facebook remains a mess since yesterday.  Something is definitely wrong in some areas of the US:

  • Why are the jpeg icons not visible in finder when created by PS6

    Why are the jpeg icons not visible in finder when created by PS6

    hi
    I have faced the same problem ... I didn't find the solution yet
    but please visit this link http://www.oracle.com/technology/products/forms/pdf/webicons.pdf
    you'll get everything you want to know
    I'm not try it yet.
    Best wishes

  • This maybe a dumb question but...If I buy Aperture are the updates already installed into the purchased version or do I need to update them?

    This maybe a dumb question but...If I buy Aperture are the updates already installed into the purchased version or do I need to update them after the prograam is installed?

    Should come updated from the Mac App Store. Obviously, it's tough to keep things up to date when they are sitting in a box on a store shelf.

  • Are the 'updates' for the CC versions the same as the 'install (2014)' version?  uninstall CC version, download 2014 version of these various apps?  confusing

    are the 'updates' for the CC versions the same as the 'install (2014)' version?  uninstall CC version, download 2014 version of these various apps?  not a hi-tech deal but confusing all the same

    Uninstall the CC version unless you still need it for something. You can run both versions however until you know you don't need the old one anymore. The old CC was 32-bit and will no longer be getting updates and the 2014 version is 64-bit and a lot better as it is not run on Adobe Air like the CC version. It's basically a new program.

  • Why are the ringtones constantly defaulting to something other than the tone I select with iOS 7

    So it would appear that iOS 7 likes one particular ringtone after the update.  Can we fix this!

    What is it you are trying to change. For the mail app and a couple of others that show up in Notification Center, the settings in Notification center override those in Settings>Sounds.

  • Where are the update files located?

    Hi. We have five Macs around here: two Tigers, two Panthers, and a Jaguar. It's a royal pain to have to download the update files individually for each machine. Can somebody tell me where the update files are stored, so we can save time and bandwidth on updates by copying and/or running the updates from one machine to another?
    MTIA, Matt
    PowerBook Titanium G4   Mac OS X (10.4)  

    Seems you never use SU to download, before.
    It took me a little while to decide whether to be offended by this or not...
    I take it you mean that SU, had I downloaded to disk without installing, would have created the directory in question, but since I had not used this option the directory has not yet been created so it was not there.
    Thank you for the tip. I am, even as we speak, downloading the appropriate update files to my Jaguar machine's desktop (the interface is a bit different, but I now know what to look for heh heh). For future updates I shall do the same.
    Many thanks...:)
    Matt
    PowerBook Titanium G4 Mac OS X (10.4) eMac (10.4), eMac (10.3), Lombard (10.3), G3 beige (10.2)

  • HT5181 iPhoto for iOS: Photos in iphoto's Camera Roll folder are not updated automatically with edits from other programs

    How can I solve the problem în the subject?

    How can I solve the problem în the subject?
    What exactly are you trying to do?
    Have you been editing photos in iPhoto and want to add them to your camera rool or photo stream?
    Then do exactly as the article describes, that you lonked to:
    iPhoto for iOS: Photos in Camera Roll are not updated automatically with edits from iPhoto
    Use iPhoto's Sharing to save a copy of the edited photo to the Caera Roll, or explain on mor e detail, what you want to do.
    Regards
    Léonie

  • WHAT ARE THE UPDATED FUNCTION MODULES

    Hi Friends,
    Can anybody explain me about UPDATED FUNCTION MODULES (types of function modules)

    Hi
    Update Function Module
    Unlike transactions and executable programs, dialog modules do not start a new SAP LUW. Calls to update-task function modules from a dialog module use the same update key as the ones in the calling program. The result is that calls to update function modules from a dialog module are executed only if a COMMIT WORK statement occurs in the calling program.
    If you place a COMMIT WORK in a dialog module, it does commit changes to the database (for example, with UPDATE).However, it does not start the update task. The function modules are not actually executed until a COMMIT WORK statement occurs in the calling program.
    If you use dialog modules, try to avoid including calls to update function modules in subroutines called with PERFORM ON COMMIT. In general, any occurrence of PERFORM ON COMMIT(with or without update-task function calls) in a dialog module can be problematic.
    This is because dialog modules have their own roll area, which disappears when the module finishes. Consequently, all local data (including data used for parameter values when calling an update function module) disappears as soon as the commit in the main program is reached.
    If you must use this method in a dialog module (i.e. include the call to an update-task function in a subroutine), you must ensure that the values of the actual parameters still exist when the update-task function actually runs. To do this, you can store the required values with EXPORT TO MEMORY and then import them back into the main program (IMPORT FROM MEMORY) before the COMMIT WORK statement
    Creating Update Function Modules
    To create a function module, you first need to start the Function Builder. Choose Tools ® ABAP Workbench, Function Builder. For more information about creating function modules, refer to the ABAP Workbench Tools documentation.
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to one of the following values:
    Update with immediate start
    Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions can be restarted by the update task in case of errors.
    Update w. imm. start, no restart
    Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions may not be restarted by the update task.
    Update with delayed start
    Set this option for low priority ("V2") functions that run in their own update transactions. These functions can be restarted by the update task in case of errors.
    To display the attributes screen in the Function Builder, choose Goto ® Administration.
    Defining the Interface
    Function modules that run in the update task have a limited interface:
    Result parameters or exceptions are not allowed since update-task function modules cannot report on their results.
    You must specify input parameters and tables with reference fields or reference structures defined in the ABAP Dictionary.
    http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/frameset.htm
    Regards,
    Harish

  • Where are the updates ???

    I am sorry if this was disscused before. I was wondering where are the updstes for Lumia 900 ATT? I am still on 8112, but I see now for a few weeks people talking about 8773 and 8779 versions. Anyone would like to explain? Thank you!

    Updates for Windows Phone 7 are rolling out gradually over serveral weeks (in a random order).
    When a new update is ready for your phone, you will get an update notification. There is no way to know exactly when the update will be ready for your phone. The update has been rolling out for a while thtough, so it shouldn't be much longer..
    Microsoft Windows Phone MVP
    Follow me on Twitter: @ThisIsMetro
    Press the 'Accept As Solution' icon if I have solved your problem, click on the Star Icon below if my advice has helped you!

Maybe you are looking for

  • Pass Username & Password to a Different Application in the Same Workspace

    Can I pass the username and password from a main menu to open a different application in the same workspace. I'm trying to prevent the user from having to logon again. My main menu has links to different applications within the same work space. Thank

  • Unable to upload files to server via Transmit (ftp client)

    Hi For some reason I am no longer able to upload files via Transmit to my website server. I have built several sites hosted on different servers and I cant access any of them, so it is obviously a problem at my end. The Message I get when I try to co

  • Using timeout items and running the background engine

    Hi all! I tried to read all the information about timeouts and engine, but I think I don't understand anything. I want to use a loop, that after every 4 minutes runs the given plsql code until 15 times. There are 4 different result. 1: continue the l

  • White desktop background upon backup

    After doing a complete backup in Time Machine last night, I logged on to found that my background was white. I tried to change my background in System Preferences, but the white background stuck. The transparent taskbar however, shows the changed bac

  • How to localize "Target Unreachable, identifier 'row' resolved to null"

    Hi everybody How can I localize "Target Unreachable, identifier 'row' resolved to null" message? Thanks! Version ADF Business Components 11.1.1.56.60 Java(TM) Platform 1.6.0_18 Oracle IDE 11.1.1.3.37.56.60