Add support for Transactional in native-image
This commit annotates @Transactional with @Reflective and registers proxy hints for SpringProxy. Injection of proxied beans via their interfaces still fails in native images with a "No qualifying bean of type MyInterface" error. See gh-28717
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
org.springframework.beans.factory.aot.BeanRegistrationAotProcessor=\
|
||||
org.springframework.aop.scope.ScopedProxyBeanRegistrationAotProcessor
|
||||
org.springframework.aot.hint.RuntimeHintsRegistrar=\
|
||||
org.springframework.aop.SpringProxyRuntimeHintsRegistrar
|
||||
Reference in New Issue
Block a user