-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: perf result page #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
정말 끝까지 열심히 해주셔서 감사합니다!! :)
(분명 건강검진을 받고 왔는데 몸이 왜 이렇게 안 좋아진건지 모르겠네요;;)
* @throws IllegalStateException if parent transaction is not active or not exist | ||
*/ | ||
public static void IsParentTransactionActive() { | ||
boolean actualTransactionActive = TransactionSynchronizationManager.isActualTransactionActive(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
스프링에선 트렌젝션을 계층 구조로 관리한다는 것과 부모의 트렌잭션 활성화 여부를 판별 할 수 있는 것도 처음알았네요 !! 👍
|
||
TestStatus defaultTestStatus = TestStatusHelper.createDefaultTestStatus(); | ||
defaultTestStatus.setTestResult(saveTestResult); | ||
testStatusRepository.save(defaultTestStatus); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엄청나게 많은 정보를 한번에 저장 하네요.
실제 기업 서비스에는 더 많은 테이블이 있고 관리 해야 할 것이 훨씬 많을텐데 어떻게 저장 하는지 문득 궁금해지네요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 그게 궁금합니다ㅎㅎ. 아마 메소드로 묶어서 관리하지 않을까 생각합니다!
Implements