Skip to content
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

할일 추가 문제 #100

Open
Cha-Ji opened this issue May 30, 2022 · 1 comment
Open

할일 추가 문제 #100

Cha-Ji opened this issue May 30, 2022 · 1 comment
Labels
bug 버그

Comments

@Cha-Ji
Copy link
Collaborator

Cha-Ji commented May 30, 2022

Given

  • auto generate 사용
  • todo의 id를 1L로 고정
  • todo.toEntity()를 사용한 후 insert

When

  • 중복된 id를 가진 todo를 nsert하면

Then

  • auto generate로 순차적으로 쌓일 줄 알았지만 아이디가 중복되기 때문에 conflict.REPLACE 속성에 의해 교체된다.

자료 첨부

@Cha-Ji
Copy link
Collaborator Author

Cha-Ji commented May 30, 2022

-1L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 버그
Projects
None yet
Development

No branches or pull requests

1 participant