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

Huawei Exam H14-231_V1.0 Topic 1 Question 17 Discussion

Actual exam question for Huawei's H14-231_V1.0 exam
Question #: 17
Topic #: 1
[All H14-231_V1.0 Questions]

An engineer wrote the following code, which items are correct in the description of the following code?

@Entity(tableName="user",ignoredColumns={"ignoredColumn1","ignoredColumn2"},indices ={@Index(value ={"firstName","lastName"),name="name_index",unique =true)})

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Tamesha
5 days ago
C) Correct, 'ignoredColumns' indicates that the specified columns should not be added to the properties of the 'user' table.
upvoted 0 times
...
Iola
7 days ago
B) Incorrect, the index values are unique as specified by the 'unique=true' attribute.
upvoted 0 times
...
Lorriane
10 days ago
A) Correct, 'name_index' is the composite index name. This is a valid way to define a composite index in the @Index annotation.
upvoted 0 times
...
Rebbecca
13 days ago
I believe option C is also correct as 'ignoredColumns' indicates those fields are not added to the table properties.
upvoted 0 times
...
Amie
17 days ago
I agree with Frankie, option D seems correct based on the code provided.
upvoted 0 times
...
Frankie
18 days ago
I think option D is correct because the table is named 'user'.
upvoted 0 times
...

Save Cancel