프로젝트 활동/발생한 문제와 해결 방법
GenericGenerator' is deprecated 문제
보름달빵
2024. 7. 9. 01:05
@GenericGenerator
문제점
'org.hibernate.annotations.GenericGenerator' is deprecated since version 6.5
해결 방법
Using the new type() for UUIDGenerator instead of strategy?
According to the documentation, the following usage is deprecated: @GenericGenerator( name = "UUID", strategy = "org.hibernate.id.UUIDGenerator" ) One
stackoverflow.com
정리할 것
- uuid를 생성하는 방법에는 무엇이 있을까
- @UuidGenerator란 무엇인가
https://www.baeldung.com/java-hibernate-uuid-primary-key