Skip to content

[24기_정태호] spring tutorial 미션 제출합니다. - #7

Open
taiho0303-blip wants to merge 3 commits into
CEOS-Developers:taiho0303-blipfrom
taiho0303-blip:taiho0303-blip
Open

[24기_정태호] spring tutorial 미션 제출합니다.#7
taiho0303-blip wants to merge 3 commits into
CEOS-Developers:taiho0303-blipfrom
taiho0303-blip:taiho0303-blip

Conversation

@taiho0303-blip

Copy link
Copy Markdown

No description provided.

@gilbert09031 gilbert09031 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1주차 과제 수고하셨습니다 !

잘 정리해주신 덕분에 저도 다시 읽어보면서 공부할 수 있었던 것 같아요 !
앞으로도 화이팅 💪

Comment thread README.md
공통 로직 후처리
```

예를 들어 `@Transactional`이 붙은 메서드는 Proxy가 먼저 트랜잭션을 시작하고, 실제 메서드를 실행한 뒤 성공하면 Commit, 예외가 발생하면 Rollback한다.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://hyperconnect.github.io/2025/02/10/spring-transactional-rollback.html
https://cheese10yun.github.io/checked-exception/
https://mangkyu.tistory.com/152

@Transactional은 모든 예외에 대해서 롤백을 보장할까요 ?
커스텀 예외를 작성할 때 왜 일반적으로 Exception이 아닌 RuntimeException을 상속받는지도 함께 고민해보면 좋을 것 같아요 !

Comment on lines +7 to +8
@Data
@Entity

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants