HHH-11591 - Nullable check should not be skipped for OneToOne annotated with @NotFound(action = NotFoundAction.IGNORE)
This commit is contained in:
parent
7a10764d2b
commit
1ce9e24b26
|
@ -103,9 +103,6 @@ public class OneToOneSecondPass implements SecondPass {
|
||||||
binder.setCascade( cascadeStrategy );
|
binder.setCascade( cascadeStrategy );
|
||||||
binder.setAccessType( inferredData.getDefaultAccess() );
|
binder.setAccessType( inferredData.getDefaultAccess() );
|
||||||
Property prop = binder.makeProperty();
|
Property prop = binder.makeProperty();
|
||||||
if ( ignoreNotFound ) {
|
|
||||||
prop.setOptional( true );
|
|
||||||
}
|
|
||||||
if ( BinderHelper.isEmptyAnnotationValue( mappedBy ) ) {
|
if ( BinderHelper.isEmptyAnnotationValue( mappedBy ) ) {
|
||||||
/*
|
/*
|
||||||
* we need to check if the columns are in the right order
|
* we need to check if the columns are in the right order
|
||||||
|
|
Loading…
Reference in New Issue