method access changes for reactive overrides in AbstractEntityPersister

This commit is contained in:
Barry LaFond 2023-02-27 12:02:08 -06:00 committed by Christian Beikov
parent 08e1aae49f
commit 2177b32983
1 changed files with 2 additions and 2 deletions

View File

@ -4469,7 +4469,7 @@ public abstract class AbstractEntityPersister
return entityMetamodel.getNaturalIdentifierProperties();
}
private void verifyHasNaturalId() {
protected void verifyHasNaturalId() {
if ( ! hasNaturalIdentifier() ) {
throw new HibernateException( "Entity does not define a natural id : " + getEntityName() );
}
@ -4890,7 +4890,7 @@ public abstract class AbstractEntityPersister
}
}
private NaturalIdMapping generateNaturalIdMapping(MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) {
protected NaturalIdMapping generateNaturalIdMapping(MappingModelCreationProcess creationProcess, PersistentClass bootEntityDescriptor) {
//noinspection AssertWithSideEffects
assert bootEntityDescriptor.hasNaturalId();