New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Spring_Essentials_Quiz_Day_3

Quiz

Played 5

About this activity

Spring ORM & Spring Data JPA

Created by

India

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Spring_Essentials_Quiz_Day_3
 

Spring_Essentials_Quiz_Day_3Online version

Spring ORM & Spring Data JPA

by Birendra Singh
1

Which class is responsible for bootstrapping the JPA EntityManagerFactory in Spring ORM?

Choose one or more answers

2

Which interface acts as the central abstraction for transaction management in Spring?

3

What is the default propagation behavior of @Transactional?

4

Which statement about declarative transaction management is TRUE?

5

@Bean public DriverManagerDataSource ds() { DriverManagerDataSource ds = new DriverManagerDataSource(); ds.setUrl("jdbc:mysql://localhost:3306/test"); ds.setUsername("root"); ds.setPassword("root"); return ds; } What is missing?

6

@Transactional public void save() { repo.save(emp); throw new RuntimeException(); }What will happen?

7

Which repository provides CRUD + Pagination + Sorting + JPA-specific methods?

8

Which interface is only a marker interface?

9

Which XML element enables Spring Data JPA repositories?

10

Which annotation is Java Config equivalent of ?

11

Which annotation enables annotation-driven transaction management?

12

What query is generated? List findByName(String name);

13

Which keyword is valid in query method approach?

14

What does this method do? List findBySalaryGreaterThan(double salary);

15

Which annotation allows custom JPQL/native query writing?

Choose one or more answers

16

Where is @NamedQuery generally placed?

17

What is the purpose of orm.xml?

18

Which tag defines a named JPQL query in orm.xml?

Choose one or more answers

19

from Employee What does contain?

20

Which is TRUE regarding JpaRepository?

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.