Override an application property to undefined/unset

You can fake removing spring.datasource.jndi-name from application.property by setting spring.datasource.jndi-name=false. This way @ConditionalOnProperty(prefix = "spring.datasource", name = "jndi-name") won’t enable autoconfiguration class. For details look at ConditionalOnProperty javadoc.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)