Online Access Free 1Z0-898 Exam Questions

Exam Code:1Z0-898
Exam Name:Java EE 6 Java Persistence API Developer Certified Expert Exam
Certification Provider:Oracle
Free Question Number:63
Posted:Aug 29, 2025
Rating
100%

Question 1

Consider the following web application:

Here MyEntity1.class and MyEntity2.class are annotated with @Entity and MyEmbeddable1-class and MyEmbeddable2-class are annotated with @Embeddable. MyPU is container managed. Which of the following represents set of classes considered managed by MyPU?

Question 2

An application creates a TypedQuery object to perform a query, and sets the query object's flush mode by calling setFlushMode (FlushModeType.commit). The query is executed within a transaction.
Which of the following is true?

Question 3

A developer wants to create a Java Persistence query that will include a subquery.
Which three are true? (Choose three.)

Question 4

An application has two entities, Department and Employee, and there is a one-to-many relationship between them. The application has the following query:
SELECT d
FROM Department d LEFT JOIN FETCH d. employees
WHERE d.name = : name
After receiving the results of the query, the application accesses the returned department's Employee entities stored in the Department.employees collection-valued attribute.
All caching has been turned off in the application.
Which statement is true?

Question 5

Given two entities with many-to-many bidirectional association between them: What set of annotations correctly defines the association?

Add Comments

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

insert code
Type the characters from the picture.