Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
鉴于我有与实体 B 具有多对一关系的实体 A。实体 B 具有我想用作实体 A 的某些子类的鉴别器的属性(一种枚举)。我可以用常见的 JPA 定义它吗和/或休眠注释或者我是否需要创建实体 B 的区分版本来创建这种关系?
干杯,凯