mysql唯一主键生成代码
2024-09-26 22:59:00
<insert id="insertPeople" parameterType="PeopleSchedule">
<selectKey resultType="String" keyProperty="id" order="BEFORE">
select replace(uuid(), '-', '') from dual
</selectKey>
insert into t_notebook_people (id,notebookId,userId) values (#{id},#{notebookId},#{userId})
</insert>
select replace(uuid(), '-', '') from dual
最新文章
- 11. KVC And KVO
- 换行(\r)和回车(\n)
- 换个角度理解云计算之MapReduce
- textarea还剩余字数统计
- 关于TCP协议握手的那些事儿
- [liu yanling]黑盒测试用例设计方法
- BZOJ 1021 [SHOI2008]Debt 循环的债务
- 获取ActiveX控件本身所在的路径 和 error PRJ0050
- u-boot核心初始化
- 【Bootstrap】 bootstrap-table表格组件
- 【NowCoder368E】车站(线段树)
- [vscode] pylint在虚拟环境下错误告警问题
- GAN 教程记录
- 知识点:Java 内存模型完全解密
- 制作Visual Studio 2019 (VS 2019) 离线安装包
- PAT 乙级 1014 福尔摩斯的约会 (20) C++版
- python advanced programming (Ⅲ)
- linux rsync介绍(八)
- butterknife用法总结
- Glusterfs3.3.1DHT(hash分布)源代码分析