Skip to content

PersistenceExceptionTranslationPostProcessor causing info message #2210

@cemo

Description

@cemo

I have some info messages regarding BeanPostProcessors. One of them is Bean 'org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration' of type [class org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

I have checked that PersistenceExceptionTranslationAutoConfiguration is declared inside org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration as a bean. A possible solution is declaring it inside org.springframework.context.annotation.ImportBeanDefinitionRegistrar as org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.Registrar. Another solution might be declaring it static.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions