READ Free Dumps For Oracle- 1z0-898
Question ID 4560 | A developer wants to model the grades for a student as a Map<course, integer>. Assume that Student and Course are entitles, and that grades are modeled by integers. |
Option A | A. The developer can model the grades as an element collection in the Student entity. |
Option B | B. The developer can model the grades as a oneToMany relationship in the Student entity. |
Option C | C. The mapping for the key of the map can be specified by the @MapKeycolumn annotation. |
Option D | D. The mapping for the value of the map can be specified by the @Column annotation. |
Correct Answer | A,D |
Question ID 4561 | Consider a persistence application with the following orm.xml: |
Option A | A. The access type for only those entities that have not explicitly specified @Access will be defaulted to field. |
Option B | B. The access type for all entities in the persistence unit will be changed to FIELD. |
Option C | C. The access type for all entities specified in this orm.xml will be changed to FIELD. |
Option D | D. The access type for only those entities defined in this orm.xml for which access is not specified will be defaulted to FIELD. |
Correct Answer | D |