Oracle
1Z0-860 · Question #29
Given the following entity class: 11. @Entity public class Customer) 12. @ld private int id; 13. private transient String name; 14. private Java. math. BigDecimal grossAmmount; 15.} Which mapping…
The correct answer is C. @Basic to the grossAmmount field. See the full explanation below for the reasoning.
Question
Given the following entity class: 11. @Entity public class Customer) 12. @ld private int id; 13. private transient String name; 14. private Java. math. BigDecimal grossAmmount; 15.} Which mapping annotation can be added to the fields of this entity?
Options
- A@Column to the name field
- B@Embeddedld to the id field
- C@Basic to the grossAmmount field
- D@JoinColumns to the grossAmmount field
How the community answered
(51 responses)- A8% (4)
- B4% (2)
- C73% (37)
- D16% (8)
Community Discussion
No community discussion yet for this question.