Skip to content

HibernateJpaAutoConfiguration does not back off despite LocalContainerEntityManagerFactory beans being declared manually #5542

Open
@odrotbohm

Description

@odrotbohm

If you remove the manual exclusion for the HibernateJpaAutoConfiguration here the application bootstrap will blow up trying to apply the auto configuration and failing to wire the unique DataSource expected to be present. I wonder why the configuration is getting applied in the first place, as I would've expected the manual declarations of LocalContainerEntityManagerFactoryBeans here and here to disable the auto-configuration in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions