spring-data-mybatis icon indicating copy to clipboard operation
spring-data-mybatis copied to clipboard

Simplifies the development of creating a MyBatis-based data access layer.

Results 29 spring-data-mybatis issues
Sort by recently updated
recently updated
newest added
trafficstars

我像使用mybatis的批量插入、更新方式时,发现不能成功(如下),因为batchSqlSession.getMapper(mapperClass);获取不到,有什么方式能获取到或者其他方式实现类似这种的批量操作吗(不使用sql语句拼接)?随便问下新版本有计划什么时候发布吗? public int batchUpdateOrInsert(List data, Class mapperClass, BiFunction function) { int count = 1; SqlSession batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH); try { U mapper = batchSqlSession.getMapper(mapperClass); int size = data.size(); for (T...

readme文件中 英文版 ``` mybatis: mapper-locations: "classpath*:/mapper/**/**Mapper.xml" ``` 中文版 ``` spring.data.mybatis.mapper-locations=classpath*:/org/springframework/data/mybatis/samples/mappers/*Mapper.xml ```

`### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'books' at row 1 ### The error may exist in com/github/mybatis/interceptor/pojo/UserInfoDO6d8248f8-04b3-45a8-9f16-4c8c742c2211.precompile ### The error may involve defaultParameterMap ###...

请问啥时发布新版本

```java @Entity public class Person { @Id protected String ssn; protected String name; @ElementCollection protected Set nickNames = new HashSet(); // ... }

feature

Like: ```java @OrderBy("name DESC") @OneToMany private List roles; ```

feature

Like: ```java @Entity @Table @IdClass(ItemSiteId.class) public class ItemSite { @Id @ManyToOne private Item item; @Id @ManyToOne private Site site; public ItemSite() { } public ItemSite(Item item, Site site) { this.item...

feature

Dear @hatunet , We want to upgrade `spring-data-mybatis`. My current version is `1.0.17.RELEASE`. I use spring boot `1.5.9`. Is there a guide under redaction or should we read the code...

Hi @easybest , in https://github.com/easybest/spring-data-mybatis/issues/189#issuecomment-687632026 you offered to help migrate an existing app from v1 to v2 > To solve your problems more efficiently, you can share your project (part...

Hi, we've been trying to update our spring to 2.0.0. This is our first spring application, and every try to upgrade to spring 2.0.0 was a failure, while we did...

documentation