Spring Boot
Id type은 왜 Long 일까
seoca
2019. 3. 10. 05:42
Primitive type long으로 id를 생성하면 NullPointerException 이 불가하기 때문에 id는 Long type으로 선언해줘야한다.