org.apache.ibatis.annotations.Options#tk.mybatis.mapper.provider.SpecialProvider源码实例Demo

下面列出了org.apache.ibatis.annotations.Options#tk.mybatis.mapper.provider.SpecialProvider 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: jvue-admin   文件: BaseMapper.java
@Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id")
@InsertProvider(type = SpecialProvider.class, method = "dynamicSQL")
int insertList(List<T> recordList);
 
源代码2 项目: tk-mybatis   文件: InsertUseGeneratedKeysMapper.java
/**
 * 插入数据,限制为实体包含`id`属性并且必须为自增列,实体配置的主键策略无效
 *
 * @param record
 * @return
 */
@Options(useGeneratedKeys = true, keyProperty = "id")
@InsertProvider(type = SpecialProvider.class, method = "dynamicSQL")
int insertUseGeneratedKeys(T record);
 
源代码3 项目: tk-mybatis   文件: InsertListMapper.java
/**
 * 批量插入,支持批量插入的数据库可以使用,例如MySQL,H2等,另外该接口限制实体包含`id`属性并且必须为自增列
 *
 * @param recordList
 * @return
 */
@Options(useGeneratedKeys = true, keyProperty = "id")
@InsertProvider(type = SpecialProvider.class, method = "dynamicSQL")
int insertList(List<T> recordList);
 
源代码4 项目: Mapper   文件: InsertUseGeneratedKeysMapper.java
/**
 * 插入数据,限制为实体包含`id`属性并且必须为自增列,实体配置的主键策略无效
 *
 * @param record
 * @return
 */
@Options(useGeneratedKeys = true)
@InsertProvider(type = SpecialProvider.class, method = "dynamicSQL")
int insertUseGeneratedKeys(T record);
 
源代码5 项目: Mapper   文件: InsertListMapper.java
/**
 * 批量插入,支持批量插入的数据库可以使用,例如MySQL,H2等,另外该接口限制实体包含`id`属性并且必须为自增列
 *
 * @param recordList
 * @return
 */
@Options(useGeneratedKeys = true)
@InsertProvider(type = SpecialProvider.class, method = "dynamicSQL")
int insertList(List<? extends T> recordList);