HHH-15761 Change scope of methods in QuerySqmImpl

For Hibernate Reactive
This commit is contained in:
Davide D'Alto 2022-11-25 14:58:43 +00:00 committed by Davide D'Alto
parent c9df6af30a
commit 7e36605a75
1 changed files with 3 additions and 3 deletions

View File

@ -720,7 +720,7 @@ public class QuerySqmImpl<R>
}
}
private void verifyUpdate() {
protected void verifyUpdate() {
try {
SqmUtil.verifyIsNonSelectStatement( getSqmStatement(), hql );
}
@ -863,7 +863,7 @@ public class QuerySqmImpl<R>
}
}
private boolean hasIdentifierAssigned(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) {
protected boolean hasIdentifierAssigned(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) {
final EntityIdentifierMapping identifierMapping = entityDescriptor.getIdentifierMapping();
final String partName;
if ( identifierMapping instanceof SingleAttributeIdentifierMapping ) {
@ -886,7 +886,7 @@ public class QuerySqmImpl<R>
return false;
}
private boolean isSimpleValuesInsert(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) {
protected boolean isSimpleValuesInsert(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) {
// Simple means that we can translate the statement to a single plain insert
return sqmInsert instanceof SqmInsertValuesStatement
// An insert is only simple if no SqmMultiTableMutation strategy is available,