René's URL Explorer Experiment


Title: JavaInterview/Mybatis.md at main · CJavaScript/JavaInterview · GitHub

Open Graph Title: JavaInterview/Mybatis.md at main · CJavaScript/JavaInterview

X Title: JavaInterview/Mybatis.md at main · CJavaScript/JavaInterview

Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to CJavaScript/JavaInterview development by creating an account on GitHub.

Open Graph Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to CJavaScript/JavaInterview development by creating an account on GitHub.

X Description: 全网最齐全的Java面试题库-附答案-持续更新. Contribute to CJavaScript/JavaInterview development by creating an account on GitHub.

Opengraph URL: https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:48fb4954-3506-17ea-7c63-caa159fae9d4
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id850E:3BD8F2:235ED88:315D7DA:6A4F541E
html-safe-nonce06732adec083c3b621228a458f6f7bf1acfb9ece83c1ece84219e9dff6a922d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTBFOjNCRDhGMjoyMzVFRDg4OjMxNUQ3REE6NkE0RjU0MUUiLCJ2aXNpdG9yX2lkIjoiNTEwNzk2MzE3NjUzNDIzMTM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdb8ab946152b91680f3e537a0b5e946faee60883dbfb8db33a71f4a64621c581
hovercard-subject-tagrepository:349952309
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md
twitter:imagehttps://opengraph.githubassets.com/d0cfe93afa379fc7f28166d708bdf140e2ad6624bb2daf988220fd770b83437d/CJavaScript/JavaInterview
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d0cfe93afa379fc7f28166d708bdf140e2ad6624bb2daf988220fd770b83437d/CJavaScript/JavaInterview
og:image:alt全网最齐全的Java面试题库-附答案-持续更新. Contribute to CJavaScript/JavaInterview development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/CJavaScript/JavaInterview git https://github.com/CJavaScript/JavaInterview.git
octolytics-dimension-user_id49889436
octolytics-dimension-user_loginCJavaScript
octolytics-dimension-repository_id349952309
octolytics-dimension-repository_nwoCJavaScript/JavaInterview
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id336993047
octolytics-dimension-repository_parent_nwoWebInterviewHub/JavaInterview
octolytics-dimension-repository_network_root_id336993047
octolytics-dimension-repository_network_root_nwoWebInterviewHub/JavaInterview
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCJavaScript%2FJavaInterview%2Fblob%2Fmain%2FMybatis.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCJavaScript%2FJavaInterview%2Fblob%2Fmain%2FMybatis.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=CJavaScript%2FJavaInterview
Reloadhttps://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md
Reloadhttps://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md
Reloadhttps://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md
CJavaScript https://github.com/CJavaScript
JavaInterviewhttps://github.com/CJavaScript/JavaInterview
WebInterviewHub/JavaInterviewhttps://github.com/WebInterviewHub/JavaInterview
Notifications https://github.com/login?return_to=%2FCJavaScript%2FJavaInterview
Fork 0 https://github.com/login?return_to=%2FCJavaScript%2FJavaInterview
Star 2 https://github.com/login?return_to=%2FCJavaScript%2FJavaInterview
Code https://github.com/CJavaScript/JavaInterview
Pull requests 0 https://github.com/CJavaScript/JavaInterview/pulls
Actions https://github.com/CJavaScript/JavaInterview/actions
Projects https://github.com/CJavaScript/JavaInterview/projects
Security and quality 0 https://github.com/CJavaScript/JavaInterview/security
Insights https://github.com/CJavaScript/JavaInterview/pulse
Code https://github.com/CJavaScript/JavaInterview
Pull requests https://github.com/CJavaScript/JavaInterview/pulls
Actions https://github.com/CJavaScript/JavaInterview/actions
Projects https://github.com/CJavaScript/JavaInterview/projects
Security and quality https://github.com/CJavaScript/JavaInterview/security
Insights https://github.com/CJavaScript/JavaInterview/pulse
https://github.com/CJavaScript/JavaInterview
JavaInterviewhttps://github.com/CJavaScript/JavaInterview/tree/main
Historyhttps://github.com/CJavaScript/JavaInterview/commits/main/Mybatis.md
https://github.com/CJavaScript/JavaInterview/commits/main/Mybatis.md
JavaInterviewhttps://github.com/CJavaScript/JavaInterview/tree/main
Rawhttps://github.com/CJavaScript/JavaInterview/raw/refs/heads/main/Mybatis.md
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#mybatis
1.什么是Mybatis?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#1%E4%BB%80%E4%B9%88%E6%98%AFmybatis
2.Mybatis的优缺点?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#2mybatis%E7%9A%84%E4%BC%98%E7%BC%BA%E7%82%B9
3.Mybatis使用场合?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#3mybatis%E4%BD%BF%E7%94%A8%E5%9C%BA%E5%90%88
4.#{}和${}的区别是什么?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#4%E5%92%8C%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88
5.当实体类的属性名和表种字段名不一致怎么办?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#5%E5%BD%93%E5%AE%9E%E4%BD%93%E7%B1%BB%E7%9A%84%E5%B1%9E%E6%80%A7%E5%90%8D%E5%92%8C%E8%A1%A8%E7%A7%8D%E5%AD%97%E6%AE%B5%E5%90%8D%E4%B8%8D%E4%B8%80%E8%87%B4%E6%80%8E%E4%B9%88%E5%8A%9E
6.Mybatis是如何将sql执行结果封装为目标对象并返回的?都有哪些映射形式?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#6mybatis%E6%98%AF%E5%A6%82%E4%BD%95%E5%B0%86sql%E6%89%A7%E8%A1%8C%E7%BB%93%E6%9E%9C%E5%B0%81%E8%A3%85%E4%B8%BA%E7%9B%AE%E6%A0%87%E5%AF%B9%E8%B1%A1%E5%B9%B6%E8%BF%94%E5%9B%9E%E7%9A%84%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E6%98%A0%E5%B0%84%E5%BD%A2%E5%BC%8F
7.如何获取自动生成的(主)键值?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#7%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E8%87%AA%E5%8A%A8%E7%94%9F%E6%88%90%E7%9A%84%E4%B8%BB%E9%94%AE%E5%80%BC
8.Mybatis的Xml映射文件中,不同的Xml映射文件,id是否可以重复?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#8mybatis%E7%9A%84xml%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6%E4%B8%AD%E4%B8%8D%E5%90%8C%E7%9A%84xml%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6id%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E9%87%8D%E5%A4%8D
9. Mybatis动态SQL?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#9-mybatis%E5%8A%A8%E6%80%81sql
10.说一下resultMap和resultType?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#10%E8%AF%B4%E4%B8%80%E4%B8%8Bresultmap%E5%92%8Cresulttype
11. Mybatis全局配置文件中有哪些标签?分别代表什么意思?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#11-mybatis%E5%85%A8%E5%B1%80%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E4%B8%AD%E6%9C%89%E5%93%AA%E4%BA%9B%E6%A0%87%E7%AD%BE%E5%88%86%E5%88%AB%E4%BB%A3%E8%A1%A8%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D
12.Mybatis能执行一对一、一对多的关联查询吗?都有哪些实现方式,以及它们之间的区别。https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#12mybatis%E8%83%BD%E6%89%A7%E8%A1%8C%E4%B8%80%E5%AF%B9%E4%B8%80%E4%B8%80%E5%AF%B9%E5%A4%9A%E7%9A%84%E5%85%B3%E8%81%94%E6%9F%A5%E8%AF%A2%E5%90%97%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E5%AE%9E%E7%8E%B0%E6%96%B9%E5%BC%8F%E4%BB%A5%E5%8F%8A%E5%AE%83%E4%BB%AC%E4%B9%8B%E9%97%B4%E7%9A%84%E5%8C%BA%E5%88%AB
13.Mybatis是否支持延迟加载?如果支持,它的实现原理是什么?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#13mybatis%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81%E5%BB%B6%E8%BF%9F%E5%8A%A0%E8%BD%BD%E5%A6%82%E6%9E%9C%E6%94%AF%E6%8C%81%E5%AE%83%E7%9A%84%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86%E6%98%AF%E4%BB%80%E4%B9%88
14.Mybatis都有哪些Executor执行器?它们之间的区别是什么?https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#14mybatis%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9Bexecutor%E6%89%A7%E8%A1%8C%E5%99%A8%E5%AE%83%E4%BB%AC%E4%B9%8B%E9%97%B4%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88
15.Mybatis的一级、二级缓存https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#15mybatis%E7%9A%84%E4%B8%80%E7%BA%A7%E4%BA%8C%E7%BA%A7%E7%BC%93%E5%AD%98
参考链接https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#%E5%8F%82%E8%80%83%E9%93%BE%E6%8E%A5
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#1什么是mybatis
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#2mybatis的优缺点
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#3mybatis使用场合
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#4和的区别是什么
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#5当实体类的属性名和表种字段名不一致怎么办
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#6mybatis是如何将sql执行结果封装为目标对象并返回的都有哪些映射形式
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#7如何获取自动生成的主键值
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#8mybatis的xml映射文件中不同的xml映射文件id是否可以重复
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#9-mybatis动态sql
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#10说一下resultmap和resulttype
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#11-mybatis全局配置文件中有哪些标签分别代表什么意思
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#12mybatis能执行一对一一对多的关联查询吗都有哪些实现方式以及它们之间的区别
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#13mybatis是否支持延迟加载如果支持它的实现原理是什么
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#14mybatis都有哪些executor执行器它们之间的区别是什么
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#15mybatis的一级二级缓存
https://github.com/CJavaScript/JavaInterview/blob/main/Mybatis.md#参考链接
https://my.oschina.net/u/4116655/blog/3055230https://my.oschina.net/u/4116655/blog/3055230
https://www.w3cschool.cn/kzsow/kzsow-4ovb2grl.htmlhttps://www.w3cschool.cn/kzsow/kzsow-4ovb2grl.html
https://www.cnblogs.com/lukelook/p/11099039.htmlhttps://www.cnblogs.com/lukelook/p/11099039.html
https://zhuanlan.zhihu.com/p/60257737https://zhuanlan.zhihu.com/p/60257737
https://www.cnblogs.com/qmillet/p/12523636.htmlhttps://www.cnblogs.com/qmillet/p/12523636.html
https://blog.csdn.net/a745233700/article/details/80977133https://blog.csdn.net/a745233700/article/details/80977133
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.