What statement is correct?

A Java Persistence application uses entities mapped to tables from two datasources in the same
transaction.
What statement is correct?

A Java Persistence application uses entities mapped to tables from two datasources in the same
transaction.
What statement is correct?

A.
This is NOT possible.

B.
The entities must be packaged into two persistence units.

C.
The entities can be packaged into a single persistence unit

D.
The entities must be packaged using two different persistence.xml files.



Leave a Reply 0

Your email address will not be published. Required fields are marked *