Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to provide JDBC URL along with Username and password in Perssitence.xml in User-storage-jpa #519

Open
kuldeepsingh99 opened this issue Dec 7, 2023 · 0 comments

Comments

@kuldeepsingh99
Copy link

Describe the bug

This is in context with user-storage-jpa

Server Won't start if we don't provide these 3 details on persistence.xml
hibernate.connection.url
hibernate.connection.username
hibernate.connection.password

We have provided the connection, user, password detail in quarkus.properties, but still its mandatory in persistence.xml.

And expression like ${PASSWORD} does not work in persistence.xml. we have to provide the password in plain text.

Either server should start without specifying connection on persistence.xml and their is any way to pass environment variable or expression on persistence.xml

Version

22.0.0

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant