CINXE.COM
mybatis - 标签 - 腾讯云开发者社区-腾讯云
<!DOCTYPE html><html munual-autotracker-init="" qct-pv-id="_bSCo_SJ6CZkKBRNzmI4S" qct-ip="8.222.208.146"><head><meta charSet="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><title>mybatis - 标签 - 腾讯云开发者社区-腾讯云</title><meta name="keywords" content="mybatis,云+社区标签"/><meta name="subjectTime" content="2018-09-06 18:31:33"/><meta name="description" content="MyBatis是一个Java持久化框架,它通过XML描述符或注解把对象与存储过程或SQL语句关联起来。"/><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover"/><meta name="format-detection" content="telephone=no"/><link rel="canonical" href="https://cloud.tencent.com/developer/tag/10700"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/gateway/portal/css/global-20209142343.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/cloud-community/build/base/base-202410111735.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/AskDialog/AskDialog-202204021635.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/AskDialog/AskDialog-202204021635.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/community-pc/build/base/base-202412201223.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/cloud-community/build/base/base-202410111735.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/Tag/Tag-202105140928.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community/portal/css/markdown-201810241044.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/draft-master/dist/draft-master-v2.0.165.d4s2ddo9sb.css?max_age=31536000"/><style media="screen">@supports (padding:max(0px)){.set-safe-area .com-main{bottom:calc(max(12px,constant(safe-area-inset-bottom)) + 50px);bottom:calc(max(12px,env(safe-area-inset-bottom)) + 50px)}.set-safe-area .com-main-simple-sec,.set-safe-area .com-main.without-tab-ft,.set-safe-area .com-main.without-ft{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-main-sec{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-m-footer,.set-safe-area .sa-fixed-btns{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-mobile-body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}}@supports (padding:max(0px)){.set-safe-area .support-wrap,.set-safe-area div.body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-responsive-no-ft div.body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}}.doc-con .J-docShareModal{display: none;} .doc-con .J-docShareCopyTipModalMB{display: none} .with-focus+.com-main-simple-sec, .with-focus+.com-main,.with-focus+.com-body,.with-focus+.qa-body{top:100px} .qa-detail-ask-panel:after{display:none!important;} .sa-fixed-btns .c-btn-weak{background-color: #fff;} .qa-r-editor.draft-editor-host.rno-markdown{height: 290px;overflow-y:auto;} .uc-achievement{line-height:24px;margin-bottom:5px;white-space: initial;overflow:visible;text-overflow:initial} .uc-achievement .uc-achievement-icon{top:0;margin-top:0;}</style></head><body style="position:initial"><div id="react-root" class=""><div class="comp-tag-detail"><div class="cdc-header is-fixed"><div class="cdc-header__placeholder"></div><div class="cdc-header__inner"><div class="cdc-header__top"><div class="cdc-header__top-left"><a href="/?from=20060&from_column=20060" target="_blank" class="cdc-header__top-logo"><i>腾讯云</i></a><div class="cdc-header__top-line"></div><a href="/developer" class="cdc-header__top-logo community"><i>开发者社区</i></a><div class="cdc-header__activity"><div id="cloud-header-product-container"></div></div></div><div class="cdc-header__top-operates"><a href="/document/product?from=20702&from_column=20702" target="_blank" class="cdc-header__link">文档</a><a href="/voc/?from=20703&from_column=20703" target="_blank" class="cdc-header__link">建议反馈</a><a href="https://console.cloud.tencent.com?from=20063&from_column=20063" target="_blank" class="cdc-header__link" track-click="{"areaId":102001,"subAreaId":1}">控制台</a><div class="cdc-header__account"><div class="cdc-header__account-inner"><button class="cdc-btn cdc-header__account-btn cdc-btn--primary">登录/注册</button></div></div></div></div><div class="cdc-header__bottom"><div class="cdc-header__bottom-nav"><a href="/developer" class="cdc-header__bottom-home">首页</a><div class="cdc-header__nav-list"><div class="cdc-header__nav-item">学习</div><div class="cdc-header__nav-item">活动</div><div class="cdc-header__nav-item">专区</div><div class="cdc-header__nav-item">工具</div></div><a href="/tvp?from=20154&from_column=20154" class="cdc-header__tvp" target="_blank">TVP</a><div class="cdc-header__activity"><a class="cdc-header__activity-tit" href="/act?from=20061&from_column=20061" target="_blank">最新优惠活动<div class="cdc-badge"><div class="cdc-badge-inner"><div class="cdc-badge-text"></div></div></div></a></div><div id="community-header-product-container"></div></div><div class="cdc-header__bottom-operates"><div class="cdc-header__search"><div class="cdc-search__wrap"><div class="cdc-search"><span class="cdc-search__text">文章/答案/技术大牛</span><button class="cdc-search__btn">搜索<i class="cdc-search__i search"></i></button></div><div class="cdc-search__dropdown"><div class="cdc-search__bar"><input type="text" class="cdc-search__bar-input" placeholder="文章/答案/技术大牛" value=""/><div class="cdc-search__bar-btns"><button class="cdc-search__btn">搜索<i class="cdc-search__i search"></i></button><button class="cdc-search__btn">关闭<i class="cdc-search__i clear"></i></button></div></div></div></div></div><div class="cdc-header__create"><span class="cdc-header__create-btn not-logged"><span class="cdc-svg-icon-con"><span class="cdc-svg-icon" style="line-height:1;color:#0052D9;width:16px;height:16px"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentcolor" xmlns="http://www.w3.org/2000/svg"><path d="M14.2466 12.0145C14.1698 13.6258 12.8381 14.9131 11.2129 14.9131H11.1579H4.0927H4.03772C2.4125 14.9131 1.08014 13.6258 1.00334 12.0145H1V11.8668V4.07213V4.04627V3.89922H1.00334C1.08014 2.28732 2.4125 1 4.03772 1H9.6473V1.00069H10.0786L8.7688 2.10773H8.43888H7.7916H6.37904H4.03772C2.97234 2.10773 2.10445 2.9777 2.10445 4.04629V4.41869V4.4472V6.39498V11.4269V11.4309V11.8668C2.10445 12.9354 2.97234 13.8053 4.03772 13.8053H6.37904H8.87153H11.2129C12.2782 13.8053 13.1461 12.9355 13.1461 11.8668V11.466V11.454V9.5181V6.39364L14.2506 5.3051V11.8668V12.0145H14.2466ZM10.4324 7.15226L9.63146 7.99761C9.36577 8.2693 8.69326 8.95104 8.48066 9.17631C8.26726 9.40288 8.09039 9.58901 7.95061 9.73544C7.81079 9.88188 7.72667 9.96597 7.70083 9.98656C7.63321 10.0488 7.55703 10.1144 7.47022 10.1846C7.38412 10.2542 7.29404 10.3099 7.20063 10.3516C7.10722 10.4007 6.97072 10.459 6.79049 10.5305C6.61028 10.6001 6.42213 10.6676 6.22468 10.7339C6.02792 10.8002 5.84109 10.8571 5.66484 10.9061C5.48795 10.9538 5.3561 10.9863 5.2693 11.0009C5.08977 11.0214 4.96988 10.993 4.90956 10.9168C4.84931 10.8405 4.83276 10.7107 4.85924 10.5312C4.87315 10.4331 4.9043 10.292 4.95468 10.1078C5.00431 9.92297 5.05802 9.7315 5.11431 9.53341C5.1713 9.33526 5.22629 9.15179 5.27926 8.98484C5.33297 8.8179 5.37599 8.7026 5.40978 8.64032C5.44953 8.54357 5.49463 8.45413 5.54495 8.37399C5.59465 8.29379 5.66616 8.20503 5.75965 8.10766C5.79934 8.06588 5.89281 7.96649 6.03988 7.81018C6.18624 7.65311 6.80114 7.02774 7.02104 6.79783L7.75117 6.03524L8.56212 5.1899L10.6345 3.02466L12.5214 4.93874L10.4324 7.15226ZM13.816 3.58581C13.7166 3.68987 13.6272 3.78064 13.5483 3.85883C13.4694 3.93703 13.4006 4.0066 13.3423 4.06686C13.276 4.13643 13.2144 4.19738 13.1561 4.24903L11.2785 2.33569C11.3785 2.24025 11.4965 2.12565 11.6336 1.99115C11.7707 1.85668 11.8854 1.75061 11.9761 1.67242C12.0934 1.57708 12.2133 1.51013 12.3385 1.47109C12.4525 1.43529 12.5644 1.41805 12.6751 1.41876H12.7056C12.7665 1.42139 12.8268 1.42729 12.8851 1.43724C12.8838 1.4366 12.8811 1.43724 12.8798 1.4366C12.8811 1.4366 12.8838 1.4366 12.8851 1.43724C13.1376 1.48428 13.4019 1.62009 13.6265 1.83743C13.7511 1.95871 13.8524 2.09382 13.9259 2.23296C14.0346 2.43834 14.0863 2.65304 14.0763 2.8491C14.0763 2.87294 14.0783 2.89748 14.0783 2.92201C14.0783 3.03529 14.0571 3.14789 14.0154 3.26055C13.9737 3.37314 13.9067 3.48185 13.816 3.58581Z" fill="#0052D9"></path></svg></span></span>发布<span class="cdc-svg-icon-con cdc-header__create-btn-arrow"><span class="cdc-svg-icon" style="line-height:1;color:inherit;width:16px;height:16px"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentcolor" xmlns="http://www.w3.org/2000/svg"><path d="M8.16377 4L9.57798 5.41421L14.5277 10.364L13.1135 11.7782L8.1638 6.829L3.21402 11.7782L1.7998 10.364L8.16377 4Z"></path></svg></span></span></span></div></div></div></div></div><div class="cdc-m-header with-focus is-fixed"><div class="cdc-m-header__placeholder"></div><div class="cdc-m-header__inner"><div class="cdc-m-guider-banner is-sticky"><div class="cdc-m-guider-banner__guide-mvp" track-exposure="{"areaId":118000}" track-click="{"areaId":118000}"><div class="cdc-m-guider-banner__guide-mvp-text">精选内容/技术社群/优惠产品,<em>尽在小程序</em></div><div class="cdc-m-guider-banner__guide-mvp-btn">立即前往</div></div></div><div class="cdc-m-header__main"><div class="cdc-m-header__trigger"></div><div class="cdc-m-header__logo"><i class="cdc-m-header__logo-icon"></i></div><div class="cdc-m-header__search"><i class="cdc-m-header__search-icon"></i></div><div class="cdc-m-header__operate"><span class="cdc-m-header__operate-icon"></span></div></div></div></div><div class="J-body com-body max-width"><div class="com-crumb"><div class="com-inner"><a href="/developer" class="crumb-item">首页</a><span class="crumb-split"></span><a href="/developer/tags" class="crumb-item">标签</a><span class="crumb-split"></span><span class="crumb-item current">mybatis</span></div></div><div track-click="{"areaId":{"areaId":113006}}" track-exposure="{"areaId":{"areaId":113006}}" class="com-tag-intro"><i class="intro-bg"></i><h2 class="intro-title"><em>#</em>mybatis</h2><p class="intro-desc">MyBatis是一个Java持久化框架,它通过XML描述符或注解把对象与存储过程或SQL语句关联起来。</p><div class="intro-btns"><button type="button" class="c-btn" track-click="{"elementId":1}">关注</button></div></div><div class="com-2-layout"><div class="layout-main"><div class="com-tab large tag-tab"><div class="com-tab-hd large"><ul class="com-tab-ctrl"><li class="com-tab-item actived"><a href="javascript:;">专栏文章<span class="num">(4.6K)</span></a></li><li class="com-tab-item"><a href="/developer/tag/10700?entry=video">技术视频<span class="num">(66)</span></a></li><li class="com-tab-item"><a href="/developer/tag/10700?entry=ask">互动问答<span class="num">(192)</span></a></li></ul></div><div class="com-tab-bd"><div class="com-tab-panel" style="min-height:800px"><div class="com-article-panel-v2-list"><section class="com-article-panel-v2 higher"><a href="/developer/article/2499426" track-click="{"areaId":113001,"objectType":"article","objectId":2499426}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499426}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">JavaEE进阶--mybatis使用&&测试&&日志&&参数传递&&浏览器访问</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17596?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17596}" class="com-tag-v2">注解</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17205?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17205}" class="com-tag-v2">测试</a><a href="/developer/tag/17365?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17365}" class="com-tag-v2">浏览器</a><a href="/developer/tag/17413?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17413}" class="com-tag-v2">日志</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/88c8cef8e689a7b0a47fc6ccd9970d23.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="author-info name">阑梦清川</a><span class="author-info time"><time dateTime="2025-02-24 22:46:47" title="2025-02-24 22:46:47"> <span>1</span>天前<span class="com-v-box">2025-02-24 22:46:47</span></time></span></div></div></div><p class="com-article-panel-v2-des">之前的学习过这个mybatis相关的这个入门的知识,但是又太久没有使用了,所以今天又重新熟悉了一下,这个项目的创建就是选择的这个springboot下面的这个m...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>37</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499426.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2499401" track-click="{"areaId":113001,"objectType":"article","objectId":2499401}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499401}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">JavaEE进阶-----mybatis操作数据库(新手教程)</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17325?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17325}" class="com-tag-v2">教程</a><a href="/developer/tag/17329?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17329}" class="com-tag-v2">接口</a><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17215?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17215}" class="com-tag-v2">程序</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-11163219/a6dd2628ce6fd89b8e80d1dde2e554ff.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="author-info name">阑梦清川</a><span class="author-info time"><time dateTime="2025-02-24 22:22:52" title="2025-02-24 22:22:52"> <span>1</span>天前<span class="com-v-box">2025-02-24 22:22:52</span></time></span></div></div></div><p class="com-article-panel-v2-des">而且这个springboot的版本也是有限制的,不可以是过高的版本呢,否则这个mybatis frameword=k是无法进行使用的,因此我把这个spring的...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>42</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499401.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2499358" track-click="{"areaId":113001,"objectType":"article","objectId":2499358}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499358}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Oracle数据库mybatis 插入空值时报错(with JdbcType OTHER)的两种解决方案</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17328?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17328}" class="com-tag-v2">解决方案</a><a href="/developer/tag/17440?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17440}" class="com-tag-v2">数据</a><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a><a href="/developer/tag/10247?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10247}" class="com-tag-v2">oracle</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="author-info name">samRsa</a><span class="author-info time"><time dateTime="2025-02-24 21:14:48" title="2025-02-24 21:14:48"> <span>1</span>天前<span class="com-v-box">2025-02-24 21:14:48</span></time></span></div></div></div><p class="com-article-panel-v2-des">利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常;</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>50</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499358.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2499350" track-click="{"areaId":113001,"objectType":"article","objectId":2499350}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499350}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Mybatis的SQL注入问题学习</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17369?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17369}" class="com-tag-v2">漏洞</a><a href="/developer/tag/10253?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10253}" class="com-tag-v2">sql</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17190?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17190}" class="com-tag-v2">编译</a><a href="/developer/tag/17353?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17353}" class="com-tag-v2">框架</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="author-info name">samRsa</a><span class="author-info time"><time dateTime="2025-02-24 21:02:06" title="2025-02-24 21:02:06"> <span>1</span>天前<span class="com-v-box">2025-02-24 21:02:06</span></time></span></div></div></div><p class="com-article-panel-v2-des">这种场景应当在Java层面做映射,设置一个字段/表名数组,仅允许用户传入索引值。这样保证传入的字段或者表名都在白名单里面。需要注意的是在mybatis-gene...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>18</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499350.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2499343" track-click="{"areaId":113001,"objectType":"article","objectId":2499343}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499343}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">mybatis中的#{}和${}的区别</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17188?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17188}" class="com-tag-v2">变量</a><a href="/developer/tag/17190?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17190}" class="com-tag-v2">编译</a><a href="/developer/tag/17329?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17329}" class="com-tag-v2">接口</a><a href="/developer/tag/17596?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17596}" class="com-tag-v2">注解</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/b56310cc068d73d35ccdfe1bef3aef5b.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/5704552" track-click="{"objectType":"user","objectId":5704552}" target="_blank" class="author-info name">samRsa</a><span class="author-info time"><time dateTime="2025-02-24 20:55:35" title="2025-02-24 20:55:35"> <span>1</span>天前<span class="com-v-box">2025-02-24 20:55:35</span></time></span></div></div></div><p class="com-article-panel-v2-des"> #{}占位符 SQL预编译 动态拼接-》预编译-》执行 变量替换是在DBMS中 对应的变量自动加上单引号 能防止SQl注入 </p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>29</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499343.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2499130" track-click="{"areaId":113001,"objectType":"article","objectId":2499130}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2499130}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">用户中心项目教程(五)---MyBatis-Plus完成后端初始化+测试方法</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17205?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17205}" class="com-tag-v2">测试</a><a href="/developer/tag/17294?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17294}" class="com-tag-v2">后端</a><a href="/developer/tag/17325?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17325}" class="com-tag-v2">教程</a><a href="/developer/tag/17440?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17440}" class="com-tag-v2">数据</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/a567c95ad025edc1b4db7e5dd864ed77.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11163219" track-click="{"objectType":"user","objectId":11163219}" target="_blank" class="author-info name">阑梦清川</a><span class="author-info time"><time dateTime="2025-02-24 14:23:11" title="2025-02-24 14:23:11"> <span>1</span>天前<span class="com-v-box">2025-02-24 14:23:11</span></time></span></div></div></div><p class="com-article-panel-v2-des">Mapper这个包里面就是我们相关的这个CRUD的操作,我之前学习的都是mybatis,这个使用的就是我们自己去写这个CRUD相关的语句,但是在这个plus版本...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>37</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2499130.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2496883" track-click="{"areaId":113001,"objectType":"article","objectId":2496883}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2496883}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">十一、MyBatis的逆向工程</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/14822?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":14822}" class="com-tag-v2">mybatis-plus</a><a href="/developer/tag/17387?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17387}" class="com-tag-v2">逆向工程</a><a href="/developer/tag/10164?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10164}" class="com-tag-v2">java</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7004904" track-click="{"objectType":"user","objectId":7004904}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7004904" track-click="{"objectType":"user","objectId":7004904}" target="_blank" class="author-info name">刘大猫</a><span class="author-info time"><time dateTime="2025-02-16 21:35:44" title="2025-02-16 21:35:44"> <span>9</span>天前<span class="com-v-box">2025-02-16 21:35:44</span></time></span></div></div></div><p class="com-article-panel-v2-des">正向工程:先创建Java实体类,由框架负责根据实体类生成数据库表。Hibernate是支持正向工程</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>72</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2496883.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2496043" track-click="{"areaId":113001,"objectType":"article","objectId":2496043}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2496043}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Mybatis自动生成增删改查代码</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/10712?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10712}" class="com-tag-v2">spring boot</a><a href="/developer/tag/10164?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10164}" class="com-tag-v2">java</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/4310657" track-click="{"objectType":"user","objectId":4310657}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/avatar/4310657/fba6n9dyde.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/4310657" track-click="{"objectType":"user","objectId":4310657}" target="_blank" class="author-info name">代码的路</a><span class="author-info time"><time dateTime="2025-02-13 16:33:27" title="2025-02-13 16:33:27"> <span>12</span>天前<span class="com-v-box">2025-02-13 16:33:27</span></time></span></div></div></div><p class="com-article-panel-v2-des">img src="../0img/mybatis1.png" width="300px" /></p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>98</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2496043.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2494500" track-click="{"areaId":113001,"objectType":"article","objectId":2494500}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2494500}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">十二、MyBatis分页插件</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17262?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17262}" class="com-tag-v2">分页</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/14822?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":14822}" class="com-tag-v2">mybatis-plus</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7004904" track-click="{"objectType":"user","objectId":7004904}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7004904" track-click="{"objectType":"user","objectId":7004904}" target="_blank" class="author-info name">刘大猫</a><span class="author-info time"><time dateTime="2025-02-08 21:39:45" title="2025-02-08 21:39:45"> <span>17</span>天前<span class="com-v-box">2025-02-08 21:39:45</span></time></span></div></div></div><p class="com-article-panel-v2-des">在查询功能之前使用PageHelper.startPage(int pageNum, int pageSize)开启分页功能</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>123</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2494500.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2491454" track-click="{"areaId":113001,"objectType":"article","objectId":2491454}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2491454}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">JDBC存在什么问题?MyBatis是如何解决的?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/10714?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10714}" class="com-tag-v2">jdbc</a><a href="/developer/tag/17248?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17358?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17358}" class="com-tag-v2">连接</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/cfdaac0378be2f520d58e54df7cb6c45.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11397231" track-click="{"objectType":"user","objectId":11397231}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/47231.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11397231" track-click="{"objectType":"user","objectId":11397231}" target="_blank" class="author-info name">用户11397231</a><span class="author-info time"><time dateTime="2025-01-24 10:45:41" title="2025-01-24 10:45:41"> 2025-01-24<span class="com-v-box">2025-01-24 10:45:41</span></time></span></div></div></div><p class="com-article-panel-v2-des">在Java开发领域,与数据库的交互是不可或缺的一环。JDBC(Java Database Connectivity)作为Java连接和操作数据库的标准API,虽...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>108</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2491454.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2491202" track-click="{"areaId":113001,"objectType":"article","objectId":2491202}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2491202}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">简单易懂的 MyBatis 分库分表方案</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-9378866/bcaabfabea391d5d45fafc156dc55f7a.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/9378866" track-click="{"objectType":"user","objectId":9378866}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-9378866/8526a243810a95a629a73a9a5249a240.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/9378866" track-click="{"objectType":"user","objectId":9378866}" target="_blank" class="author-info name">科技新语</a><span class="author-info time"><time dateTime="2025-01-23 18:25:11" title="2025-01-23 18:25:11"> 2025-01-23<span class="com-v-box">2025-01-23 18:25:11</span></time></span></div></div></div><p class="com-article-panel-v2-des">数据库分库分表除了使用中间件来代理请求分发之外,另外一种常见的方法就是在客户端层面来分库分表</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>80</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2491202.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490217" track-click="{"areaId":113001,"objectType":"article","objectId":2490217}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490217}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">深入理解 MyBatis-Plus 中的 JSON 处理器及案例演示</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17440?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17440}" class="com-tag-v2">数据</a><a href="/developer/tag/10207?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10207}" class="com-tag-v2">json</a><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a><a href="/developer/tag/10665?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10665}" class="com-tag-v2">存储</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 21:49:57" title="2025-01-21 21:49:57"> 2025-01-21<span class="com-v-box">2025-01-21 21:49:57</span></time></span></div></div></div><p class="com-article-panel-v2-des">介绍: 在现代应用开发中,经常会使用 JSON 格式存储和传输数据。为了便捷地处理数据库中的 JSON 字段,MyBatis-Plus 提供了强大的 JSON...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>135</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490217.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490216" track-click="{"areaId":113001,"objectType":"article","objectId":2490216}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490216}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">使用lambdaQuery进行条件查询的MyBatis Plus案例</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/14013?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":14013}" class="com-tag-v2">import</a><a href="/developer/tag/17205?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17205}" class="com-tag-v2">测试</a><a href="/developer/tag/17284?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17284}" class="com-tag-v2">工作</a><a href="/developer/tag/17329?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17329}" class="com-tag-v2">接口</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 21:49:52" title="2025-01-21 21:49:52"> 2025-01-21<span class="com-v-box">2025-01-21 21:49:52</span></time></span></div></div></div><p class="com-article-panel-v2-des">MyBatis Plus是一个功能强大的持久层框架,它简化了与数据库的交互和操作。在MyBatis Plus中,lambdaQuery是一种方便且强大的方式来构...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>130</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490216.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490215" track-click="{"areaId":113001,"objectType":"article","objectId":2490215}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490215}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">MyBatis Plus中的批量插入:通过开启rewriteBatchedStatements=true</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10244?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10244}" class="com-tag-v2">数据库</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17393?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17393}" class="com-tag-v2">配置</a><a href="/developer/tag/17440?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17440}" class="com-tag-v2">数据</a><a href="/developer/tag/17525?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17525}" class="com-tag-v2">性能</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 21:49:28" title="2025-01-21 21:49:28"> 2025-01-21<span class="com-v-box">2025-01-21 21:49:28</span></time></span></div></div></div><p class="com-article-panel-v2-des">在MyBatis Plus框架中,批量插入是一种高效的数据库操作方式。通过开启rewriteBatchedStatements=true,可以获得许多优点,从而...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>88</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490215.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490185" track-click="{"areaId":113001,"objectType":"article","objectId":2490185}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490185}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">mybatis-plus如何配置日志信息</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/12708?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":12708}" class="com-tag-v2">configuration</a><a href="/developer/tag/17393?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17393}" class="com-tag-v2">配置</a><a href="/developer/tag/17413?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17413}" class="com-tag-v2">日志</a><a href="/developer/tag/10314?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10314}" class="com-tag-v2">apache</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/6fcfd9e53fc85e947976c258bb6ace40.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 21:23:47" title="2025-01-21 21:23:47"> 2025-01-21<span class="com-v-box">2025-01-21 21:23:47</span></time></span></div></div></div><p class="com-article-panel-v2-des">在application.properties中添加上面的信息,然后就可以在运行的过程中就可以显示配置信息了。 </p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>159</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490185.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490132" track-click="{"areaId":113001,"objectType":"article","objectId":2490132}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490132}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Java图书目录管理系统CRUD展示(springboot+vue+mybatis-plus)</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/14013?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":14013}" class="com-tag-v2">import</a><a href="/developer/tag/16007?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":16007}" class="com-tag-v2">show</a><a href="/developer/tag/10164?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10164}" class="com-tag-v2">java</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/12819?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":12819}" class="com-tag-v2">crud</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/8d18431d8c424289d4eabc35e3a6bf6a.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 19:52:39" title="2025-01-21 19:52:39"> 2025-01-21<span class="com-v-box">2025-01-21 19:52:39</span></time></span></div></div></div><p class="com-article-panel-v2-des">这篇文章是针对一个c++的编程题,进行的java的改变,然后在那个基础之上加上了一个网页的前端,主要的参考文章是这两篇,看完之后,就会发现,其实这个,大部分项目...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>86</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490132.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490111" track-click="{"areaId":113001,"objectType":"article","objectId":2490111}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490111}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">springboot+vue+mybatis-plus+axios实现商品的CRUD</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/12819?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":12819}" class="com-tag-v2">crud</a><a href="/developer/tag/13555?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":13555}" class="com-tag-v2">function</a><a href="/developer/tag/15731?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":15731}" class="com-tag-v2">return</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/12222?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":12222}" class="com-tag-v2">axios</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-100000/22d464d8bc4680c70b2881a3f071a359.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 19:44:09" title="2025-01-21 19:44:09"> 2025-01-21<span class="com-v-box">2025-01-21 19:44:09</span></time></span></div></div></div><p class="com-article-panel-v2-des">这是一篇案例,这个案例,在这个案例之中,我向大家展示,传统的增删除改,在springboot,vue, mybatis-plus, axios这几个框架下,可以...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>75</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490111.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490041" track-click="{"areaId":113001,"objectType":"article","objectId":2490041}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490041}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">MyBatis-Spring的实现方式有哪些?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10323?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10323}" class="com-tag-v2">spring</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/12930?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":12930}" class="com-tag-v2">datasource</a><a href="/developer/tag/17393?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17393}" class="com-tag-v2">配置</a><a href="/developer/tag/17437?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17437}" class="com-tag-v2">事务</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 17:36:24" title="2025-01-21 17:36:24"> 2025-01-21<span class="com-v-box">2025-01-21 17:36:24</span></time></span></div></div></div><p class="com-article-panel-v2-des">MyBatis-Spring是一个用于集成MyBatis和Spring框架的开源项目,它可以使得在Spring环境下使用MyBatis更加方便。以下是 MyBa...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>61</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490041.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2490040" track-click="{"areaId":113001,"objectType":"article","objectId":2490040}" track-exposure="{"areaId":113001,"objectType":"article","objectId":2490040}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">MyBatis-Plus主要提供了哪些功能?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17440?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17440}" class="com-tag-v2">数据</a><a href="/developer/tag/10700?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":10700}" class="com-tag-v2">mybatis</a><a href="/developer/tag/17262?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17262}" class="com-tag-v2">分页</a><a href="/developer/tag/17276?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17276}" class="com-tag-v2">工具</a><a href="/developer/tag/17337?entry=article" track-click="{"areaId":113001,"objectType":"tag","objectId":17337}" class="com-tag-v2">开发</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10310410" track-click="{"objectType":"user","objectId":10310410}" target="_blank" class="author-info name">GeekLiHua</a><div class="c-bubble-trigger com-verification"><i class="verified"></i><div class="c-bubble c-bubble-bottom"><div class="c-bubble-inner" style="padding:8px 10px"><p>腾讯 | 业务安全工程师 (已认证)</p></div></div></div><span class="author-info time"><time dateTime="2025-01-21 17:36:21" title="2025-01-21 17:36:21"> 2025-01-21<span class="com-v-box">2025-01-21 17:36:21</span></time></span></div></div></div><p class="com-article-panel-v2-des">MyBatis-Plus是一个基于 MyBatis 的增强工具库,它简化了 MyBatis 在开发过程中的常见操作,提供了一些便捷的功能。以下是 MyBatis...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>84</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2490040.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section></div><div><div class="c-loading c-loading-tip"><div class="c-loading-inner"><div class="one"></div><div class="two"></div><div class="three"></div></div></div></div></div></div></div></div><div class="layout-side" track-click="" track-exposure=""><div class="com-2-section side"><header class="com-2-section-hd"><h2 class="com-2-section-title without-icon"><span><em>热门</em>专栏</span></h2></header><div class="com-2-section-bd"><div class="com-side-column-panels-wrap"><div class="com-side-column-panels-cnt"><ul track-click="{"areaId":113004}" track-exposure="{"areaId":113004}" class="com-side-column-panels"><li class="panel-cell"><a href="/developer/column/1091" trackClick="{"objectType":"column","objectId":1091}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://ask.qcloudimg.com/avatar/456169/nkcluk04dc.png?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">张泽旭的专栏</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">30 文章</span><span class="com-data">18 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/1143" trackClick="{"objectType":"column","objectId":1143}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/469835a0a6bc57f5c163a80c7cf653a1.jpg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">杨焱的专栏</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">238 文章</span><span class="com-data">28 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/1205" trackClick="{"objectType":"column","objectId":1205}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-740306/f38e70b4197b6b0aa0d38d4260517359.jpeg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">Bennyhuo</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">132 文章</span><span class="com-data">49 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/1257" trackClick="{"objectType":"column","objectId":1257}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://ask.qcloudimg.com/avatar/604405/a2vjkw24fc.png?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">PingCAP的专栏</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">536 文章</span><span class="com-data">95 订阅</span></div></div></div></a></li></ul></div></div></div></div></div></div></div><div class="cdc-footer J-footer com-2-footer"><div class="cdc-footer__inner"><div class="cdc-footer__main"><div class="cdc-footer__website"><ul class="cdc-footer__website-group"><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">社区</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/column">专栏文章</a></li><li class="cdc-footer__website-item"><a href="/developer/inventory">阅读清单</a></li><li class="cdc-footer__website-item"><a href="/developer/ask">互动问答</a></li><li class="cdc-footer__website-item"><a href="/developer/salon">技术沙龙</a></li><li class="cdc-footer__website-item"><a href="/developer/video">技术视频</a></li><li class="cdc-footer__website-item"><a href="/developer/teams">团队主页</a></li><li class="cdc-footer__website-item"><a href="/developer/timl">腾讯云TI平台</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">活动</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/support-plan">自媒体同步曝光计划</a></li><li class="cdc-footer__website-item"><a href="/developer/support-plan-invitation">邀请作者入驻</a></li><li class="cdc-footer__website-item"><a href="/developer/article/1535830">自荐上首页</a></li><li class="cdc-footer__website-item"><a href="/developer/competition">技术竞赛</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">资源</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/specials">技术周刊</a></li><li class="cdc-footer__website-item"><a href="/developer/tags">社区标签</a></li><li class="cdc-footer__website-item"><a href="/developer/devdocs">开发者手册</a></li><li class="cdc-footer__website-item"><a href="/lab?from=20064&from_column=20064">开发者实验室</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">关于</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/article/1006434">社区规范</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/article/1006435">免责声明</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="mailto:cloudcommunity@tencent.com">联系我们</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/friendlink">友情链接</a></li></ul></div></li></ul></div><div class="cdc-footer__qr"><h3 class="cdc-footer__qr-title">腾讯云开发者</h3><div class="cdc-footer__qr-object"><img class="cdc-footer__qr-image" src="https://qcloudimg.tencent-cloud.cn/raw/a8907230cd5be483497c7e90b061b861.png" alt="扫码关注腾讯云开发者"/></div><div class="cdc-footer__qr-infos"><p class="cdc-footer__qr-info"><span class="cdc-footer__qr-text">扫码关注腾讯云开发者</span></p><p class="cdc-footer__qr-info"><span class="cdc-footer__qr-text">领取腾讯云代金券</span></p></div></div></div><div class="cdc-footer__recommend"><div class="cdc-footer__recommend-rows"><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">热门产品</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="https://dnspod.cloud.tencent.com?from=20064&from_column=20064">域名注册</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cvm?from=20064&from_column=20064">云服务器</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tbaas?from=20064&from_column=20064">区块链服务</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/mq?from=20064&from_column=20064">消息队列</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/dsa?from=20064&from_column=20064">网络加速</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tencentdb-catalog?from=20064&from_column=20064">云数据库</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cns?from=20064&from_column=20064">域名解析</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cos?from=20064&from_column=20064">云存储</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/css?from=20064&from_column=20064">视频直播</a></li></ul></div></div><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">热门推荐</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/facerecognition?from=20064&from_column=20064">人脸识别</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tm?from=20064&from_column=20064">腾讯会议</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/act/pro/enterprise2019?from=20064&from_column=20064">企业云</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdn-scd?from=20064&from_column=20064">CDN加速</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/trtc?from=20064&from_column=20064">视频通话</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tiia?from=20064&from_column=20064">图像分析</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdb?from=20064&from_column=20064">MySQL 数据库</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/symantecssl?from=20064&from_column=20064">SSL 证书</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/asr?from=20064&from_column=20064">语音识别</a></li></ul></div></div><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">更多推荐</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/solution/data_protection?from=20064&from_column=20064">数据安全</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/clb?from=20064&from_column=20064">负载均衡</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/sms?from=20064&from_column=20064">短信</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/ocr?from=20064&from_column=20064">文字识别</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/vod?from=20064&from_column=20064">云点播</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="https://tm.cloud.tencent.com?from=20064&from_column=20064">商标注册</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/solution/la?from=20064&from_column=20064">小程序开发</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cat?from=20064&from_column=20064">网站监控</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdm?from=20064&from_column=20064">数据迁移</a></li></ul></div></div></div></div><div class="cdc-footer__copyright"><div class="cdc-footer__copyright-text"><p>Copyright © 2013 - <!-- -->2025<!-- --> Tencent Cloud. All Rights Reserved. 腾讯云 版权所有<!-- --> </p><p>深圳市腾讯计算机系统有限公司 ICP备案/许可证号:<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">粤B2-20090059<!-- --> </a><a href="https://www.beian.gov.cn/portal/index.do" target="_blank">深公网安备号 44030502008569</a></p><p>腾讯云计算(北京)有限责任公司 京ICP证150476号 | <!-- --> <a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">京ICP备11018762号</a> | <!-- --> <a href="https://www.beian.gov.cn/portal/index.do" target="_blank">京公网安备号11010802020287</a></p></div></div></div></div></div><div class="com-widget-global"><div style="position:relative;z-index:8088"><div class="com-widget-global2"><div class="com-widget-global2__btn code"><div class="com-widget-global2__btn-tag">领券</div></div><div class="com-widget-global2__btn top" style="visibility:hidden"></div></div></div></div><div id="dialog-root"></div><div id="rno-dialog-root" class="rno-modal-wrap"></div></div><script>window.isServerContext = false; window.isClientContext = true;</script><script>window.$serverTime = 1740506959808; window.$clientTime = 1740506959808;</script><script class="">window.$ua = {"browser":{"name":"IE","version":"7.0","major":"7"},"cpu":{},"device":{},"engine":{},"os":{"name":"Windows","version":"Vista"}};</script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/libs/dom4/1.8.3/dom4.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/babel/polyfill.6.26.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/react/react.16.8.6.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/react/react-dom.16.8.6.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/jquery-3.2.1.min.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/base.225e98f95c.js?max_age=31536000" crossorigin="anonymous"></script><script src="//cloudcache.tencent-cloud.com/qcloud/draft-master/dist/draft-master-v2.0.165.d4s2ddo9sb.js?max_age=31536000"></script><script src="https://cloud.tencent.com/qccomponent/login/api.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/deps/wechatJsSdk.js?version=1_0_1&max_age=31536000"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/common.4ebc077d54.js?max_age=31536000" crossorigin="anonymous"></script><script src="https://web.sdk.qcloud.com/player/tcplayer/release/v4.7.2/tcplayer.v4.7.2.min.js"></script><script src="//dscache.tencent-cloud.cn/ecache/qcstat/qcloud/qcloudStatApi.js"></script><script src="https://qccommunity.qcloudimg.com/common/exposure-plugin-4.1.15.min.js"></script><script src="https://qccommunity.qcloudimg.com/community-track/qcloud-community-track.min.js"></script><script src="https://dscache.tencent-cloud.com/sdk/dianshi-sdk/loader/umd/dianshi-sdk-loader.v0.0.18.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/tag/tag-detail.16dc4ab4f9.js?max_age=31536000" crossorigin="anonymous"></script><script class=""> window.$render({"tagInfo":{"id":10700,"name":"mybatis","icon":"","defaultIcon":"//cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/q-and-a/css/img/tags/tag_comm.svg","shareIcon":"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/q-and-a/css/img/tags/share_comm.png","initial":"M","desc":"MyBatis是一个Java持久化框架,它通过XML描述符或注解把对象与存储过程或SQL语句关联起来。","followCount":3,"questionCount":192,"answerCount":460,"unanswerCount":24,"articleCount":4579,"devdocCount":0,"vlogCount":66,"boundProductId":0,"stick":{"articleIds":[],"askIds":[],"vlogIds":[]},"createTime":"2018-09-06 18:31:33"},"activeRelatedEntry":"article","timelineData":{"ask":{"fetchStatus":"none","done":false,"nextPageNumber":1,"pageSize":20,"total":0,"list":[]},"article":{"fetchStatus":"loaded","done":false,"nextPageNumber":2,"pageSize":20,"total":4578,"list":[{"id":2499426,"articleId":2499426,"title":"JavaEE进阶--mybatis使用&&测试&&日志&&参数传递&&浏览器访问","content":"","plain":"","brief":"","summary":"之前的学习过这个mybatis相关的这个入门的知识,但是又太久没有使用了,所以今天又重新熟悉了一下,这个项目的创建就是选择的这个springboot下面的这个m...","abstract":"之前的学习过这个mybatis相关的这个入门的知识,但是又太久没有使用了,所以今天又重新熟悉了一下,这个项目的创建就是选择的这个springboot下面的这个m...","posterSummary":"之前的学习过这个mybatis相关的这个入门的知识,但是又太久没有使用了,所以今天又重新熟悉了一下,这个项目的创建就是选择的这个springboot下面的这个maven项目,这个项目里面我们需要引入这个spring web和这个lombok以及我们的mysql driven即驱动,然后就是他的mybatis framework这个框架,直接创建即可;","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/88c8cef8e689a7b0a47fc6ccd9970d23.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/88c8cef8e689a7b0a47fc6ccd9970d23.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11163219,"columnId":104920,"columnIds":[],"writeTime":1740408407,"updateTime":1740408407,"viewCount":37,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"阑梦清川","title":"","uid":11163219,"id":11163219,"name":"阑梦清川","avatar":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg"},"tags":[{"tagId":17596,"tagName":"注解","id":17596,"name":"注解"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17205,"tagName":"测试","id":17205,"name":"测试"},{"tagId":17365,"tagName":"浏览器","id":17365,"name":"浏览器"},{"tagId":17413,"tagName":"日志","id":17413,"name":"日志"}]},{"id":2499401,"articleId":2499401,"title":"JavaEE进阶-----mybatis操作数据库(新手教程)","content":"","plain":"","brief":"","summary":"而且这个springboot的版本也是有限制的,不可以是过高的版本呢,否则这个mybatis frameword=k是无法进行使用的,因此我把这个spring的...","abstract":"而且这个springboot的版本也是有限制的,不可以是过高的版本呢,否则这个mybatis frameword=k是无法进行使用的,因此我把这个spring的...","posterSummary":"而且这个springboot的版本也是有限制的,不可以是过高的版本呢,否则这个mybatis frameword=k是无法进行使用的,因此我把这个spring的版本降低成为了这个图上面显示的这个3.3.6版本,3.4是无法使用这个框架的,这个时候会弹出来这个提示,打击可以自己尝试一下:","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-11163219/a6dd2628ce6fd89b8e80d1dde2e554ff.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-11163219/a6dd2628ce6fd89b8e80d1dde2e554ff.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11163219,"columnId":104920,"columnIds":[],"writeTime":1740406972,"updateTime":1740406972,"viewCount":42,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"阑梦清川","title":"","uid":11163219,"id":11163219,"name":"阑梦清川","avatar":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg"},"tags":[{"tagId":17325,"tagName":"教程","id":17325,"name":"教程"},{"tagId":17329,"tagName":"接口","id":17329,"name":"接口"},{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17215,"tagName":"程序","id":17215,"name":"程序"}]},{"id":2499358,"articleId":2499358,"title":"Oracle数据库mybatis 插入空值时报错(with JdbcType OTHER)的两种解决方案","content":"","plain":"","brief":"","summary":"利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常;","abstract":"利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常;","posterSummary":"","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":5704552,"columnId":104891,"columnIds":[],"writeTime":1740402888,"updateTime":1740402888,"viewCount":50,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"samRsa","title":"","uid":5704552,"id":5704552,"name":"samRsa","avatar":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg"},"tags":[{"tagId":17328,"tagName":"解决方案","id":17328,"name":"解决方案"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"},{"tagId":10247,"tagName":"oracle","id":10247,"name":"oracle"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"}]},{"id":2499350,"articleId":2499350,"title":"Mybatis的SQL注入问题学习","content":"","plain":"","brief":"","summary":"这种场景应当在Java层面做映射,设置一个字段/表名数组,仅允许用户传入索引值。这样保证传入的字段或者表名都在白名单里面。需要注意的是在mybatis-gene...","abstract":"这种场景应当在Java层面做映射,设置一个字段/表名数组,仅允许用户传入索引值。这样保证传入的字段或者表名都在白名单里面。需要注意的是在mybatis-gene...","posterSummary":"这种场景应当在Java层面做映射,设置一个字段/表名数组,仅允许用户传入索引值。这样保证传入的字段或者表名都在白名单里面。需要注意的是在mybatis-generator自动生成的SQL语句中,order by使用的也是$,而like和in没有问题","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":5704552,"columnId":104891,"columnIds":[],"writeTime":1740402126,"updateTime":1740402126,"viewCount":18,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"samRsa","title":"","uid":5704552,"id":5704552,"name":"samRsa","avatar":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg"},"tags":[{"tagId":17369,"tagName":"漏洞","id":17369,"name":"漏洞"},{"tagId":10253,"tagName":"sql","id":10253,"name":"sql"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17190,"tagName":"编译","id":17190,"name":"编译"},{"tagId":17353,"tagName":"框架","id":17353,"name":"框架"}]},{"id":2499343,"articleId":2499343,"title":"mybatis中的#{}和${}的区别","content":"","plain":"","brief":"","summary":" #{}占位符 SQL预编译 动态拼接-》预编译-》执行 变量替换是在DBMS中 对应的变量自动加上单引号 能防止SQl注入 ","abstract":" #{}占位符 SQL预编译 动态拼接-》预编译-》执行 变量替换是在DBMS中 对应的变量自动加上单引号 能防止SQl注入 ","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/b56310cc068d73d35ccdfe1bef3aef5b.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/b56310cc068d73d35ccdfe1bef3aef5b.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":5704552,"columnId":104891,"columnIds":[],"writeTime":1740401735,"updateTime":1740401735,"viewCount":29,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"samRsa","title":"","uid":5704552,"id":5704552,"name":"samRsa","avatar":"https://developer.qcloudimg.com/http-save/10011/fb5390cdefde9c5183e741fe71ee7121.jpg"},"tags":[{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17188,"tagName":"变量","id":17188,"name":"变量"},{"tagId":17190,"tagName":"编译","id":17190,"name":"编译"},{"tagId":17329,"tagName":"接口","id":17329,"name":"接口"},{"tagId":17596,"tagName":"注解","id":17596,"name":"注解"}]},{"id":2499130,"articleId":2499130,"title":"用户中心项目教程(五)---MyBatis-Plus完成后端初始化+测试方法","content":"","plain":"","brief":"","summary":"Mapper这个包里面就是我们相关的这个CRUD的操作,我之前学习的都是mybatis,这个使用的就是我们自己去写这个CRUD相关的语句,但是在这个plus版本...","abstract":"Mapper这个包里面就是我们相关的这个CRUD的操作,我之前学习的都是mybatis,这个使用的就是我们自己去写这个CRUD相关的语句,但是在这个plus版本...","posterSummary":"Mapper这个包里面就是我们相关的这个CRUD的操作,我之前学习的都是mybatis,这个使用的就是我们自己去写这个CRUD相关的语句,但是在这个plus版本里面,我们是使用的继承的语法;","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/a567c95ad025edc1b4db7e5dd864ed77.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/a567c95ad025edc1b4db7e5dd864ed77.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11163219,"columnId":104920,"columnIds":[],"writeTime":1740378191,"updateTime":1740378191,"viewCount":37,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg","company":"","introduce":"","isProfessionVerified":0,"nickname":"阑梦清川","title":"","uid":11163219,"id":11163219,"name":"阑梦清川","avatar":"https://developer.qcloudimg.com/http-save/10011/a542b90b9bd73249e5dd4d56db6e3b44.jpg"},"tags":[{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17205,"tagName":"测试","id":17205,"name":"测试"},{"tagId":17294,"tagName":"后端","id":17294,"name":"后端"},{"tagId":17325,"tagName":"教程","id":17325,"name":"教程"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"}]},{"id":2496883,"articleId":2496883,"title":"十一、MyBatis的逆向工程","content":"","plain":"","brief":"","summary":"正向工程:先创建Java实体类,由框架负责根据实体类生成数据库表。Hibernate是支持正向工程","abstract":"正向工程:先创建Java实体类,由框架负责根据实体类生成数据库表。Hibernate是支持正向工程","posterSummary":"","description":"","picture":"","coverImageUrl":"","sourceType":1,"sourceDetail":{},"channelType":0,"channelDetail":{},"authorId":7004904,"columnId":104212,"columnIds":[],"writeTime":1739712944,"updateTime":1739712944,"viewCount":72,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg","company":"","introduce":"如果有天突然发现路的尽头还是路的话,希望你还没错过太多沿路的风景和眼前珍惜的人。","isProfessionVerified":0,"nickname":"刘大猫","title":"","uid":7004904,"id":7004904,"name":"刘大猫","avatar":"https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg"},"tags":[{"tagId":14822,"tagName":"mybatis-plus","id":14822,"name":"mybatis-plus"},{"tagId":17387,"tagName":"逆向工程","id":17387,"name":"逆向工程"},{"tagId":10164,"tagName":"java","id":10164,"name":"java"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"}]},{"id":2496043,"articleId":2496043,"title":"Mybatis自动生成增删改查代码","content":"","plain":"","brief":"","summary":"img src=\"../0img/mybatis1.png\" width=\"300px\" /\u003E","abstract":"img src=\"../0img/mybatis1.png\" width=\"300px\" /\u003E","posterSummary":"","description":"","picture":"","coverImageUrl":"","sourceType":1,"sourceDetail":{},"channelType":0,"channelDetail":{},"authorId":4310657,"columnId":95839,"columnIds":[],"writeTime":1739435607,"updateTime":1739435607,"viewCount":98,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/avatar/4310657/fba6n9dyde.jpg","company":"","introduce":"公众号:代码的路","isProfessionVerified":0,"nickname":"代码的路","title":"","uid":4310657,"id":4310657,"name":"代码的路","avatar":"https://ask.qcloudimg.com/avatar/4310657/fba6n9dyde.jpg"},"tags":[{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":10712,"tagName":"spring boot","id":10712,"name":"spring boot"},{"tagId":10164,"tagName":"java","id":10164,"name":"java"}]},{"id":2494500,"articleId":2494500,"title":"十二、MyBatis分页插件","content":"","plain":"","brief":"","summary":"在查询功能之前使用PageHelper.startPage(int pageNum, int pageSize)开启分页功能","abstract":"在查询功能之前使用PageHelper.startPage(int pageNum, int pageSize)开启分页功能","posterSummary":"","description":"","picture":"","coverImageUrl":"","sourceType":1,"sourceDetail":{},"channelType":0,"channelDetail":{},"authorId":7004904,"columnId":104212,"columnIds":[],"writeTime":1739021985,"updateTime":1739021985,"viewCount":123,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg","company":"","introduce":"如果有天突然发现路的尽头还是路的话,希望你还没错过太多沿路的风景和眼前珍惜的人。","isProfessionVerified":0,"nickname":"刘大猫","title":"","uid":7004904,"id":7004904,"name":"刘大猫","avatar":"https://developer.qcloudimg.com/http-save/10011/219dcdbdb09180d48a5350d7222e7661.jpg"},"tags":[{"tagId":17262,"tagName":"分页","id":17262,"name":"分页"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":14822,"tagName":"mybatis-plus","id":14822,"name":"mybatis-plus"}]},{"id":2491454,"articleId":2491454,"title":"JDBC存在什么问题?MyBatis是如何解决的?","content":"","plain":"","brief":"","summary":"在Java开发领域,与数据库的交互是不可或缺的一环。JDBC(Java Database Connectivity)作为Java连接和操作数据库的标准API,虽...","abstract":"在Java开发领域,与数据库的交互是不可或缺的一环。JDBC(Java Database Connectivity)作为Java连接和操作数据库的标准API,虽...","posterSummary":"在Java开发领域,与数据库的交互是不可或缺的一环。JDBC(Java Database Connectivity)作为Java连接和操作数据库的标准API,虽然提供了基础的数据库访问功能,但在实际开发中却面临着诸多挑战。而MyBatis这一持久层框架的出现,为解决JDBC的问题提供了全新的思路和方法。本文将深入剖析JDBC存在的问题,并探讨MyBatis是如何巧妙地化解这些问题的。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/cfdaac0378be2f520d58e54df7cb6c45.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/cfdaac0378be2f520d58e54df7cb6c45.jpg","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11397231,"columnId":104369,"columnIds":[],"writeTime":1737686741,"updateTime":1737686741,"viewCount":108,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/47231.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"用户11397231","title":"","uid":11397231,"id":11397231,"name":"用户11397231","avatar":"https://developer.qcloudimg.com/avatar/47231.png"},"tags":[{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":10714,"tagName":"jdbc","id":10714,"name":"jdbc"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17358,"tagName":"连接","id":17358,"name":"连接"}]},{"id":2491202,"articleId":2491202,"title":"简单易懂的 MyBatis 分库分表方案","content":"","plain":"","brief":"","summary":"数据库分库分表除了使用中间件来代理请求分发之外,另外一种常见的方法就是在客户端层面来分库分表","abstract":"数据库分库分表除了使用中间件来代理请求分发之外,另外一种常见的方法就是在客户端层面来分库分表","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-9378866/bcaabfabea391d5d45fafc156dc55f7a.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-9378866/bcaabfabea391d5d45fafc156dc55f7a.jpg","sourceType":2,"sourceDetail":{},"channelType":0,"channelDetail":{},"authorId":9378866,"columnId":0,"columnIds":[],"writeTime":1737627911,"updateTime":1737627911,"viewCount":80,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-9378866/8526a243810a95a629a73a9a5249a240.jpeg","company":"","introduce":"","isProfessionVerified":0,"nickname":"科技新语","title":"","uid":9378866,"id":9378866,"name":"科技新语","avatar":"https://ask.qcloudimg.com/http-save/yehe-9378866/8526a243810a95a629a73a9a5249a240.jpeg"},"tags":[{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"}]},{"id":2490217,"articleId":2490217,"title":"深入理解 MyBatis-Plus 中的 JSON 处理器及案例演示","content":"","plain":"","brief":"","summary":"介绍:\n 在现代应用开发中,经常会使用 JSON 格式存储和传输数据。为了便捷地处理数据库中的 JSON 字段,MyBatis-Plus 提供了强大的 JSON...","abstract":"介绍:\n 在现代应用开发中,经常会使用 JSON 格式存储和传输数据。为了便捷地处理数据库中的 JSON 字段,MyBatis-Plus 提供了强大的 JSON...","posterSummary":"介绍:\n 在现代应用开发中,经常会使用 JSON 格式存储和传输数据。为了便捷地处理数据库中的 JSON 字段,MyBatis-Plus 提供了强大的 JSON 处理器。本文将详细讲解 MyBatis-Plus 中的 JSON 处理器的用法,并结合一个具体案例进行演示和说明。","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737467397,"updateTime":1737467397,"viewCount":135,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":10207,"tagName":"json","id":10207,"name":"json"},{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"},{"tagId":10665,"tagName":"存储","id":10665,"name":"存储"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"}]},{"id":2490216,"articleId":2490216,"title":"使用lambdaQuery进行条件查询的MyBatis Plus案例","content":"","plain":"","brief":"","summary":"MyBatis Plus是一个功能强大的持久层框架,它简化了与数据库的交互和操作。在MyBatis Plus中,lambdaQuery是一种方便且强大的方式来构...","abstract":"MyBatis Plus是一个功能强大的持久层框架,它简化了与数据库的交互和操作。在MyBatis Plus中,lambdaQuery是一种方便且强大的方式来构...","posterSummary":"MyBatis Plus是一个功能强大的持久层框架,它简化了与数据库的交互和操作。在MyBatis Plus中,lambdaQuery是一种方便且强大的方式来构建和执行条件查询。","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737467392,"updateTime":1737467392,"viewCount":130,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":14013,"tagName":"import","id":14013,"name":"import"},{"tagId":17205,"tagName":"测试","id":17205,"name":"测试"},{"tagId":17284,"tagName":"工作","id":17284,"name":"工作"},{"tagId":17329,"tagName":"接口","id":17329,"name":"接口"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"}]},{"id":2490215,"articleId":2490215,"title":"MyBatis Plus中的批量插入:通过开启rewriteBatchedStatements=true","content":"","plain":"","brief":"","summary":"在MyBatis Plus框架中,批量插入是一种高效的数据库操作方式。通过开启rewriteBatchedStatements=true,可以获得许多优点,从而...","abstract":"在MyBatis Plus框架中,批量插入是一种高效的数据库操作方式。通过开启rewriteBatchedStatements=true,可以获得许多优点,从而...","posterSummary":"在MyBatis Plus框架中,批量插入是一种高效的数据库操作方式。通过开启rewriteBatchedStatements=true,可以获得许多优点,从而提高数据库插入性能、减轻负载以及简化代码。","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737467368,"updateTime":1737467368,"viewCount":88,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":10244,"tagName":"数据库","id":10244,"name":"数据库"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17393,"tagName":"配置","id":17393,"name":"配置"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":17525,"tagName":"性能","id":17525,"name":"性能"}]},{"id":2490185,"articleId":2490185,"title":"mybatis-plus如何配置日志信息","content":"","plain":"","brief":"","summary":"在application.properties中添加上面的信息,然后就可以在运行的过程中就可以显示配置信息了。\n ","abstract":"在application.properties中添加上面的信息,然后就可以在运行的过程中就可以显示配置信息了。\n ","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/6fcfd9e53fc85e947976c258bb6ace40.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/6fcfd9e53fc85e947976c258bb6ace40.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737465827,"updateTime":1737465827,"viewCount":159,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":12708,"tagName":"configuration","id":12708,"name":"configuration"},{"tagId":17393,"tagName":"配置","id":17393,"name":"配置"},{"tagId":17413,"tagName":"日志","id":17413,"name":"日志"},{"tagId":10314,"tagName":"apache","id":10314,"name":"apache"}]},{"id":2490132,"articleId":2490132,"title":"Java图书目录管理系统CRUD展示(springboot+vue+mybatis-plus)","content":"","plain":"","brief":"","summary":"这篇文章是针对一个c++的编程题,进行的java的改变,然后在那个基础之上加上了一个网页的前端,主要的参考文章是这两篇,看完之后,就会发现,其实这个,大部分项目...","abstract":"这篇文章是针对一个c++的编程题,进行的java的改变,然后在那个基础之上加上了一个网页的前端,主要的参考文章是这两篇,看完之后,就会发现,其实这个,大部分项目...","posterSummary":"这篇文章是针对一个c++的编程题,进行的java的改变,然后在那个基础之上加上了一个网页的前端,主要的参考文章是这两篇,看完之后,就会发现,其实这个,大部分项目都是图书管理系统的简单变化而成的。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/8d18431d8c424289d4eabc35e3a6bf6a.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/8d18431d8c424289d4eabc35e3a6bf6a.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737460359,"updateTime":1737460359,"viewCount":86,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":14013,"tagName":"import","id":14013,"name":"import"},{"tagId":16007,"tagName":"show","id":16007,"name":"show"},{"tagId":10164,"tagName":"java","id":10164,"name":"java"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":12819,"tagName":"crud","id":12819,"name":"crud"}]},{"id":2490111,"articleId":2490111,"title":"springboot+vue+mybatis-plus+axios实现商品的CRUD","content":"","plain":"","brief":"","summary":"这是一篇案例,这个案例,在这个案例之中,我向大家展示,传统的增删除改,在springboot,vue, mybatis-plus, axios这几个框架下,可以...","abstract":"这是一篇案例,这个案例,在这个案例之中,我向大家展示,传统的增删除改,在springboot,vue, mybatis-plus, axios这几个框架下,可以...","posterSummary":"这是一篇案例,这个案例,在这个案例之中,我向大家展示,传统的增删除改,在springboot,vue, mybatis-plus, axios这几个框架下,可以有多么的简单,相信大家看完之后,也会觉得编程最难的还是业务逻辑和算法,不论是前端还是后端。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-100000/22d464d8bc4680c70b2881a3f071a359.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-100000/22d464d8bc4680c70b2881a3f071a359.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737459849,"updateTime":1737459849,"viewCount":75,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":12819,"tagName":"crud","id":12819,"name":"crud"},{"tagId":13555,"tagName":"function","id":13555,"name":"function"},{"tagId":15731,"tagName":"return","id":15731,"name":"return"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":12222,"tagName":"axios","id":12222,"name":"axios"}]},{"id":2490041,"articleId":2490041,"title":"MyBatis-Spring的实现方式有哪些?","content":"","plain":"","brief":"","summary":"MyBatis-Spring是一个用于集成MyBatis和Spring框架的开源项目,它可以使得在Spring环境下使用MyBatis更加方便。以下是 MyBa...","abstract":"MyBatis-Spring是一个用于集成MyBatis和Spring框架的开源项目,它可以使得在Spring环境下使用MyBatis更加方便。以下是 MyBa...","posterSummary":"MyBatis-Spring是一个用于集成MyBatis和Spring框架的开源项目,它可以使得在Spring环境下使用MyBatis更加方便。以下是 MyBatis-Spring 的实现方式:","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737452184,"updateTime":1737452184,"viewCount":61,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":10323,"tagName":"spring","id":10323,"name":"spring"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":12930,"tagName":"datasource","id":12930,"name":"datasource"},{"tagId":17393,"tagName":"配置","id":17393,"name":"配置"},{"tagId":17437,"tagName":"事务","id":17437,"name":"事务"}]},{"id":2490040,"articleId":2490040,"title":"MyBatis-Plus主要提供了哪些功能?","content":"","plain":"","brief":"","summary":"MyBatis-Plus是一个基于 MyBatis 的增强工具库,它简化了 MyBatis 在开发过程中的常见操作,提供了一些便捷的功能。以下是 MyBatis...","abstract":"MyBatis-Plus是一个基于 MyBatis 的增强工具库,它简化了 MyBatis 在开发过程中的常见操作,提供了一些便捷的功能。以下是 MyBatis...","posterSummary":"MyBatis-Plus是一个基于 MyBatis 的增强工具库,它简化了 MyBatis 在开发过程中的常见操作,提供了一些便捷的功能。以下是 MyBatis-Plus 主要提供的功能:","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10310410,"columnId":103664,"columnIds":[],"writeTime":1737452181,"updateTime":1737452181,"viewCount":84,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png","company":"腾讯","introduce":"全网十万以上粉丝技术博主。","isProfessionVerified":1,"nickname":"GeekLiHua","title":"业务安全工程师","uid":10310410,"id":10310410,"name":"GeekLiHua","avatar":"https://developer.qcloudimg.com/http-save/10011/9c23d81e940f911de2f8121fc9c2fbd7.png"},"tags":[{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":10700,"tagName":"mybatis","id":10700,"name":"mybatis"},{"tagId":17262,"tagName":"分页","id":17262,"name":"分页"},{"tagId":17276,"tagName":"工具","id":17276,"name":"工具"},{"tagId":17337,"tagName":"开发","id":17337,"name":"开发"}]}]},"video":{"fetchStatus":"none","done":false,"nextPageNumber":1,"pageSize":20,"total":0,"list":[]}},"relatedProducts":[],"relatedDevdocs":[],"activeUsers":[],"hotColumns":[{"id":1091,"name":"张泽旭的专栏","desc":"","icon":"https://imgcache.qq.com/qcloud/developer/images/release/column-icons/10.png","background":"","status":2,"creatorId":456169,"memberCount":1,"articleCount":30,"followCount":18,"createdTime":1488244661,"creator":{"id":456169,"uid":456169,"name":"张泽旭","label":"","avatar":"https://ask.qcloudimg.com/avatar/456169/nkcluk04dc.png","province":"1314","city":"1315","company":"东华软件股份公司","title":"JAVA开发工程师","school":"","major":"","homePage":"","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10315,10244,10245,10164,10299],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":1,"followerCount":32,"questionCount":0,"answerCount":1,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":30,"validArticleCount":30}},{"id":1143,"name":"杨焱的专栏","desc":"","icon":"https://imgcache.qq.com/qcloud/developer/images/release/column-icons/16.png","background":"https://cloudcache.tencent-cloud.cn/qcloud/developer/images/release/column-bgs/5.svg","status":2,"creatorId":471675,"memberCount":1,"articleCount":238,"followCount":28,"createdTime":1491012216,"creator":{"id":471675,"uid":471675,"name":"前Thoughtworks-杨焱","label":"十多年前后端项目老开发,技术领域接触的比较广泛。喜欢发现和琢磨工具使用的技巧,探索新工具,新方法。","avatar":"https://developer.qcloudimg.com/http-save/10011/469835a0a6bc57f5c163a80c7cf653a1.jpg","province":"1314","city":"1315","company":"Thoughtworks","title":"软件工程师","school":"清华IT培训认证中心","major":"软件开发","homePage":"https://www.firegod.cn","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10318,10649],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":3,"followerCount":18,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":239,"validArticleCount":238}},{"id":1205,"name":"Bennyhuo","desc":"","icon":"https://ask.qcloudimg.com/column-icons/1205/740306/edia6bxtmr.jpg","background":"","status":2,"creatorId":740306,"memberCount":1,"articleCount":132,"followCount":49,"createdTime":1493867650,"creator":{"id":740306,"uid":740306,"name":"bennyhuo","label":"Kotlin GDE(Google 认证开发专家),《深入理解 Kotlin 协程》作者","avatar":"https://ask.qcloudimg.com/http-save/yehe-740306/f38e70b4197b6b0aa0d38d4260517359.jpeg","province":"1001","city":"","company":"腾讯","title":"高级工程师","school":"","major":"","homePage":"https://www.bennyhuo.com","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10216,10164,10244],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":true,"upvoteCount":0,"followingCount":1,"followerCount":66,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":132,"validArticleCount":132}},{"id":1257,"name":"PingCAP的专栏","desc":"","icon":"https://imgcache.qq.com/qcloud/developer/images/release/column-icons/6.png","background":"","status":2,"creatorId":604405,"memberCount":1,"articleCount":536,"followCount":95,"createdTime":1495095276,"creator":{"id":604405,"uid":604405,"name":"PingCAP","label":"","avatar":"https://ask.qcloudimg.com/avatar/604405/a2vjkw24fc.png","province":"1001","city":"","company":"","title":"","school":"","major":"","homePage":"http://www.pingcap.com","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10244,10245,10253,10284,10292],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":0,"followerCount":149,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":1,"articleCount":787,"validArticleCount":596}}],"recommendedTags":[],"env":"production","documentBaseTitle":"腾讯云开发者社区-腾讯云","cdnDomain":"cloudcache.tencent-cloud.cn","cssDomain":"cloudcache.tencent-cloud.cn","qcloudDomain":"cloud.tencent.com","consoleDomain":"console.cloud.tencent.com","qcommunity_identify_id":"12gAypkkTijoM_CKAJzWx","session":{"isLogined":false,"isQcloudUser":false,"isOwner":false,"nickname":"","accountInfoCompleted":false,"phoneCompleted":false,"profile":{},"contactPhoneCompleted":false,"userInfo":{},"phoneMainland":false},"pvId":"_bSCo_SJ6CZkKBRNzmI4S","userIp":"8.222.208.146","fromMiniProgram":false,"route":{"url":"/developer/tag/10700?entry=article","path":"/developer/tag/10700?entry=article","pathname":"/developer/tag/10700","search":"?entry=article","query":{"entry":"article"},"segments":["developer","tag","10700"]}}); </script><script class=""> if (!Element.prototype.matches) Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; if (!Element.prototype.closest) Element.prototype.closest = function(s) { var el = this; if (!document.documentElement.contains(el)) return null; do { if (el.matches(s)) return el; el = el.parentElement; } while (el !== null); return null; }; window.addEventListener('mouseover', function(evt) { const target = evt.target; if (!target) { return; } const aEle = target.closest('a'); if (!aEle) { return; } let href = aEle.getAttribute('href'); if (!href) { return; } href = href.replace(/cloud.tencent.com.cn|cloud.tencent.com|cloud.tencent.cn/g, 'cloud.tencent.com'); aEle.setAttribute('href', href); }, true); </script></body></html>