1.

Which one of the following is not ID generating strategy using @GeneratedValue annotation?(a) Auto(b) Manual(c) Identity(d) SequenceThis question was addressed to me in an interview for job.My question is from Annotations in portion Application Lifecycle & Annotations of Java

Answer»

The correct CHOICE is (b) Manual

For EXPLANATION: Auto, Table, IDENTITY and Sequence are the ID generating STRATEGIES using @GeneratedValue ANNOTATION.



Discussion

No Comment Found

Related InterviewSolutions