The proxy class is an actual subclass of the persistent class.
实际上,代理类是持久化类的子类。
The table must match the definition of your attributes; for example, the primary database key for the equations table must be the primary key of the Persistent class as well.
表必需与属性定义匹配,例如,等式表的主数据库键必须也是 Persistent 类的主键。
Before JPA 2.0, this semantic distinction was represented via corresponding class-level annotations in the persistent-class definition.
在JPA 2.0之前,这种语义区分是通过持久化类定义中的对应类级别注释来表示的。
应用推荐