JPA Inheritance

后端 未结 4 422
花落未央
花落未央 2021-01-14 17:11

Hi I\'m new to JPA and I\'m having trouble understanding how it handles inheritance.

I have a specific problem I need solved without changing the DB scheme, but if y

4条回答
  •  天命终不由人
    2021-01-14 18:03

    I have the same issue and so far the only way I found was to query the parent and construct child with parent. Then remove parent and recreate both records.

提交回复
热议问题