You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a compatibility issue.
Before I was using Spring Boot v2.7.18, Spring v5.3.31 with mybatis-spring-boot-starter v3.0.1 and everything was perfect.
Due to policy, I had to upgrade to Spring Boot v3.2.3, Spring v6.1.4, which led to a problem with factoryBeanObjectType so I updated the starter to version 3.0.3 and here it comes my problem.
Even with the exact same configuration, ibatis can not find jdcb connection Message: null, cause: org.apache.ibatis.exceptions.PersistenceException: \r\n### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection\r\n### The error may exist in .../Mapper.java (best guess)\r\n### The error may involve ...Mapper.getAll\r\n### The error occurred while executing a query\r\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection
Did anyone have the same problem? Is there any solution for it?
I have standard database connection properties in application.properties
@MartinAlexanderKrul I guess you are referring to mybatis/spring#855 – for me mybatis-spring-3.0.3 solved the issue. Maybe you could further update to Spring Boot v3.2.5.
Hello there.
I have a compatibility issue.
Before I was using Spring Boot v2.7.18, Spring v5.3.31 with mybatis-spring-boot-starter v3.0.1 and everything was perfect.
Due to policy, I had to upgrade to Spring Boot v3.2.3, Spring v6.1.4, which led to a problem with factoryBeanObjectType so I updated the starter to version 3.0.3 and here it comes my problem.
Even with the exact same configuration, ibatis can not find jdcb connection
Message: null, cause: org.apache.ibatis.exceptions.PersistenceException: \r\n### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection\r\n### The error may exist in .../Mapper.java (best guess)\r\n### The error may involve ...Mapper.getAll\r\n### The error occurred while executing a query\r\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection
Did anyone have the same problem? Is there any solution for it?
I have standard database connection properties in application.properties
Thank you all for your time.
The text was updated successfully, but these errors were encountered: