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 {
|
try {
|
||||||
SqmUtil.verifyIsNonSelectStatement( getSqmStatement(), hql );
|
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 EntityIdentifierMapping identifierMapping = entityDescriptor.getIdentifierMapping();
|
||||||
final String partName;
|
final String partName;
|
||||||
if ( identifierMapping instanceof SingleAttributeIdentifierMapping ) {
|
if ( identifierMapping instanceof SingleAttributeIdentifierMapping ) {
|
||||||
|
@ -886,7 +886,7 @@ public class QuerySqmImpl<R>
|
||||||
return false;
|
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
|
// Simple means that we can translate the statement to a single plain insert
|
||||||
return sqmInsert instanceof SqmInsertValuesStatement
|
return sqmInsert instanceof SqmInsertValuesStatement
|
||||||
// An insert is only simple if no SqmMultiTableMutation strategy is available,
|
// An insert is only simple if no SqmMultiTableMutation strategy is available,
|
||||||
|
|
Loading…
Reference in New Issue