You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For tests with @DataJpaTest HibernateQueryInterceptor is not registered automatically.
I can not load it somehow cause it is package visible only. Also I tried to add spring.jpa.properties.hibernate.session_factory.interceptor=com.yannbriancon.interceptor.HibernateQueryInterceptor, but without effect. The possible workaround is to copy-paste HibernatePropertiesConfig and add @import({HibernateQueryInterceptor.class, HibernatePropertiesConfig.class}) to test class
The text was updated successfully, but these errors were encountered:
For tests with @DataJpaTest HibernateQueryInterceptor is not registered automatically.
I can not load it somehow cause it is package visible only. Also I tried to add spring.jpa.properties.hibernate.session_factory.interceptor=com.yannbriancon.interceptor.HibernateQueryInterceptor, but without effect. The possible workaround is to copy-paste HibernatePropertiesConfig and add @import({HibernateQueryInterceptor.class, HibernatePropertiesConfig.class}) to test class
The text was updated successfully, but these errors were encountered: