I have a syntax collision beetween kotlin and spring annotations:
@Value
(
"${jdbc.url}"
)
private
String jdbcUrl;
Is there a way of using this java annotation in kotlin escaping the ${jdbc.url} ?
Thanks,
I have a syntax collision beetween kotlin and spring annotations:
@Value
(
"${jdbc.url}"
)
private
String jdbcUrl;
A simple before the $ make it working:
Value(“${jdbc.url}”)
Should be taken in account during a Java to Kotlin transformation??
Please vote for https://youtrack.jetbrains.com/issue/KT-6800.
During the import off the initial forum to Discourse, some characters were lost. There should be a '':
@Value("\${jdbc.url}")