spring
spring copied to clipboard
Spring integration for MyBatis 3
```java // assume I inserted a row with 2 columns(id = 1, value = 10); mapper.insert(1, 10); // Obviously, the result is 10; int value = mapper.selectValueById(1); // Then create...
fixes: #792 Added Exception Description & Cause for setMapperLocations() method in SqlSessionFactoryBean along with JUnits for it.
 I saw the setMapperLocations method comment in the SqlSessionFactoryBean class and set up Resource using wildcard, but the following exception occurred: `java.io.IOException: Failed to parse mapping resource: 'class path...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [maven-wrapper](https://maven.apache.org/) | `3.3.1` -> `3.3.2` | [](https://docs.renovatebot.com/merge-confidence/)...
I recently upgrade my spring boot project to 3.2.3 from 3.1.4. After upgrading, when I run in aot mode, it fails with error ```java org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'clientConfigMapper' for...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-autoconfigure](https://spring.io/projects/spring-boot) ([source](https://redirect.github.com/spring-projects/spring-boot)) | `3.3.4` -> `3.3.5` | [](https://docs.renovatebot.com/merge-confidence/) |...
We start investigation for supporting Spring Framework 6.2 and Spring Bath 5.2. - [ ] Need to change as using the `TaskExecutorJobLauncher` instead of the `SimpleJobLauncher` in test resource because...
``` private void openConnection() throws SQLException { this.connection = DataSourceUtils.getConnection(this.dataSource); this.autoCommit = this.connection.getAutoCommit(); this.isConnectionTransactional = DataSourceUtils.isConnectionTransactional(this.connection, this.dataSource); LOGGER.debug(() -> "JDBC Connection [" + this.connection + "] will" + (this.isConnectionTransactional ?...
I found ClassPathMapperScanner may scan annotations in the package path as CandidateComponent, but CandidateComponent should not include annotation type.(Am I right?) File: src/main/java/org/mybatis/spring/mapper/ClassPathMapperScanner.java. Method `isCandidateComponent `of `ClassPathMapperScanner `should exclude annotation...