Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- netty
- interface
- kotest testcontainers
- AccessToken
- jpa
- multimodule testcontainers
- @transactional
- 멀티모듈 테스트컨테이너
- TestContainers
- Invalid property 'principal.username' of bean class
- Spring Cloud Gateway
- 형상관리
- ObjectOptimisticLockingFailureException
- ObjectOptimisticLockingFailureException 처리
- aop
- 우아한 테크러닝
- S3
- 알고리즘
- spring aop
- DI
- OptimisticLock
- spring DI
- 소수찾기 java
- 낙관적 락 롤백
- springsecurity
- RefreshToken
- 백준
- java
- redissonlock aop
- 낙관적 락 재시도
Archives
- Today
- Total
목록jpa escape (1)
조급하면 모래성이 될뿐
JPQL like에 _ 포함시키기
상황 설계한 Entity의 id는 2개의 fk 조합으로 {id}_{id} 형태의 String 타입으로 저장된다. {특정 스케줄}_{좌석 번호}를 의미한다. ex) 1_0, 1_1, 1_2... 서비스에서 특정 스케줄에 등록된 좌석번호를 찾기 위해 like {특정 스케줄}_%로 검색하려 한다. AS-IS service에서 {id}_ 를 만들어서 전달했다. @Service @Transactional(readOnly = true) public class ReservedSeatService { ... public List findByScheduleId(Long scheduleId) { return reservedSeatRepository.searchByScheduleIdStartsWith(makeFindBySc..
TroubleShooting/데브코스
2022. 7. 1. 02:02