mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 12:14:47 +00:00
HHH-6499 : NPE can be thrown by some implementations of Helper.ValueSourcesAdapter.isIncludedInInsertByDefault() and isIncludedInUpdateByDefault()
This commit is contained in:
parent
ab72eb05ec
commit
ca1c77d9f6
@ -92,12 +92,12 @@ public String getContainingTableName() {
|
||||
|
||||
@Override
|
||||
public boolean isIncludedInInsertByDefault() {
|
||||
return propertyElement.isInsert();
|
||||
return Helper.getBooleanValue( propertyElement.isInsert(), true );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIncludedInUpdateByDefault() {
|
||||
return propertyElement.isUpdate();
|
||||
return Helper.getBooleanValue( propertyElement.isUpdate(), true );
|
||||
}
|
||||
},
|
||||
bindingContext
|
||||
|
@ -77,7 +77,7 @@ public String getContainingTableName() {
|
||||
|
||||
@Override
|
||||
public boolean isIncludedInInsertByDefault() {
|
||||
return versionElement.isInsert();
|
||||
return Helper.getBooleanValue( versionElement.isInsert(), true );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user