Multiple Non-XA Data Source Connections in Single Application
up vote
0
down vote
favorite
I have a scenario, Where we need to connect to multiple databases from a single Java application. I understand that i might need to use a XA DataSource, But in my case i have only one primary database where i need to do read / write. In other databases, I need to do only limited read operation.
Is it possible to use multiple Non-XA DB Connections in this case?
java-ee datasource jta
add a comment |
up vote
0
down vote
favorite
I have a scenario, Where we need to connect to multiple databases from a single Java application. I understand that i might need to use a XA DataSource, But in my case i have only one primary database where i need to do read / write. In other databases, I need to do only limited read operation.
Is it possible to use multiple Non-XA DB Connections in this case?
java-ee datasource jta
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a scenario, Where we need to connect to multiple databases from a single Java application. I understand that i might need to use a XA DataSource, But in my case i have only one primary database where i need to do read / write. In other databases, I need to do only limited read operation.
Is it possible to use multiple Non-XA DB Connections in this case?
java-ee datasource jta
I have a scenario, Where we need to connect to multiple databases from a single Java application. I understand that i might need to use a XA DataSource, But in my case i have only one primary database where i need to do read / write. In other databases, I need to do only limited read operation.
Is it possible to use multiple Non-XA DB Connections in this case?
java-ee datasource jta
java-ee datasource jta
edited Nov 22 at 16:45
Tim Diekmann
2,88491633
2,88491633
asked Nov 22 at 14:07
Pavan Marla
1
1
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25
add a comment |
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53432765%2fmultiple-non-xa-data-source-connections-in-single-application%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It is definately possible to use multiple NON-XA connections in your case.
– Alex Sergeenko
Nov 26 at 10:41
Can you give me some more details on how this can be achieved? a link or blog post would really help.
– Pavan Marla
Nov 28 at 6:25