diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper.java b/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper.java index 6a0c36158a..59c966003b 100644 --- a/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/bytecode/instrumentation/internal/FieldInterceptionHelper.java @@ -33,6 +33,9 @@ import org.hibernate.engine.spi.SessionImplementor; /** * Helper class for dealing with enhanced entity classes. * + * These operations are expensive. When under a SessionFactory, try and use (or guard with) + * {@link org.hibernate.service.instrumentation.spi.InstrumentationService#isInstrumented} + * * @author Steve Ebersole */ public class FieldInterceptionHelper {