• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 543
  • Last Modified:

Configure the failover in persistence.xml (JPA)

Hi Experts,
I want to configure the failover database functionality in persistence.xml. I am using JPA as ORM. Please suggest the way to do it.

Ravi Kiran Reddy Katkuri
Ravi Kiran Reddy Katkuri
  • 2
1 Solution
You cannot do it in your persistence.xml. You will have to do it at server level.
Ravi Kiran Reddy KatkuriAnalyst ProgrammerAuthor Commented:
I've requested that this question be deleted for the following reason:

dint found an answer..
My answer is correct. You don't configure fail-over in persistence.xml but when you configure the cluster.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now