Continue your work You'll channel will shine. I really appreciate you for this great content.
@dev2prodcoding2 жыл бұрын
Thank you.
@LeafyConversations2 жыл бұрын
Your the best!!! You make it look so easy and I know it is not easy. Thank you for making these short and easy videos to follow.
@dev2prodcoding2 жыл бұрын
Glad you like them!
@manojsuravarapu46553 жыл бұрын
simple and clear
@KlanBr1 Жыл бұрын
The deleteMapping endpoint dosnt work, i have to put ir a @Transactional annotation, somebody else?
@gauravsrivastava174 ай бұрын
yes
@manojsuravarapu46553 жыл бұрын
Looking for more videos
@keremaksoy8007 Жыл бұрын
I do not understand the things you have done in last 5 minutes. For example, you wrote declerations in EmployeeRepository and you automagically use the functions you declare without implementing them or giving anotations to them. How did it happen?
@dev2prodcoding Жыл бұрын
These are called Derived Query, where you don't have user @Query annotation. You need to define a derived query from your interface that implements the JPA repository instance. Then, from your repository instance, you will be exposed to all the methods that allow CRUD operations on your database. For more details please follow this link : docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.query-methods.query-lookup-strategies Hope It helps!!
@AchrafAitIbba Жыл бұрын
For those who got error while testing delete method "No EntityManager with actual transaction available for current threa....." : you can use the following annotation inside the EmployeeService class right before the deleteEmployee method : @Transactional