quarkus-security-jpa:3.5.2
when config multi datasources
#37277
Labels
quarkus-security-jpa:3.5.2
when config multi datasources
#37277
Describe the bug
quarkus-security-jpa:3.5.2
can't determine which datasource to use when config multi datasourcesExpected behavior
ways resolve:
@UserDefinition
, like@UserDefinition(ds = "his")
,then
JpaTrustedIdentityProvider.java
andJpaIdentityProvider.java
inquarkus-security-jpa
use the@UserDefinition
attribute indicatesquarkus.hibernate-orm.his.packages = com.acme.application.module.his
com.acme.application.module.his.entity.User.java
under packagecom.acme.application.module.his
use current datasourceActual behavior
When i run my application , then error shows:
How to Reproduce?
quarkus-security-jpa
, the User.javaJpaTrustedIdentityProvider.java
andJpaIdentityProvider.java
inquarkus-security-jpa:3.5.2
just inject:The text was updated successfully, but these errors were encountered: