mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1738 - Refactor toArray() plus various
This commit is contained in:
@@ -189,7 +189,7 @@ public class AnnotationAssocOnes extends AnnotationParser {
|
||||
|
||||
private void checkForNoConstraint(DeployBeanPropertyAssocOne<?> prop, JoinColumn joinColumn) {
|
||||
ForeignKey foreignKey = joinColumn.foreignKey();
|
||||
if (foreignKey != null && foreignKey.value() == ConstraintMode.NO_CONSTRAINT) {
|
||||
if (foreignKey.value() == ConstraintMode.NO_CONSTRAINT) {
|
||||
prop.setForeignKey(new PropertyForeignKey());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user