1Z0-898 試験問題を無料オンラインアクセス

試験コード:1Z0-898
試験名称:Java EE 6 Java Persistence API Developer Certified Expert Exam
認定資格:Oracle
無料問題数:63
更新日:2026-11-18
評価
100%

問題 1

The developer is creating a Java Persistence model for a legacy database. The database contains customer and subscriptions.
The subscriptions table has a foreign key to the Customer table, a foreign key to the magazines table, and a column that stores a java.util.Date (the subscription expiration date).
The developer wants to create entities Customer and subscription to model these tables and to represent the relationship between customer and subscription as a java.util.Map.
Which one of the following fields of the Customer entity accomplishes this task?

問題 2

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?

問題 3

Given:

Which statement is correct?

問題 4

Given the following entity classes:
@Entity
@cacheable (true)
Public class A { . . . } @Entity
@cacheable (false)
Public class B { . . .}
@Entity
Public class C { . . . }
If the shared-cache-mode element of persistence.xml is set to ENABLE _SERVICE, which entities are cached when using a persistence provider that supports caching?

問題 5

A named query that sets an exclusive pessimistic on the entities returned by the query by setting the NamedQuery lockMode element to LockModeType.PESSIMISTIC_FORCE_INCREMENT. The application starts transaction and executes the query.
Which of the following statements is correct about the entities returned by the query?

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。