HHH-8959 : Change values of type ValueHolder<Class> to JavaClassReference
This commit is contained in:
parent
79379d598e
commit
bd17dab1b0
|
@ -25,7 +25,6 @@ package org.hibernate.metamodel.spi.source;
|
|||
|
||||
import org.hibernate.id.EntityIdentifierNature;
|
||||
import org.hibernate.metamodel.spi.binding.IdentifierGeneratorDefinition;
|
||||
import org.hibernate.metamodel.spi.domain.JavaType;
|
||||
|
||||
/**
|
||||
* Contract describing source of identifier information for the entity.
|
||||
|
|
|
@ -65,7 +65,7 @@ public class CallbackProcessorImpl implements CallbackProcessor {
|
|||
if ( entityBinding.getHierarchyDetails().getEntityMode() != EntityMode.POJO ) {
|
||||
return;
|
||||
}
|
||||
final Class entityClass = entityBinding.getEntity().getClassReference();
|
||||
final Class entityClass = entityBinding.getEntity().getClassReference().getResolvedClass();
|
||||
for ( final Class annotationClass : CALLBACK_ANNOTATION_CLASSES ) {
|
||||
callbackRegistry.addEntityCallbacks(
|
||||
entityClass,
|
||||
|
|
Loading…
Reference in New Issue