程序包 org.babyfish.jimmer.sql
package org.babyfish.jimmer.sql
-
类说明Optional annotation to specify the column name for scalar properties.Configuration for many-to-one (or one-to-one) associations directly based on foreign keys.This annotation is only required by javaFor example,Optional annotation to specify the column name for foreign key properties, that means many-to-one or one-to-one property which is neither reversed (with `mappedBy`) nor based on middle table.Be different with
JoinTable, this annotation is used by UNSTRUCTURED many-to-many mappings.This annotation should typically be used withManyToMany, but it can also be used withManyToOneorOneToOne.Logical deleted flag.In general, developers should useManyToManyto map many-to-many associations, and the corresponding middle table should only have two foreign key fields.This annotation decorate many-to-one association.The annotation can only be used on reference association based on foreign key.Example-1: Transient property