Spring & Spring Data JPA: Managing Transactions

Spring & Spring Data JPA: Managing Transactions

Thorben Janssen

3 года назад

61,646 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@OracleOfSages
@OracleOfSages - 11.11.2023 19:57

Best video about this subject! Thanks so much!!

Ответить
@dmytro-busyhin
@dmytro-busyhin - 29.05.2023 23:53

Thank you, beneficial video!

Ответить
@kratikothari7664
@kratikothari7664 - 23.05.2023 09:44

Thank you for another great video . Can you also cover the need of optimistic locking and when do we need to use that in spring data jpa .

Ответить
@ginoallisonrasoanaivo4484
@ginoallisonrasoanaivo4484 - 13.01.2023 14:37

Thank you, a very clear video, just a question: does spring support both declarative and programmatic transaction management ?

Ответить
@mrabbas9
@mrabbas9 - 11.01.2023 01:18

Commenting only to appreciate how well you have organized this video.

Ответить
@fernandoavf7
@fernandoavf7 - 23.12.2022 17:19

Thank so much!, I have a question, what happen if I have a springboot app to read/write on database without @Transactional annotations and another springboot app that process data and call to that app to write data? (and this service effectively has the @Transactional annotation), if an exception occurs, there will be a roll-back or not?, @Transactional its necessary in both services?, or only in the service connected to database?

Ответить
@stanleyizturriaga1251
@stanleyizturriaga1251 - 12.05.2022 18:56

Excellent video, please could you talk about Hibernate caching? thanks...

Ответить
@israelduarte1326
@israelduarte1326 - 12.04.2022 22:25

Thanks for the video. It helped me a lot to understand more about Phanton Read and how to deal with it.

Ответить
@keremkarademir6101
@keremkarademir6101 - 31.03.2022 05:00

Been struggling for a few days to figure out how this annotations help with our backend applications and your video made it so clear to me now. God bless you,man!

Ответить
@jaideeph6985
@jaideeph6985 - 23.03.2022 17:09

Sometimes the rollback for Exception.class won't work when we use multiple entities for multiple tables and make more than one CRUD operations in a service class . Any suggestions for this .. ??

Ответить
@jasper5016
@jasper5016 - 16.02.2022 23:34

Thanks for the great video. If there are 3 different table updates. I have written them in different methods. I used @Transaction annotation for all of them but when 3rd fails, it does not rollback 1st two method transactions. How can I solve this?

Ответить
@kamboj65
@kamboj65 - 14.01.2022 12:08

Very clear explanation! Thank you!

Ответить
@park2348190
@park2348190 - 03.01.2022 20:22

didn't know that readonly done by not doing dirty checking! thanks

Ответить
@swapnakumari1884
@swapnakumari1884 - 26.12.2021 04:22

Gave me very good clear knowledge on @Transactional attribute. Thank you.

Ответить
@bboysistou
@bboysistou - 07.12.2021 15:24

your course is very clear I like it

Ответить
@mehmetbilgin2101
@mehmetbilgin2101 - 24.11.2021 15:39

good explanation, thank you for the video

Ответить
@alphabravo9999
@alphabravo9999 - 03.11.2021 15:18

My transaction executes an update statement even tho i did not explicitly call it. Why does this happen when transaction is about to end. Im confused help

Ответить
@anison1111
@anison1111 - 24.10.2021 22:45

I tend to feel - companies promoted hibernate because they wanted developers to spend their entire life learning it so that companies dont have to pay developers what they should - which is custom written JDBC code, a developer is not paid to study for years a complex and changing framework like hibernate and this effort is tremendous - hibernate has features and until reader find good videos and reads like you they will keep ending up using such framework incorrectly and also failing interviews a lot more - until a framework provides correct and effectively detailed documentation - its a curse to technical community - spring is no exception to this rule. Configuration heavy development is good for companies who dont have to pay what they should to technical people like us and they force us to spend our entire life reading and learning so called ready to use building blocks such as annotations and frameworks such as spring boot and hibernate - its a curse - think to yourself what I just said. Although I can't undermine your effort sharing your hard earned knowledge here Thorben, I just wanted to provided the insight of what we dont look at, why do we have to create such curse in name of innovation.

Ответить
@anison1111
@anison1111 - 24.10.2021 22:40

misuse of phrase "extremely simple" - in the first line of this video - I really feel BMT is the way to go - so many features offered in hibernate are just so complex and only apply to very specific situation - hibernate is undesirable if you ask me - for what it offers at the cost it offers.

Ответить
@hyperborean72
@hyperborean72 - 31.08.2021 00:36

Thank you for another great explanation. By the way why didn't you mention 'isolation' attribute?

Ответить
@manojkumarpadarthi4805
@manojkumarpadarthi4805 - 04.05.2021 16:24

So @ Transactional is not required in spring boot ?

Ответить
@fullnaoufal
@fullnaoufal - 17.01.2021 13:51

Hi janssen,

Thanks for excellently explaining transaction management in Spring Data JPA.
Is there any resource on your blog expalining the use of @Lock and @Version please?

Regads

Ответить
@balasahebnimse8473
@balasahebnimse8473 - 08.12.2020 12:56

Thank you for your great work

Ответить
@giisoft8797
@giisoft8797 - 15.10.2020 20:38

kya hal chal bhai

Ответить
@yuriyk8002
@yuriyk8002 - 07.10.2020 13:21

Very informative and well explained. Thank you!

Ответить
@ketantank11
@ketantank11 - 12.09.2020 09:13

Sir your video are very informative..but one question arises,How to avoid cocurrent read and insert if your java application is deployed on different servers Or jvm and connect with one db how transaction work in that scenario..

Ответить
@satishchitimoju7308
@satishchitimoju7308 - 10.09.2020 20:54

Great work. Keep going ..

Ответить
@MrLoyalNguyen
@MrLoyalNguyen - 15.06.2020 06:39

Great video Thorben, thank you!

Ответить
@dipakpatil6636
@dipakpatil6636 - 12.06.2020 05:58

Nice 👍

Ответить
@christophe_agoero
@christophe_agoero - 12.06.2020 01:46

It is possible to add the annotation @Transactional on the class. On each of my services I put on the class level @Transactional(readOnly = true) like that by default I do not open a transaction and if my method modify the base then I add an @Transactional on the méthode.

Ответить
@shomer2009
@shomer2009 - 11.06.2020 20:08

Thanks for sharing all this knowledge. I m confused on why we need to add @Transaction without customizing it in the service if it's by default in repository.

Ответить
@heribertoalortadeo7529
@heribertoalortadeo7529 - 11.06.2020 18:22

Top tier content, thank you for your work.

Ответить
@SushilKumarBhaskar
@SushilKumarBhaskar - 11.06.2020 17:29

excellently explained ee+, Please make more videos on this.

Ответить