Search Header Logo

Spring data JPA

Authored by Phương Đình

English

University

Used 7+ times

Spring data JPA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following annotation is used for Is-A mapping?

@Inheritance
@IsAMapping
@InheritanceMapping

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation is used to link two tables through a relation table?

@RelationTable
@JoinTable
@LinkTable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a mandatory annotation for an entity class?

@Entity
@Table
@Id

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following annotation is applied on the unique Id of an entity to get its value generated?

@Generator
@GeneratedValue
@Unique
@AutoIncrement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which annotation is used to create PK-FK relation beetween two tables?

@JoinColumn
@ForeignKey
@JoinedKey
@PrimaryKey

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute of @OneToMany is used to mark an entity as owned?

cascade
mappedBy
propertyRef
eager

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Is-A mapping, requires discriminator column?

Single Table Mapping
Joined Table Mapping
Table Per Class Mapping
Double Table Mapping

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?