
Hibernate Entity 엔티티 클래스는 final 일 수 있지만 lazy loading을 위한 proxy 객체를 생성 할 수 없다. Technically Hibernate can persist final classes or classes with final persistent state accessor (getter/setter) methods. However, it is generally not a good idea as doing so will stop Hibernate from being able to generate proxies for lazy-loading the entity. - Hibernate 공식 문서 - allOpen Kotlin 과 final 하지만 Kotlin에서는 클래스와..
Back-End/Kotlin
2023. 3. 8. 23:22