'spring data extension for quarkus datasource name

I want to use the spring data repositories in my quarkus application with jpa. As long as I use the default datasource and no named persistence unit, I'm able to use the repositories. As soon as I start using named datasources and persistence units, I get an error:

The default datasource has not been properly configured.

I have no default datasource anymore, how can i tell quarkus to use my named datasource from my properties?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source