---
title: "HyeongSu (@amecoder) | Hashnode"
description: "Backend Developer. Read the latest articles by HyeongSu on Hashnode."
url: "https://hashnode.com/@amecoder"
---

@amecoder

# HyeongSu

@amecoder · Seoul, South Korea · Joined November 2023

Backend Developer

[Website](https://www.amilo.life/)

## Comments

[Taehyeong Lee Thank you for the response. I also plan to develop a habit of doing so. By establishing a solid foundation, it seems possible to preemptively prevent deadlocks that may occur in unexpected areas.](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1/comment/65a64c5368bd11c4ade3b79e#reply-65a738bf76f96775fb687fb9)

Reply · Article · Jan 17, 2024 · [Implementing Automatic Retry for Database Deadlocks in Spring Boot using Spring Retry](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1)

[Thanks to you, I was able to think deeply about lock and isolation. Thank you! You have set the @Transactional annotation on the Repository interface. I usually prefer to declare it in the Class method of the Service layer... Is it a better practice to declare it in the Repository?](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1/comment/65a64c5368bd11c4ade3b79e)

Comment · Article · Jan 16, 2024 · [Implementing Automatic Retry for Database Deadlocks in Spring Boot using Spring Retry](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1)

[Thanks to you, I was able to contemplate about lock and isolation. In source code, you implemented the @Transactional annotation in the Repository Interface, but according to Spring documentation, they recommend setting it at the class level. how do you think about it? https://docs.spring.io/spring-framework/reference/data-access/transaction/declarative/annotations.html#:~:text=The%20Spring%20team,a%20rollback%20scenario. ---- I discovered this after making the comment ---- It seems that the Repository with Data JPA interface is an exception where it's permissible to use Transactional.](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1/comment/65a6446acd3d656b75b71db5)

Comment · Article · Jan 16, 2024 · [Implementing Automatic Retry for Database Deadlocks in Spring Boot using Spring Retry](https://hashnode.com/posts/implementing-automatic-retry-logic-for-database-deadlocks-in-spring-boot-using-spring-retry/65a625f497a98f4d89f778b1)

[very useful article, thanks!](https://hashnode.com/posts/guide-to-scheduler-lock-in-spring-boot-using-shedlock-and-dynamodb/659b8f8b96177b0053d1f54d/comment/659c9df6b183b8ce2c3cb5b2)

Comment · Article · Jan 9, 2024 · [Guide to Scheduler Lock in Spring Boot using ShedLock and DynamoDB](https://hashnode.com/posts/guide-to-scheduler-lock-in-spring-boot-using-shedlock-and-dynamodb/659b8f8b96177b0053d1f54d)
