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.
有没有办法在实体和非实体之间建立关系,我项目的所有实体都必须扩展一个通用类,我需要使关系成为某个实体和那个通用实体。我试图使通用类成为映射的超类:
@MappedSuperClass
但我仍然不能在关系中使用它。