注释接口 ManyToManyView
@Documented
@Retention(RUNTIME)
@Target(allowedTargets=PROPERTY)
@Target(METHOD)
public @interface ManyToManyView
In general, developers should use
ManyToMany to map many-to-many associations,
and the corresponding middle table should only have two foreign key fields.
However, if developer want to add more business fields to the middle table,
ManyToMany is no longer applicable and this annotation is unique choice.-
必需元素概要
所需元素 -
可选元素概要
可选元素修饰符和类型可选元素说明The name of a many-to-one association property pointing from the middle entity to target entity