spring-framework / org.springframework.orm.hibernate5 / HibernateTransactionManager / getEntityInterceptor

getEntityInterceptor

@Nullable open fun getEntityInterceptor(): Interceptor

Return the current Hibernate entity interceptor, or null if none. Resolves an entity interceptor bean name via the bean factory, if necessary.

Exceptions

IllegalStateException - if bean name specified but no bean factory set

BeansException - if bean name resolution via the bean factory failed

See Also
#setEntityInterceptor#setEntityInterceptorBeanName#setBeanFactory