
Spring Data JPA
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Easy
PRAVEEN SHARMA
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main goal of Object-Relational Mapping (ORM)?
Encrypt data in the database
Map Java objects to database tables
Convert Java to SQL manually
Replace SQL completely
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which annotation is used to mark a class as a JPA entity?
@Bean
@Entity
@Component
@Table
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does @Table(name="employee") specify in an entity class?
Database name
Column name
Table name
Schema name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of @Column(name="emp_id")?
It maps an entity to a table
It maps a field to a specific column in the table
It sets primary key
It defines table constraints
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which annotation marks a field as the primary key in a JPA entity?
@Column
@GeneratedValue
@Id
@PrimaryKey
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which JPA strategy allows the database to automatically generate primary key values?
AUTO_INCREMENT
@Generated
GenerationType.IDENTITY
@AutoKey
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method in EntityManager is used to save a new entity to the database?
store()
insert()
persist()
save()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
CSF-PT05Q1
Quiz
•
Professional Development
15 questions
ITS Core Competencies: Quiz
Quiz
•
Professional Development
20 questions
Python Programming Basics
Quiz
•
Professional Development
20 questions
Analytics window functions
Quiz
•
Professional Development
15 questions
Data Analysis and Visualization
Quiz
•
Professional Development
16 questions
Redundancy Strategies
Quiz
•
Professional Development
17 questions
Data Science Quiz 1
Quiz
•
Professional Development
19 questions
CyberSecurity Training-Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
