1Z0-860 Web TestEngine demo

Exit VCEDump 1Z0-860 Java Enterprise Edition 5 Business Component Developer Certified Professional
Question 16 of 46
0% complete
Q16 Single choice

A developer is modifying an existing Java EE application that uses the JDBC API to access a database.
This code must be used but cannot be changed, and new code needs to be added that uses the Java Persistence API. Both parts of the code will execute in the same JTA transaction.

Which method of the EntityManager interface should the new code use to ensure that the data read by JDBC statements includes the state of managed entities?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in