title: Spring persistent framework which supports data class of kotlin
body: <p>the question is simple, but I can't find any of answer about this.</p>
  <p>After searching, I realize that kotlin data class is not suitable for Spring JPA because data class is immutable and does not support inheritance.</p>
  <p>So, I wonder are there any alternatives for JPA which support data class.</p>
  <p>Thanks,</p>