Anyone have tried one to many mapping with jdbcTemplate in java, spring boot?

|
pravdograd 2022-09-04 09:07:33
guys, what is wrong in this querry?
pravdograd 2022-09-04 09:08:06
Thank you brother, I already managed it. I needed to clear only one column
Arshad_Ansarii 2022-09-04 09:11:56
Please help me I am start learning database
Arshad_Ansarii 2022-09-04 09:12:12
But properly installed database
Arshad_Ansarii 2022-09-04 09:12:29
springbootmicroservices-77089.jpg

Arshad_Ansarii 2022-09-04 09:12:42
But show this type not proper response
ElfGodd 2022-09-04 10:05:15
Saravana Pandiyan 2022-09-04 07:44:54
There is one author named Chad Darby, check his course he covers spring, hibernate and then spring boot

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

Saravana Pandiyan 2022-09-04 11:00:45
ElfGodd 2022-09-04 10:05:15
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?

MahiGJA 2022-09-04 11:30:46
springbootmicroservices-77103.jpg
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..

HadesFTW 2022-09-04 11:34:55
I need to learn spring boot
HadesFTW 2022-09-04 11:35:13
Can anyone guide me from basic
Neha 2022-09-04 11:36:15
Im new to spring nd they have assigned me a task….im unable to understand how the flow goes can some1 help me
Neha 2022-09-04 11:41:00
springbootmicroservices-77109.jpg
This is my api to delete and it takes another parameter which is the delete query… Here mongopersistancr already has the code for deleting .
Neha 2022-09-04 11:41:53
springbootmicroservices-77110.jpg
This is my deletebasicdbobject which is already written
Neha 2022-09-04 11:43:05
Neha 2022-09-04 11:41:00
springbootmicroservices-77109.jpg
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….

Sakshi 2022-09-04 12:25:51
Anyone know @transational springboot ?
Bapu 2022-09-04 12:41:35
pravdograd 2022-09-04 09:07:19
springbootmicroservices-77109.jpg
@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)

pravdograd 2022-09-04 12:43:04
Bapu 2022-09-04 12:41:35
springbootmicroservices-77109.jpg
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);

pravdograd 2022-09-04 12:48:30
Bapu 2022-09-04 12:41:35
springbootmicroservices-77109.jpg
Try to use it

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

thank you for reply brother

Raina Yuvan 2022-09-04 13:24:48
how to debug ten microservices at the time?
Raina Yuvan 2022-09-04 13:36:49
how to check the error in microservice
K S 2022-09-04 13:47:46
Link pls
abhi_techy_guy 2022-09-04 14:00:36
Raina Yuvan 2022-09-04 13:36:49
springbootmicroservices-77109.jpg
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

sanju 2022-09-04 14:17:06
springbootmicroservices-77150.jpg
Getting error in beans configuration XML file in spring boot can anyone let me know the solution …
thavvaguntaThahir 2022-09-04 14:25:39
Anyone have tried one to many mapping with jdbcTemplate in java, spring boot?
thavvaguntaThahir 2022-09-04 14:27:09
springbootmicroservices-77152.jpg
I tried like this but not working.
Here Director and Movies java calsses are one to many relationship. Pls help 🙏
Bk 2022-09-04 16:23:06
B
Zeref 2022-09-04 17:08:22
Sakshi 2022-09-04 12:25:51
springbootmicroservices-77109.jpg
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

Twinkl7 2022-09-04 17:19:56
Hi all,
Could anyone know how to do sonarcubes in spring boot application?
faisal_shopnil 2022-09-04 17:26:16
Sakshi 2022-09-04 12:25:51
springbootmicroservices-77109.jpg
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)

|