HHH-15520 ValueGeneration on @OneToOne leads to boot error
This commit is contained in:
parent
0720631d2e
commit
9bd8a9518c
|
@ -273,7 +273,9 @@ public class PropertyBinder {
|
|||
prop.setPropertyAccessorName( accessType.getType() );
|
||||
|
||||
if ( property != null ) {
|
||||
prop.setValueGenerationStrategy( determineValueGenerationStrategy( property ) );
|
||||
if ( entityBinder != null ) {
|
||||
prop.setValueGenerationStrategy( determineValueGenerationStrategy( property ) );
|
||||
}
|
||||
|
||||
if ( property.isAnnotationPresent( AttributeAccessor.class ) ) {
|
||||
final AttributeAccessor accessor = property.getAnnotation( AttributeAccessor.class );
|
||||
|
|
Loading…
Reference in New Issue