Question: Query Methods For an entity class Bike(id, model, price) , which of these methods are automatically synthesised in JpaRepository ? Hint : You have to

Query Methods

For an entity class Bike(id, model, price), which of these methods are automatically synthesised in JpaRepository?

Hint: You have to think of the method which can be automatically synthesised. You do not have to think of the ways which can be custom created. For example, findByX or findByXAndY methods are automatically synthesised in JpaRepository, whereas methods like findByXAndYAndZ can be custom created.

1) findBikeByModel

2) findByModelAndIdAndPrice

3) findByModel

4) findModel Provide right solution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!