我正在使用Hibernate JPA.
假设我有这些类:
AbstractPerson |--> ConcreteEmployee |--> ConcreteCustomer
有没有办法让具体类具有独立的ID?
我正在使用InheritanceType.TABLE_PER_CLASS.
java hibernate jpa table-per-class
hibernate ×1
java ×1
jpa ×1
table-per-class ×1