HHH-16108 NullPointerException when flushing a (simple) entity update for models with bytecode enhancement and multiple one-to-one associations (some lazy)
This commit is contained in:
parent
6bc1b24443
commit
6ebafc1cae
|
@ -662,7 +662,7 @@ public class UpdateCoordinatorStandard extends AbstractMutationCoordinator imple
|
|||
}
|
||||
|
||||
private void processSet(UpdateValuesAnalysisImpl analysis, SelectableMapping selectable) {
|
||||
if ( !selectable.isFormula() && selectable.isUpdateable() ) {
|
||||
if ( selectable != null && !selectable.isFormula() && selectable.isUpdateable() ) {
|
||||
final EntityTableMapping tableMapping = entityPersister().getPhysicalTableMappingForMutation( selectable );
|
||||
analysis.registerColumnSet( tableMapping, selectable.getSelectionExpression(), selectable.getWriteExpression() );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue