Effective and educational session.... thank you so much😊😊
@codefarm03 жыл бұрын
So nice of you. Thanks for kind words
@shubhamswaraj19683 жыл бұрын
What is used mostly CrudRepository or jparepository ...or writing sql queries to perform backend operations or CRUD operations or where sql queries are used and where Repositories interfeces are used?
@codefarm03 жыл бұрын
Both of them are used to perform DB operations, there is one more PagingAndSortingRepository See the detailed info - stackoverflow.com/questions/14014086/what-is-difference-between-crudrepository-and-jparepository-interfaces-in-spring
@shubhamswaraj19683 жыл бұрын
How session timeout is handled in spring boot applications while users login using redis or other tools and how its implemented
@codefarm03 жыл бұрын
It's a very good question. hard to reply in few lines. I'll cover this topic in the microservices demo series playlist when covering the front-end and authentication part... if you are interested then can take a look on --- docs.spring.io/spring-session/docs/current/reference/html5/guides/boot-redis.html
@harshgoyal68223 жыл бұрын
Hi could you pls tell me In this when() is method of Mockito or Mockbean?
@codefarm03 жыл бұрын
You can check it in the import section in the code
@harshgoyal68223 жыл бұрын
@@codefarm0 Actually i m only getting when option with Mockito. But i didnt see you are importing Mockito in this class? thats why confused?
@codefarm03 жыл бұрын
Actually that gets auto imported while writing the code or may be it was already there in the import list while writing some other part