@ -332,7 +332,7 @@ public class LocalSessionFactoryBuilder extends Configuration {
}
catch (Throwable ex) {
throw new MappingException("Failed to read candidate component class: " + resource, ex);
throw new MappingException("Failed to read candidate entity class: " + resource, ex);
@ -161,7 +161,7 @@ public final class PersistenceManagedTypesScanner {
throw new PersistenceException("Failed to read candidate component class: " + resource, ex);
throw new PersistenceException("Failed to read candidate entity class: " + resource, ex);