JAVA_PROBLEMS_LIB Telegram 1175
Откатится ли транзакция?

👍🏼 — Да, т.к. transfer() аннотирован @Transactional, при исключении всё откатится
🔥 — Нет, т.к. @Transactional не работает из-за вызова debit() внутри того же класса
👾 — Нет, т.к. RuntimeException не откатывает транзакции
⚡️ — Код не скомпилируется

🐸 Библиотека задач по Java
Please open Telegram to view this post
VIEW IN TELEGRAM
👍90🔥13👾41



tgoop.com/java_problems_lib/1175
Create:
Last Update:

Откатится ли транзакция?

👍🏼 — Да, т.к. transfer() аннотирован @Transactional, при исключении всё откатится
🔥 — Нет, т.к. @Transactional не работает из-за вызова debit() внутри того же класса
👾 — Нет, т.к. RuntimeException не откатывает транзакции
⚡️ — Код не скомпилируется

🐸 Библиотека задач по Java

BY Библиотека задач по Java | тесты, код, задания




Share with your friend now:
tgoop.com/java_problems_lib/1175

View MORE
Open in Telegram


Telegram News

Date: |

Some Telegram Channels content management tips During the meeting with TSE Minister Edson Fachin, Perekopsky also mentioned the TSE channel on the platform as one of the firm's key success stories. Launched as part of the company's commitments to tackle the spread of fake news in Brazil, the verified channel has attracted more than 184,000 members in less than a month. For crypto enthusiasts, there was the “gm” app, a self-described “meme app” which only allowed users to greet each other with “gm,” or “good morning,” a common acronym thrown around on Crypto Twitter and Discord. But the gm app was shut down back in September after a hacker reportedly gained access to user data. End-to-end encryption is an important feature in messaging, as it's the first step in protecting users from surveillance. The court said the defendant had also incited people to commit public nuisance, with messages calling on them to take part in rallies and demonstrations including at Hong Kong International Airport, to block roads and to paralyse the public transportation system. Various forms of protest promoted on the messaging platform included general strikes, lunchtime protests and silent sit-ins.
from us


Telegram Библиотека задач по Java | тесты, код, задания
FROM American