Closed
Description
Problem
I'll do it again application.properties Is configured in spring.datasource.hikari.data-source-properties.v$session.program=myapp
, but the final property key is vsession.program
.
spring.datasource.hikari.data-source-properties
is a java.util.Properties, v$session.program
As a property key is completely legal, so I think it is a bug.
Finally, I use the following configuration to get the correct property key
spring.datasource.hikari.data-source-properties[v$session.program]=myapp
But only problem is that the spring boot language server prompts an error as follows
Can't use '[..]' navigation for property 'spring.datasource.hikari.data-source-properties' of type java.util.Properties
Environment
- Spring Boot: 2.2.8.RELEASE
- Oracle JDK: 1.8.0_192
- Eclipse: 2020-06 (4.16.0)
- Spring Boot Language Server: 4.7.2.202009020949