Native hints for package private methods on custom @Repository
class
#29764
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
in: data
Issues in data modules (jdbc, orm, oxm, tx)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
When a custom class is annotated with
@Repository
annotation and Spring Data JPA is on the classpath (I believe it will happen with other spring data modules present too), package private methods from the annotated class (that get turned into proxy) are not visible inAdvisedSupport
:Sample class:
Calling
findByCardNumber
results in:Repo reproducing this issue made by @sivaprasadreddy https://github.com/siva-throwaway-work/spring-boot-native-issue
Current workaround:
public
@Repository
use@Component
annotation on the custom repository classI think it could be related to #29309 but after 2h of try & error with registering custom hints i give up
The text was updated successfully, but these errors were encountered: