Annotation Type ToOne
-
@Retention(SOURCE) @Target(FIELD) public @interface ToOneDefines *-to-1 relation with base on existing property as foreign key or with base on automatically created backing column In case foreignKey is not specified, the following annotations can be applied together with @ToOne: -Propertyto specify backing column name -Uniqueto put the unique constraint on backing column during table creation -NotNullto put the NOT NULL constraint on backing column during table creation
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringjoinPropertyName of the property inside the current entity which holds the key of related entity.
-