-
## IncorrectResultSizeDataAccessException
## NonUniqueResultException: query did not return a unique result: 2
```Optional findByName(String provinceName);```
위와 같이 레포지토리에서 문자열인 이름을 기준으로 쿼리를 조회했을…
-
JPA @MapsId 와 @EmbeddedId 에 대해서 알아보기
-
## User Story
As a user, I want to know that all timestamp columns are being handled by the application, not by triggers.
## Acceptance Criteria
- Create a SQL migration file for:
- Droppi…
-
-
안녕하세요. 깃허브 추천 알고리즘으로 선생님 프로젝트를 보게 된 사람입니다.
프로젝트를 보면서 좋았던 점과 아쉬웠던 점을 말씀드리고 싶어서 이슈에 남깁니다. 참고하시면 좋은 내용은 링크도 남겨두겠습니다.
## 아쉬운 점
### entity는 도메인이 아닙니다.
사이드 프로젝트이니 편하게 작업을 하신 의도가 같지만, 저는 분리 하는 것이…
-
Add support for JPA Query by Example API in azure-spring-data-cosmos
- [ ] Description Added
- [ ] Expected solution specified
-
## Add a migration generator
add something to automatically handle database migrations and versioning.
-
# [JPA]는 새로운 엔티티를 어떻게 알아볼까?
Long id = 0L ? 코틀린을 공부하다 참고하려고 우테코 지원 플랫폼의 코드를 봤다.
그 중 흥미로운 점을 발견했는데, 엔티티를 생성할 때 를 로 초기화 하는 것이다. 이게 왜 흥미로웠냐면 상수 픽스쳐 사용 주의 포스팅에서 썼듯이 가 이 아니면 를 시행한다
[https://hyewoncc.githu…
-
## Problemdescription
Compile-Error when a Java-Record is marked as @Embeddable!
`Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project …
-
### 최신등록순/오래된순 정렬
- `private Boolean sortByNewest;` 필드가 true이거나 null일 경우 최신등록순 정렬 구현
- 문제점
- 정렬을 사용하는 곳이 많아 코드 중복 발생
- 생성일자 뿐 만 아니라 정렬조건이 늘어날 경우 확장성이 없음
```java
public class EnquiryRe…