Oracle
1Z0-860 · Question #76
A Java Persistence application uses entities mapped to tables from two datasources in the same transaction. What statement is correct?
The correct answer is B. The entities must be packaged into two persistence units. See the full explanation below for the reasoning.
Question
A Java Persistence application uses entities mapped to tables from two datasources in the same transaction. What statement is correct?
Options
- AThis is NOT possible.
- BThe entities must be packaged into two persistence units.
- CThe entities can be packaged into a single persistence unit
- DThe entities must be packaged using two different persistence.xml files.
How the community answered
(30 responses)- A7% (2)
- B80% (24)
- C3% (1)
- D10% (3)
Community Discussion
No community discussion yet for this question.