JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@64a81dc9] will not be managed by Spring
时间: 2024-04-14 15:15:05 浏览: 175
As an AI language model, I cannot provide a specific solution without more information about the context and code implementation. However, generally speaking, this message means that the JDBC connection to a MySQL database is not being managed by Spring, which may cause issues with connection pooling and resource management. To fix this, you may need to configure your Spring application to manage the database connection using Spring's DataSource and JdbcTemplate classes. You can also try using a connection pool library such as HikariCP or Apache Commons DBCP to manage the connections. Additionally, you can check if the JDBC driver and database versions are compatible with your Spring version.
阅读全文