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
Get step-by-step solutions from verified subject matter experts
