Is it possible to have transactions spanning multiple datasources in ODI
Hi,
We have the following scenario, wherein we are having to extract data from system A and after several data manipulation steps load data onto System B and then flag those extracted records as "processed" in the source system.
We are facing problems as we update the flag on the source system A after committing at the target side system B.
Is their a way to be able to commit globally on both systems at the same time after the flag has been set and if "commit" fails anywhere rollback the entire interface?
Any help would be appreciated.
Thanks
Shema
Not Supported
Hi,
This is not something we currently support but you can add or vote on feature ideas:
http://forums.adobe.com/community/formscentral?view=idea
If you need to add a new idea click "Create an idea" under "Actions" in the top right.
Thanks,
-Jeff
Similar Messages
-
How best to make a transaction span multiple HTTP requests?
Hi, all. What is the best way to implement a transaction that spans multiple
HTTP requests? Many J2EE applications must solve this problem, but I can't
any guidelines for an implementation.
Consider an application that implements a multi-step wizard. Each step
gathers data from the user; step one gets the user's name, and step two gets
his dog's name. When the user completes the wizard, the application saves
the user & dog in two entity beans. Conceptually, the application treats
this wizard like a single, long-running transaction. The transaction begins
when the user launches the wizard. Submitting the JSP for step one adds the
Boy bean to the transaction, and submitting step two adds the Dog bean.
Finishing the wizard commits the transaction. Exiting the wizard or timing
out causes the transaction to rollback.
Although the wizard looks like a transaction, the entire sequence of user
interactions can't be captured in a single JTA UserTransaction. A
UserTransaction must be associated with a single thread, but each wizard
step is handled asynchronously by its own execution thread. It's impossible
to funnel the conversation through one thread that can demarcate the
transaction. (This would be a pretty dumb solution for other reasons, but I
don't want to get lost in details.)
I think the standard way to solve this problem is to store conversation
state in a stateful session bean (or the http session) and create / update
both entity beans in a transactional EJB method after the wizard completes.
Unfortunately, this solution prevents me from leveraging a lot of great
transaction management features provided by the app server. For example, I
can't use optimistic concurrency to make sure that the dog object hasn't
changed in the database between the start and end of the wizard. Also, I'm
forced to keep track of changes to the dog object in the conversation state,
then replicate these changes to an entity bean at the end of the wizard.
Keeping track of state in a stateful bean is pretty straightforward, but it
seems like there must be an existing solution that leverages the appserver's
concurrency and state management features. Am I missing something? Is there
code, a pattern, or an article that describes the best way to implement a
multi-step process that looks transactional? I suppose WLI does what I want,
but that feels like killing a roach with a SCUD missle. Thanks for any
advice.
DaveDave Smith wrote:
Without a transaction, will the app server manage the version column
automatically, assuming of course that <concurrency-strategy> is
"Optimistic" and <verify-columns> is set to "Version"? Of course, I'll have
to expose the version as a cmp-field, which is fine with me.Yes
>
Do you know offhand, so that I don't have to get off my lazy ass and write a
test, whether the CMP service will create the version column when it
generates db tables? (I realize it's not good to let WLS generate the tables
in a production system.)No, I don't think it does.
>
I assume from your answer that I'm on my own for implementing stuff like and
transaction inheritance and tracking object modifications? Well, we'll give you a bit of help on the object modifications. The
usual pattern is when you're pushing the JavaBean back to the CMP you
call all the setXXX methods on the CMP bean. Our CMP container will
check if the value you are setting is the same as read from the db. If
so, it will not update that column.
-- Rob
If so, no big
deal. I was just hoping somebody would say, "Oh, you want the Jakarta
SuperBeans project" or something.
Thanks,
Dave
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
I'd recommend that you include a separate version or timestamp column in
your db schema.
Then do something like this:
Client Server
1) First HTTP Request
2) Read current Dog and Boy Entity Beans
(if any) and copy their values into a JavaBean.
You want to include the version
column(s) in the JavaBean(s) along with the data values.
You probably also want to store the JavaBeans in
your HTTP Session.
3) Client proceeds through wizard interacting with JavaBeans
4) Finish with Wizard, copy JavaBean values (including
version columns) to CMP 2.0 Entity Beans.
The version column will give you the optimistic concurrency protection
that you desire without opening a JTA transaction to span user input.
-- Rob
Dave Smith wrote:
Hi, all. What is the best way to implement a transaction that spans
multiple
HTTP requests? Many J2EE applications must solve this problem, but Ican't
any guidelines for an implementation.
Consider an application that implements a multi-step wizard. Each step
gathers data from the user; step one gets the user's name, and step twogets
his dog's name. When the user completes the wizard, the applicationsaves
the user & dog in two entity beans. Conceptually, the application treats
this wizard like a single, long-running transaction. The transactionbegins
when the user launches the wizard. Submitting the JSP for step one addsthe
Boy bean to the transaction, and submitting step two adds the Dog bean.
Finishing the wizard commits the transaction. Exiting the wizard ortiming
out causes the transaction to rollback.
Although the wizard looks like a transaction, the entire sequence ofuser
interactions can't be captured in a single JTA UserTransaction. A
UserTransaction must be associated with a single thread, but each wizard
step is handled asynchronously by its own execution thread. It'simpossible
to funnel the conversation through one thread that can demarcate the
transaction. (This would be a pretty dumb solution for other reasons,but I
don't want to get lost in details.)
I think the standard way to solve this problem is to store conversation
state in a stateful session bean (or the http session) and create /update
both entity beans in a transactional EJB method after the wizardcompletes.
Unfortunately, this solution prevents me from leveraging a lot of great
transaction management features provided by the app server. For example,I
can't use optimistic concurrency to make sure that the dog object hasn't
changed in the database between the start and end of the wizard. Also,I'm
forced to keep track of changes to the dog object in the conversationstate,
then replicate these changes to an entity bean at the end of the wizard.
Keeping track of state in a stateful bean is pretty straightforward, butit
seems like there must be an existing solution that leverages theappserver's
concurrency and state management features. Am I missing something? Isthere
code, a pattern, or an article that describes the best way to implementa
multi-step process that looks transactional? I suppose WLI does what Iwant,
but that feels like killing a roach with a SCUD missle. Thanks for any
advice.
Dave -
Is it possible to load transaction with multiple batch_source_name??
Hi,
I am calling 'Autoinvoice Master Program' for creating transactions in my custom package.
I have 15 lines in my data file. They are invoices, credit memos, debit memos with different batch_source_name.
Import program is picking tranasctions with any one of batch_source_name & update the base table.
15 lines are populated in interface(ra_interface_lines_all) but base table (ra_customer_trx_all) populated with few line.
Is it possible to load transactions & call the AutoInvoice with multiple batch_source_name in one data file ??
Please help me on this issue.
Thanks in advance.
Manish
Edited by: user12143717 on Mar 4, 2010 6:49 AM
Edited by: user12143717 on Mar 11, 2010 6:16 AMHi,
I cannot find a method to achieve this. You may try to create a new contact folder and copy the contacts you want to use to the new contact folder, and then mail merge from the newly created contact folder.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How to handle multiple datasources in a web application?
I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources. -
Is it possible to have multiple page sizes and print types in the same pdf?
Is it really possible to have a pdf which has multiple pages and each of them have pages which are of different page sizes (e.g. letter, A4, A3) and print types (e.g. Simplex, Duplex)???
Thanks,
Phoenixyou can definately do different page sizes by using different master pages. You can set the paper type for each master page in the object>master page palette.
-
Is it possible to have multiple search results page using one Search Enterprise Center site?
Hi,
We're using SharePoint 2013 and I'm trying to modify the search results page for one site collection. By default, it uses the search results page from the parent site which is the search center being used by default for the web application. I need to make
sure that the site collection will only retrieve search results within the site collection (search everything has to be disabled). I found a way but I had to create another search center site to accomplish this, otherwise, it will affect the search center
site of all other site collections on the web app.
Now is it possible to have multiple search results page using one Search Enterprise Center site?Hi,
According to your description, you want to retrieve the search results within the site collection.
As a workaround, you can create a custom result source for the site collection and you will retrieve the search result within the site collection.
More information about how to create result source in SharePoint 2013, please refer to :
http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
Best regards -
I want to run automation test in multiple device say iphone and ipad or two iphone device Is it possible.I have done automation testing using UIAutomation and get it running from iphone device
plzzz reply to this question as soon as possible
-
Is it possible to have multiple locations in the Google Maps widget?
Hey folks,
Lets say you're designing a website for a client with multiple stores, you just want to point them all out, right?
Just want to know if it is possible to have multiple locations in the Google Maps widget. I guess it shouldn't be that difficult, but I can't figure it out..
any help would be highly appreciated!
thanks,
ThomIt seems that you can only use one address for this widget.
For this to work you will need to create the map in Google Maps with all your points and then copy the embed .html from Google into Muse.
Example of an embed google map with multiple points imported into Muse:
(Object/Insert HTML) -
Is it possible to have multiple links in single page?
Is it possible to have multiple links in single page for
linking in different slides like in a websites? My deadline is
nearing in. Adobe folks please help me.> Is it possible to have multiple links in single page for
linking in
> different slides like in a websites? My deadline is
nearing in. Adobe
> folks please help me.
>
Add multiple click boxes to the page.
Steve
Adobe Community Expert: eLearning, Mobile and Devices
European eLearning Summit - EeLS
Adobe-sponsored eLearning conference.
http://www.elearningsummit.eu -
Is it possible to have multiple users on a single ipad
Is it possible to have multiple users on a single ipad
Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
http://support.apple.com/kb/ht4627 -
Is it possible to have multiple "ATI HD 3870" in a macpro?
is it possible to have multiple "ATI HD 3870" in a macpro?
thinking of getting me a mp but want more videocards with more vram (more more more)
now there is the option to get 4 ati2600 can i also install 4 3870's?
-mjPower limit on the video card power supply is 350 watts. A 3870's maximum power consumption is 170 watts.
There are slots for up to four video cards. That's all. If the four cards don't require more power than the power supply can provide, then you could install four cards. For example you could install four 7300s since each card only requires 50 watts..
As I said more video cards just gets you more monitors. There is not improvement in video performance nor amount of video RAM. -
Is it possible to have multiple pause the require view to click "continue" button to proceed?
Is it possible to have multiple pauses the require view to click "continue" button to proceed?
1. Turn the video into a symbol.
2. Set stage, symbol and video to not autoplay.
3. Set play in the video playback at the start of the video timeline.
4. Set pause in the video playback at the prefered time on symbol timeline.
Once I convert it to a symbol , the pause funtion is not showing on playback.
5. Zoom in as much as you can on symbol timeline and set trigger "stop all" for the symbol right after the pause playback marking.
6. Set play in the video playback right after the "stop all trigger" marking.
7. Create button with action play symbol.
You can now play a video which will stop at a pre set pause, and make it countinue to run by clicking the play button again. -
Is it possible to have multiple different texts conversations with the same two people?
In iOS 8.1.3 is it possible to have multiple different text conversations with the same person? I'm looking for a way to set an old conversation aside to talk about something new.
Is this possible?speculation is agaisnt the ToS here, but you never know (I was shocked when we got 8 track recording in GB2)
best thing to do is to send Apple some Feedback and let them know what features you want (they really do read what's sent):
http://www.bulletsandbones.com/GB/GBFAQ.html#sendfeedback
(Let the page FULLY load. The link to your answer is at the top of your screen) -
Is it possible to have multiple time machines on the same password protected network?
is it possible to have multiple time machines on the same password protected network? any insight would be helpful thanks
Youshould set one of them up to extend the wireless network. That one would not need an Ethernet connection and would allow your network to cover a broader area.
-
Is it possible to have a hover effect easing out on multiple images when hovering on others?
Im trying to use four small images to create a large image by using a hover effect. However when i hover over an image for instance 3 of 4, after hovering over 1 and 2, number 1's ease-out effects snaps back to the background image, rather than continuing to ease-out. Which i do not want. Is it possible to have numerous ease-out effects working at the same time? Using CSS.
Could you show us a bit more of what you've done so far?
I'm not sure I understand the desired result.
Can you put your files online somwhere?
Thanks
Maybe you are looking for
-
This is regarding interface from legacy system to SAP
Hi All, We have trasferred the one file from legacy system to SAP, and it was created a session in SM35, it contains 1000 errors. we don't want correct those errors and these entries should be delated, could you please let me know are these errors ca
-
Formatting New External Hard Drive from NTFS to MS-DOS Problem
Hi I'm new to the mac family and I just got a Seagate FreeAgent external hard drive and hooked it up - it mounted fine but it comes formatted NTFS so its in a read only state at the moment. I want to reformat it to MS-DOS so I can use it for both my
-
What is wrong?! Now I can't reply to some posts, becaus e this message appears: User Login You do not have permission to post in this forum. You currently have read only access to Apple Discussions. If you wish to post to Apple Discussions then we wi
-
Kaspersky Mobile 9.0 Trial Version
A while ago I downloaded the trial version of Kaspersky Mobile 9.0, I did not use it very much and found it annoying when it scanned when I wanted to use my phone. I decided to uninstall the software, a simple task I thought, how wrong I was. When I
-
No sound with MEGA TV Tuner card
I have a Mega TV Tuner card. I installed it succesfully in my pc and it worked ok appart from there being no sound. I conected the internal cable to the auxillary imput on my motherboard (built in sound) but all i got was a bad sound . When I opened