Kotlin JPAの必須知識
(hyeon9mak.github.io)- Kotlin Entity の no-arg constructor
- JPAエンティティの構成には no-arg constructor が必要
- no-arg compiler plugin によって自動生成される
- Kotlin Entity の all-open
- JPAエンティティの構成には継承を許可する必要がある
- all-open compiler plugin によって自動的に継承を許可できる
- 簡単な追加設定が必要
- Kotlin Entity の data class
- 双方向マッピング時に無限循環参照が発生する
- 避けるべき
まだコメントはありません。