Quarkus datasource snippet is invalid #316
Labels
bug
Something isn't working
good first issue
Good for newcomers
properties
Features supported in application.properties
Milestone
Hi,
The current datasource snippet is invalid: https://github.com/redhat-developer/quarkus-ls/blob/master/microprofile.ls/com.redhat.microprofile.ls/src/main/resources/com/redhat/quarkus/snippets/quarkus-properties.json#L5 .
quarkus.datasource.url
should bequarkus.datasource.jdbc.url
. Note thejdbc
part. Right now you are using a mix of the new config and the old deprecated config.If I were you, I would move to something like the following for the snippet:
The first 3 are general and common to JDBC and reactive datasources. The last 3 are specific to JDBC. Having min size and max size is a good idea IMHO. Default values of 5 and 15 would probably be OK.
Also I think I would remove the Hibernate ORM property from the snippet as it has nothing to do here and will lead to an unknown property warning if the user doesn't have the Hibernate ORM extension. Better add a specific Hibernate ORM snippet.
The text was updated successfully, but these errors were encountered: