HHH-12605 Boxed variables never null
https://hibernate.atlassian.net/browse/HHH-12605
This commit is contained in:
parent
e88b5d37d1
commit
3489f75e1d
|
@ -498,7 +498,7 @@ public class Ejb3JoinColumn extends Ejb3Column {
|
|||
boolean mappedBySide = mappedByTableName != null || mappedByPropertyName != null;
|
||||
boolean ownerSide = getPropertyName() != null;
|
||||
|
||||
Boolean isRefColumnQuoted = StringHelper.isQuoted( logicalReferencedColumn );
|
||||
boolean isRefColumnQuoted = StringHelper.isQuoted( logicalReferencedColumn );
|
||||
final String unquotedLogicalReferenceColumn = isRefColumnQuoted
|
||||
? StringHelper.unquote( logicalReferencedColumn )
|
||||
: logicalReferencedColumn;
|
||||
|
|
|
@ -543,7 +543,7 @@ public class QueryTranslatorImpl extends BasicLoader implements FilterTranslator
|
|||
superQuery.addNamedParameter( name );
|
||||
}
|
||||
|
||||
final Integer loc = parameterCount++;
|
||||
final int loc = parameterCount++;
|
||||
|
||||
final NamedParameterInformationImpl info = namedParameters.computeIfAbsent(
|
||||
name,
|
||||
|
@ -571,12 +571,12 @@ public class QueryTranslatorImpl extends BasicLoader implements FilterTranslator
|
|||
throw new QueryException( "Cannot mix legacy and labeled positional parameters" );
|
||||
}
|
||||
|
||||
final Integer label = legacyPositionalParameterCount++;
|
||||
final int label = legacyPositionalParameterCount++;
|
||||
final PositionalParameterInformationImpl paramInfo = new PositionalParameterInformationImpl( label );
|
||||
ordinalParameters.put( label, paramInfo );
|
||||
paramValueBinders.add( paramInfo );
|
||||
|
||||
final Integer loc = parameterCount++;
|
||||
final int loc = parameterCount++;
|
||||
paramInfo.addSourceLocation( loc );
|
||||
|
||||
}
|
||||
|
@ -593,7 +593,7 @@ public class QueryTranslatorImpl extends BasicLoader implements FilterTranslator
|
|||
throw new QueryException( "Cannot mix legacy and labeled positional parameters" );
|
||||
}
|
||||
|
||||
final Integer loc = parameterCount++;
|
||||
final int loc = parameterCount++;
|
||||
|
||||
final PositionalParameterInformationImpl info = ordinalParameters.computeIfAbsent(
|
||||
label,
|
||||
|
|
Loading…
Reference in New Issue