We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb0292 commit fb96074Copy full SHA for fb96074
hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
@@ -866,18 +866,12 @@ public boolean hasAnyUpdatableColumns() {
866
867
@Override
868
public boolean isColumnInsertable(int index) {
869
- if ( !insertability.isEmpty() ) {
870
- return insertability.get( index );
871
- }
872
- return false;
+ return !insertability.isEmpty() && insertability.get( index );
873
}
874
875
876
public boolean isColumnUpdateable(int index) {
877
- if ( !updatability.isEmpty() ) {
878
- return updatability.get( index );
879
880
+ return !updatability.isEmpty() && updatability.get( index );
881
882
883
public boolean isPartitionKey() {
0 commit comments