IT認証試験問題集
毎月、ITshikenは1500人以上の受験者が試験準備を助けて、試験に合格するために受験者にご協力します
 ホームページ / 1Z0-898 問題集  / 1Z0-898 問題練習

Oracle 1Z0-898 問題練習

Java Platform, Enterprise Edition 6 Java Persistence API Developer Certified Expert Exam 試験

最新更新時間: 2019/05/15,合計121問。

平成から令和へ:1Z0-898 最新真題を買う時、日本語版と英語版両方を同時に獲得できます。

実際の問題集を練習し、試験のポイントを了解し、テストに申し込むするかどうかを決めることができます。

さらに試験準備時間の35%を節約するには、1Z0-898 問題集を使用してください。

 / 9

Question No : 1
If a Persistence application locks entity x with a pessimistic lock, which statement is true?

正解:

Question No : 2
The embeddable class ContractInformation is used in an element collection of the Employee entity.
@Entity Public class Employee {
@Id int empId; @ElementaryCollection Set <ContractInformation> info;
. . .
}
Assume that the phone class is an entity and that address is an embedded class.
Which two of the code segments below can be used to model the state of ContractInformation? (Choose two)

正解:

Question No : 3
The developer has modeled student interests as a set <String>:
@Entity public class Student { @Id int student Id; string name; @ElementaryCollection Set <String> Interests; . . . }
The developer wants the values of this set to be stored using a column named student_intersets. Select the item below that accomplishes this task:

正解:

Question No : 4
A JavaEE application is packaged as follows.



Which of the following is true for a portable JavaEE application?

正解:

Question No : 5
A session bean business method invokes UserTransaction.setRollbackonly and receives an IllegalStateException.
Under which circumstance can this happen?

正解:

Question No : 6
A user entity is in a one-to-many relationship with a Book entity. In other words, a developer reach the collection of books that a user instance myUser has by using the path expression-”myuser ­books".
A developer wants to write a Java Persistence query that returns all users that have only two books.
Which two are valid queries that return this information? (Choose two.)

正解:

Question No : 7
Which statement is correct about the Java Persistence API support for the SQL queries?

正解:

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

正解:

Question No : 9
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?

正解:

Question No : 10
An application uses optimistic locking by defining version attributes in its entity classes. The application performs a bulk update of the entities using a JPQL query.
Which of the following is correct?

正解:

Question No : 11
An application has two entities, parson and Address.



The application calls the DeletePersonsByStatus named query.
Which of the following is true?

正解:

Question No : 12
The developer wants to write a portable criteria query that will order the orders made by customer James Brown according to increasing quantity. Which one of the below queries correctly accomplishes that task?

正解:

Question No : 13
The developer wants to write a criteria query that will return the number of orders made by customer of each county.
Assume that customer is an entity with a unidirectional one-to-many relationship to the Order entity and that Address is an embeddable class, with an attribute country of type String.
Which one of the queries below correctly achieves this?

正解:

Question No : 14
Which one of the following queries selects the customer whose order has the highest total price?

正解:

Question No : 15
A developer is writing an application with three java Persistence API entities: order, customer, and Address. There is a many-to-one relationship between order and customer, and a one to-many relationship between customer and Address.
Which two Criteria queries will return the orders of all customers who have an address whose value specified by the String parameter postalcode? (Choose two)

正解:

 / 9