1z0-898: Java EE 6 Java Persistence API Developer Certified Expert Annotation Practice Questions
The free 1z0-898: Java EE 6 Java Persistence API Developer Certified Expert questions that deal with annotation, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #1
What annotation marks a class as an entity in JPA?
Correct answer: A
Explanation
The @Entity annotation is used to indicate that a class is an entity bean in JPA.
Question #9
Which annotation is used to indicate a one-to-one relationship?
Correct answer: C
Explanation
The @OneToOne annotation defines a one-to-one relationship between two entities.
Question #10
What is the purpose of the @GeneratedValue annotation?
Correct answer: B
Explanation
The @GeneratedValue annotation is used to define the strategy for automatically generating primary key values.
Continue with 1z0-898: Java EE 6 Java Persistence API Developer Certified Expert
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-898: Java EE 6 Java Persistence API Developer Certified Expert, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All 1z0-898: Java EE 6 Java Persistence API Developer Certified Expert practice questions →
