HHH-15520 ValueGeneration on @OneToOne leads to boot error
This commit is contained in:
parent
e931a8062d
commit
8a886039ec
|
@ -317,10 +317,12 @@ public class PropertyBinder {
|
|||
property.setReturnedClassName( returnedClassName );
|
||||
|
||||
if ( this.property != null ) {
|
||||
if ( entityBinder != null ) {
|
||||
handleNaturalId( property );
|
||||
property.setValueGenerationStrategy( determineValueGenerationStrategy(this.property) );
|
||||
property.setValueGenerationStrategy( determineValueGenerationStrategy( this.property ) );
|
||||
}
|
||||
// HHH-4635 -- needed for dialect-specific property ordering
|
||||
property.setLob( this.property.isAnnotationPresent(Lob.class) );
|
||||
property.setLob( this.property.isAnnotationPresent( Lob.class ) );
|
||||
}
|
||||
|
||||
property.setInsertable( insertable );
|
||||
|
|
Loading…
Reference in New Issue