HHH-15761 Change scope of methods in QuerySqmImpl
For Hibernate Reactive
This commit is contained in:
parent
c9df6af30a
commit
7e36605a75
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue