guys, what is wrong in this querry?
Have you completed the Spring basics?
how to debug ten microservices at the time?
Anyone have tried one to many mapping with jdbcTemplate in java, spring boot?
Could anyone know how to do sonarcubes in spring boot application?

That’s the course I am following and I am stuck before starting, it’s not clear how he does the exercise he used Eclipse I am using VScode
Have you completed the Spring basics?

Plz anyone tell me!!
Why I couldn’t able to create maven project after STS-plugin!!
Before Downloading is working but.. After downloading… Its strucked in 33%…only..

This is my api to delete and it takes another parameter which is the delete query… Here mongopersistancr already has the code for deleting .

This is my deletebasicdbobject which is already written

This is my api to delete and it takes another parameter which is the delete query… Here mongopersistancr already has the code for deleting .
I want to know how to write the further part of code….

@Modifying
@Query(value = “DELETE owner_id FROM pets where owner_id=?1”, nativeQuery = true)
Try to use it
@Modifying
@Query(value = “DELETE FROM pets where owner_id=?1”, nativeQuery = true)

Try to use it
@Modifying
@Query(value = “DELETE FROM pets where owner_id=?1”, nativeQuery = true)
so i used
@Query(value = “UPDATE pets set owner_id=null WHERE owner_id=?1”, nativeQuery = true)
public void deleteOwnerOfPetByOwnerId(Long ownerId);

Try to use it
@Modifying
@Query(value = “DELETE FROM pets where owner_id=?1”, nativeQuery = true)
thank you for reply brother

how to check the error in microservice
You need to have sleuth
And Elk stash .
Sleuth generates trace id and span id .
Elk stash will come up with UI,you can search based on different parameters
Search by span id and you’ll find your flow of request and help you to find error

Getting error in beans configuration XML file in spring boot can anyone let me know the solution …

I tried like this but not working.
Here Director and Movies java calsses are one to many relationship. Pls help 🙏

Anyone know @transational springboot ?
Just to have a rollback I mean if a method executes and have exception in between the value will be the same as before executing the method
Could anyone know how to do sonarcubes in spring boot application?

Anyone know @transational springboot ?
Suppose, a method named “updateOrder” save/upate 3 informations on 3 different tables.
These all db operations may occur in “updateOrder” method, or other methods.
If there is a exception on saving the 3 oprations, and u want to rollback all the 3 operations, u can use @Transactional on parent method, (updatsOrder)