Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-900 Topic 4 Question 72 Discussion

Actual exam question for Oracle's 1Z0-900 exam
Question #: 72
Topic #: 4
[All 1Z0-900 Questions]

Given the code fragments:

Which action completes this composite primary key implementation?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Contribute your Thoughts:

Sharee
4 days ago
I'm leaning towards Option C. Adding the @IdClass annotation at line 2 seems like the simplest solution. But I'll need to make sure the ContactId class is set up correctly.
upvoted 0 times
...
Bronwyn
12 days ago
But adding @Embeddable and @EmbeddedId seems unnecessary, so I still think B is the best choice.
upvoted 0 times
...
Melissa
13 days ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Bronwyn
15 days ago
I think the correct answer is B.
upvoted 0 times
...
Merissa
17 days ago
But adding @Embeddable and @EmbeddedId seems unnecessary, I still think B is the best choice.
upvoted 0 times
...
Mozelle
18 days ago
I disagree, I believe the correct answer is D.
upvoted 0 times
...
Olene
18 days ago
Option D seems like the right choice here. The @Embeddable and @EmbeddedId annotations are the way to go for a composite primary key.
upvoted 0 times
...
Eileen
20 days ago
Option B looks good, but I'm not sure about replacing the @Id annotations. I'll need to double-check the documentation on that.
upvoted 0 times
...
Merissa
22 days ago
I think the correct answer is B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77