HHH-8959 : Change values of type ValueHolder<Class> to JavaClassReference

This commit is contained in:
Gail Badner 2014-02-12 02:15:06 -08:00
parent 79379d598e
commit bd17dab1b0
2 changed files with 1 additions and 2 deletions

View File

@ -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.

View File

@ -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,