
mybatis
zziamalei
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot中使用mybatis自定义拦截器改变原有sql
项目中需要根据不同的配置,使用不同的表名,表的前缀不一样,故需要将sql中所有表名的前缀替换掉,故使用mybatis的拦截器来实现原创 2020-07-29 09:21:07 · 1236 阅读 · 0 评论 -
maven+mybatis+mysql+mybatis Generator简单学习
1、项目路径如下 2、pom配置如下 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.a原创 2015-04-11 11:16:44 · 587 阅读 · 0 评论 -
myBatis +mysql自动生成uuid主键
select replace(uuid(),'-','') from dual insert into tbl_function (pk_global_id, name, parent_id, sort, url) values (#{pkGlobalId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR原创 2015-05-09 22:58:27 · 21212 阅读 · 5 评论