HHH-14464 Make two methods of AbstractEntityPersister protected
for the benefit of Hibernate Reeactive
This commit is contained in:
parent
db54fe44db
commit
578edbfd9f
|
@ -3897,7 +3897,7 @@ public abstract class AbstractEntityPersister
|
|||
|| entityMetamodel.getOptimisticLockStyle() == OptimisticLockStyle.ALL;
|
||||
}
|
||||
|
||||
private String[] generateSQLDeleteStrings(Object[] loadedState) {
|
||||
protected String[] generateSQLDeleteStrings(Object[] loadedState) {
|
||||
int span = getTableSpan();
|
||||
String[] deleteStrings = new String[span];
|
||||
for ( int j = span - 1; j >= 0; j-- ) {
|
||||
|
@ -5598,7 +5598,7 @@ public abstract class AbstractEntityPersister
|
|||
private Boolean naturalIdIsNonNullable;
|
||||
private String cachedPkByNonNullableNaturalIdQuery;
|
||||
|
||||
private String determinePkByNaturalIdQuery(boolean[] valueNullness) {
|
||||
protected String determinePkByNaturalIdQuery(boolean[] valueNullness) {
|
||||
if ( !hasNaturalIdentifier() ) {
|
||||
throw new HibernateException(
|
||||
"Attempt to build natural-id -> PK resolution query for entity that does not define natural id"
|
||||
|
|
Loading…
Reference in New Issue