Add missing type condition on JdbcTemplateAutoConfiguration

Closes gh-6499
pull/6534/head
Stephane Nicoll 8 years ago
parent d62827373d
commit 3f14bdc01d

@ -41,7 +41,7 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
* @since 1.4.0
*/
@Configuration
@ConditionalOnClass(DataSource.class)
@ConditionalOnClass({ DataSource.class, JdbcTemplate.class })
@ConditionalOnSingleCandidate(DataSource.class)
@AutoConfigureAfter(DataSourceAutoConfiguration.class)
public class JdbcTemplateAutoConfiguration {

Loading…
Cancel
Save