Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7191313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:42:09+00:00 2026-05-28T19:42:09+00:00

I have multiple oracle connection so i have to fire the transactions on all

  • 0

I have multiple oracle connection so i have to fire the transactions on all the datasources at once and if one fails, it gets rolled back on all or committed on all of them together.
How to achieve this with XADatasource ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:42:10+00:00Added an answer on May 28, 2026 at 7:42 pm

    An XADataSource API provides two-phase commit to achieve this in a distributed environment. You need to make your DataSource Wrapper class using this API and the rest would be taken care by the API itself.

    XA is best used with and app server like JBoss or WebSphere etc. But you can configure it in non-managed environments too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have multiple environments (development, test, Production, etc). Using Oracle 10g. All values are
I have multiple applications which work with one centralized Oracle database. The applications are
I have multiple versions of Oracle and it saved tnsnames.ora files all over the
If I have multiple Oracle clients installed on a given workstation (i.e. Oracle 9
I have a script that connects to multiple databases (Oracle, MySQL and MSSQL), each
Will Oracle flatten multiple between clauses if they have overlapping data? In my application,
I have multiple threads who all need to write to the same Dictionary. I
We are using Oracle Weblogic 10.3 as our application server. We have multiple modules
I have an Oracle database that runs a PL/SQl job once every week to
I have a JDBC connection to an Oracle database. I create a Statement. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.