Commit 4e79bb1c authored by Andy Wilkinson's avatar Andy Wilkinson

Disable bean method proxying in SpringBootJdbcConfiguration

Closes gh-22231
parent 14f24dbe
/* /*
* Copyright 2012-2019 the original author or authors. * Copyright 2012-2020 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -61,7 +61,7 @@ public class JdbcRepositoriesAutoConfiguration { ...@@ -61,7 +61,7 @@ public class JdbcRepositoriesAutoConfiguration {
} }
@Configuration @Configuration(proxyBeanMethods = false)
@ConditionalOnMissingBean({ AbstractJdbcConfiguration.class, JdbcConfiguration.class }) @ConditionalOnMissingBean({ AbstractJdbcConfiguration.class, JdbcConfiguration.class })
static class SpringBootJdbcConfiguration extends AbstractJdbcConfiguration { static class SpringBootJdbcConfiguration extends AbstractJdbcConfiguration {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment