René's URL Explorer Experiment


Title: JavaStudy/Interview/MyBatis面试题.md at master · githublover0101/JavaStudy · GitHub

Open Graph Title: JavaStudy/Interview/MyBatis面试题.md at master · githublover0101/JavaStudy

X Title: JavaStudy/Interview/MyBatis面试题.md at master · githublover0101/JavaStudy

Description: Contribute to githublover0101/JavaStudy development by creating an account on GitHub.

Open Graph Description: Contribute to githublover0101/JavaStudy development by creating an account on GitHub.

X Description: Contribute to githublover0101/JavaStudy development by creating an account on GitHub.

Opengraph URL: https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:085abd34-18f1-833b-8dce-6aec3933eb19
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCF1C:352D9:4C1B293:65FE68B:6A655875
html-safe-noncee68a30a410d3f2e7692725d0198f7c486251af2848a253109859867eeaafdae2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjFDOjM1MkQ5OjRDMUIyOTM6NjVGRTY4Qjo2QTY1NTg3NSIsInZpc2l0b3JfaWQiOiIxNjYzODI2NDUwNTc0NTYzNDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2af55ca6dd4d758e058305d95499e59f1f149d6791f68bcc9d15309c0298feaf
hovercard-subject-tagrepository:435909657
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/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md
twitter:imagehttps://opengraph.githubassets.com/7d2c7c957d7d9ee77479e3ac61af212e571bdbc4ca238ec26614270666ea23d8/githublover0101/JavaStudy
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d2c7c957d7d9ee77479e3ac61af212e571bdbc4ca238ec26614270666ea23d8/githublover0101/JavaStudy
og:image:altContribute to githublover0101/JavaStudy development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-cache
go-importgithub.com/githublover0101/JavaStudy git https://github.com/githublover0101/JavaStudy.git
octolytics-dimension-user_id82754072
octolytics-dimension-user_logingithublover0101
octolytics-dimension-repository_id435909657
octolytics-dimension-repository_nwogithublover0101/JavaStudy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id271675868
octolytics-dimension-repository_parent_nwoeasy16/JavaStudy
octolytics-dimension-repository_network_root_id271675868
octolytics-dimension-repository_network_root_nwoeasy16/JavaStudy
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
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithublover0101%2FJavaStudy%2Fblob%2Fmaster%2FInterview%2FMyBatis%25E9%259D%25A2%25E8%25AF%2595%25E9%25A2%2598.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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fgithublover0101%2FJavaStudy%2Fblob%2Fmaster%2FInterview%2FMyBatis%25E9%259D%25A2%25E8%25AF%2595%25E9%25A2%2598.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=githublover0101%2FJavaStudy
Reloadhttps://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md
Reloadhttps://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md
Reloadhttps://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md
githublover0101 https://github.com/githublover0101
JavaStudyhttps://github.com/githublover0101/JavaStudy
easy16/JavaStudyhttps://github.com/easy16/JavaStudy
Notifications https://github.com/login?return_to=%2Fgithublover0101%2FJavaStudy
Fork 0 https://github.com/login?return_to=%2Fgithublover0101%2FJavaStudy
Star 0 https://github.com/login?return_to=%2Fgithublover0101%2FJavaStudy
Code https://github.com/githublover0101/JavaStudy
Pull requests 0 https://github.com/githublover0101/JavaStudy/pulls
Actions https://github.com/githublover0101/JavaStudy/actions
Projects https://github.com/githublover0101/JavaStudy/projects
Security and quality 0 https://github.com/githublover0101/JavaStudy/security
Insights https://github.com/githublover0101/JavaStudy/pulse
Code https://github.com/githublover0101/JavaStudy
Pull requests https://github.com/githublover0101/JavaStudy/pulls
Actions https://github.com/githublover0101/JavaStudy/actions
Projects https://github.com/githublover0101/JavaStudy/projects
Security and quality https://github.com/githublover0101/JavaStudy/security
Insights https://github.com/githublover0101/JavaStudy/pulse
https://github.com/githublover0101/JavaStudy
JavaStudyhttps://github.com/githublover0101/JavaStudy/tree/master
Interviewhttps://github.com/githublover0101/JavaStudy/tree/master/Interview
Historyhttps://github.com/githublover0101/JavaStudy/commits/master/Interview/MyBatis%E9%9D%A2%E8%AF%95%E9%A2%98.md
https://github.com/githublover0101/JavaStudy/commits/master/Interview/MyBatis%E9%9D%A2%E8%AF%95%E9%A2%98.md
JavaStudyhttps://github.com/githublover0101/JavaStudy/tree/master
Interviewhttps://github.com/githublover0101/JavaStudy/tree/master/Interview
Rawhttps://github.com/githublover0101/JavaStudy/raw/refs/heads/master/Interview/MyBatis%E9%9D%A2%E8%AF%95%E9%A2%98.md
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#mybatis面试题
一.MyBatis简介https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E4%B8%80mybatis%E7%AE%80%E4%BB%8B
1.MyBatis是什么?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E6%98%AF%E4%BB%80%E4%B9%88
2.ORM是什么https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2orm%E6%98%AF%E4%BB%80%E4%B9%88
3.为什么说Mybatis是半自动ORM映射工具?它与全自动的区别在哪里?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4mybatis%E6%98%AF%E5%8D%8A%E8%87%AA%E5%8A%A8orm%E6%98%A0%E5%B0%84%E5%B7%A5%E5%85%B7%E5%AE%83%E4%B8%8E%E5%85%A8%E8%87%AA%E5%8A%A8%E7%9A%84%E5%8C%BA%E5%88%AB%E5%9C%A8%E5%93%AA%E9%87%8C
4.传统JDBC开发存在的问题https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4%E4%BC%A0%E7%BB%9Fjdbc%E5%BC%80%E5%8F%91%E5%AD%98%E5%9C%A8%E7%9A%84%E9%97%AE%E9%A2%98
5.JDBC编程有哪些不足之处,MyBatis是如何解决这些问题的?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5jdbc%E7%BC%96%E7%A8%8B%E6%9C%89%E5%93%AA%E4%BA%9B%E4%B8%8D%E8%B6%B3%E4%B9%8B%E5%A4%84mybatis%E6%98%AF%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%E8%BF%99%E4%BA%9B%E9%97%AE%E9%A2%98%E7%9A%84
6.Mybatis优缺点https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6mybatis%E4%BC%98%E7%BC%BA%E7%82%B9
7.MyBatis框架适用场景https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7mybatis%E6%A1%86%E6%9E%B6%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF
8.Hibernate 和 MyBatis 的区别https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8hibernate-%E5%92%8C-mybatis-%E7%9A%84%E5%8C%BA%E5%88%AB
二.MyBatis的解析和运行原理https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E4%BA%8Cmybatis%E7%9A%84%E8%A7%A3%E6%9E%90%E5%92%8C%E8%BF%90%E8%A1%8C%E5%8E%9F%E7%90%86
1.MyBatis编程步骤是什么样的?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E7%BC%96%E7%A8%8B%E6%AD%A5%E9%AA%A4%E6%98%AF%E4%BB%80%E4%B9%88%E6%A0%B7%E7%9A%84
2.请说说MyBatis的工作原理https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2%E8%AF%B7%E8%AF%B4%E8%AF%B4mybatis%E7%9A%84%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86
3.MyBatis的功能架构是怎样的https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3mybatis%E7%9A%84%E5%8A%9F%E8%83%BD%E6%9E%B6%E6%9E%84%E6%98%AF%E6%80%8E%E6%A0%B7%E7%9A%84
4.MyBatis的框架架构设计是怎么样的https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4mybatis%E7%9A%84%E6%A1%86%E6%9E%B6%E6%9E%B6%E6%9E%84%E8%AE%BE%E8%AE%A1%E6%98%AF%E6%80%8E%E4%B9%88%E6%A0%B7%E7%9A%84
5.为什么需要预编译https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5%E4%B8%BA%E4%BB%80%E4%B9%88%E9%9C%80%E8%A6%81%E9%A2%84%E7%BC%96%E8%AF%91
(1). 定义:https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1-%E5%AE%9A%E4%B9%89
(2). 为什么需要预编译https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2-%E4%B8%BA%E4%BB%80%E4%B9%88%E9%9C%80%E8%A6%81%E9%A2%84%E7%BC%96%E8%AF%91
6.Mybatis都有哪些Executor执行器?它们之间的区别是什么?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6mybatis%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
7.Mybatis中如何指定使用哪一种Executor执行器?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7mybatis%E4%B8%AD%E5%A6%82%E4%BD%95%E6%8C%87%E5%AE%9A%E4%BD%BF%E7%94%A8%E5%93%AA%E4%B8%80%E7%A7%8Dexecutor%E6%89%A7%E8%A1%8C%E5%99%A8
8.Mybatis是否支持延迟加载?如果支持,它的实现原理是什么?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8mybatis%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
三.映射器https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E4%B8%89%E6%98%A0%E5%B0%84%E5%99%A8
1.#{}和${}的区别https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1%E5%92%8C%E7%9A%84%E5%8C%BA%E5%88%AB
2.模糊查询like语句该怎么写https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2%E6%A8%A1%E7%B3%8A%E6%9F%A5%E8%AF%A2like%E8%AF%AD%E5%8F%A5%E8%AF%A5%E6%80%8E%E4%B9%88%E5%86%99
3.在mapper中如何传递多个参数https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3%E5%9C%A8mapper%E4%B8%AD%E5%A6%82%E4%BD%95%E4%BC%A0%E9%80%92%E5%A4%9A%E4%B8%AA%E5%8F%82%E6%95%B0
4.Mybatis如何执行批量操作https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4mybatis%E5%A6%82%E4%BD%95%E6%89%A7%E8%A1%8C%E6%89%B9%E9%87%8F%E6%93%8D%E4%BD%9C
5.如何获取生成的主键https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E7%94%9F%E6%88%90%E7%9A%84%E4%B8%BB%E9%94%AE
6.当实体类中的属性名和表中的字段名不一样 ,怎么办https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6%E5%BD%93%E5%AE%9E%E4%BD%93%E7%B1%BB%E4%B8%AD%E7%9A%84%E5%B1%9E%E6%80%A7%E5%90%8D%E5%92%8C%E8%A1%A8%E4%B8%AD%E7%9A%84%E5%AD%97%E6%AE%B5%E5%90%8D%E4%B8%8D%E4%B8%80%E6%A0%B7-%E6%80%8E%E4%B9%88%E5%8A%9E
7. Mapper 编写有哪几种方式?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7-mapper-%E7%BC%96%E5%86%99%E6%9C%89%E5%93%AA%E5%87%A0%E7%A7%8D%E6%96%B9%E5%BC%8F
8.什么是MyBatis的接口绑定?有哪些实现方式?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8%E4%BB%80%E4%B9%88%E6%98%AFmybatis%E7%9A%84%E6%8E%A5%E5%8F%A3%E7%BB%91%E5%AE%9A%E6%9C%89%E5%93%AA%E4%BA%9B%E5%AE%9E%E7%8E%B0%E6%96%B9%E5%BC%8F
9.使用MyBatis的mapper接口调用时有哪些要求?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#9%E4%BD%BF%E7%94%A8mybatis%E7%9A%84mapper%E6%8E%A5%E5%8F%A3%E8%B0%83%E7%94%A8%E6%97%B6%E6%9C%89%E5%93%AA%E4%BA%9B%E8%A6%81%E6%B1%82
10.最佳实践中,通常一个Xml映射文件,都会写一个Dao接口与之对应,请问,这个Dao接口的工作原理是什么?Dao接口里的方法,参数不同时,方法能重载吗https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#10%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5%E4%B8%AD%E9%80%9A%E5%B8%B8%E4%B8%80%E4%B8%AAxml%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6%E9%83%BD%E4%BC%9A%E5%86%99%E4%B8%80%E4%B8%AAdao%E6%8E%A5%E5%8F%A3%E4%B8%8E%E4%B9%8B%E5%AF%B9%E5%BA%94%E8%AF%B7%E9%97%AE%E8%BF%99%E4%B8%AAdao%E6%8E%A5%E5%8F%A3%E7%9A%84%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86%E6%98%AF%E4%BB%80%E4%B9%88dao%E6%8E%A5%E5%8F%A3%E9%87%8C%E7%9A%84%E6%96%B9%E6%B3%95%E5%8F%82%E6%95%B0%E4%B8%8D%E5%90%8C%E6%97%B6%E6%96%B9%E6%B3%95%E8%83%BD%E9%87%8D%E8%BD%BD%E5%90%97
11.Mybatis的Xml映射文件中,不同的Xml映射文件,id是否可以重复?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#11mybatis%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
12.简述Mybatis的Xml映射文件和Mybatis内部数据结构之间的映射关系?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#12%E7%AE%80%E8%BF%B0mybatis%E7%9A%84xml%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6%E5%92%8Cmybatis%E5%86%85%E9%83%A8%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B9%8B%E9%97%B4%E7%9A%84%E6%98%A0%E5%B0%84%E5%85%B3%E7%B3%BB
13.Mybatis是如何将sql执行结果封装为目标对象并返回的?都有哪些映射形式?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#13mybatis%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
14.Xml映射文件中,除了常见的select|insert|updae|delete标签之外,还有哪些标签?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#14xml%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6%E4%B8%AD%E9%99%A4%E4%BA%86%E5%B8%B8%E8%A7%81%E7%9A%84selectinsertupdaedelete%E6%A0%87%E7%AD%BE%E4%B9%8B%E5%A4%96%E8%BF%98%E6%9C%89%E5%93%AA%E4%BA%9B%E6%A0%87%E7%AD%BE
15.Mybatis映射文件中,如果A标签通过include引用了B标签的内容,请问,B标签能否定义在A标签的后面,还是说必须定义在A标签的前面?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#15mybatis%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6%E4%B8%AD%E5%A6%82%E6%9E%9Ca%E6%A0%87%E7%AD%BE%E9%80%9A%E8%BF%87include%E5%BC%95%E7%94%A8%E4%BA%86b%E6%A0%87%E7%AD%BE%E7%9A%84%E5%86%85%E5%AE%B9%E8%AF%B7%E9%97%AEb%E6%A0%87%E7%AD%BE%E8%83%BD%E5%90%A6%E5%AE%9A%E4%B9%89%E5%9C%A8a%E6%A0%87%E7%AD%BE%E7%9A%84%E5%90%8E%E9%9D%A2%E8%BF%98%E6%98%AF%E8%AF%B4%E5%BF%85%E9%A1%BB%E5%AE%9A%E4%B9%89%E5%9C%A8a%E6%A0%87%E7%AD%BE%E7%9A%84%E5%89%8D%E9%9D%A2
四.高级查询https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E5%9B%9B%E9%AB%98%E7%BA%A7%E6%9F%A5%E8%AF%A2
1.MyBatis实现一对一,一对多有几种方式,怎么操作的?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E5%AE%9E%E7%8E%B0%E4%B8%80%E5%AF%B9%E4%B8%80%E4%B8%80%E5%AF%B9%E5%A4%9A%E6%9C%89%E5%87%A0%E7%A7%8D%E6%96%B9%E5%BC%8F%E6%80%8E%E4%B9%88%E6%93%8D%E4%BD%9C%E7%9A%84
2.Mybatis是否可以映射Enum枚举类?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2mybatis%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E6%98%A0%E5%B0%84enum%E6%9E%9A%E4%B8%BE%E7%B1%BB
五.动态SQLhttps://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E4%BA%94%E5%8A%A8%E6%80%81sql
1.Mybatis动态sql是做什么的?都有哪些动态sql?能简述一下动态sql的执行原理不?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E5%8A%A8%E6%80%81sql%E6%98%AF%E5%81%9A%E4%BB%80%E4%B9%88%E7%9A%84%E9%83%BD%E6%9C%89%E5%93%AA%E4%BA%9B%E5%8A%A8%E6%80%81sql%E8%83%BD%E7%AE%80%E8%BF%B0%E4%B8%80%E4%B8%8B%E5%8A%A8%E6%80%81sql%E7%9A%84%E6%89%A7%E8%A1%8C%E5%8E%9F%E7%90%86%E4%B8%8D
六.插件模块https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E5%85%AD%E6%8F%92%E4%BB%B6%E6%A8%A1%E5%9D%97
1.Mybatis是如何进行分页的?分页插件的原理是什么?https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E6%98%AF%E5%A6%82%E4%BD%95%E8%BF%9B%E8%A1%8C%E5%88%86%E9%A1%B5%E7%9A%84%E5%88%86%E9%A1%B5%E6%8F%92%E4%BB%B6%E7%9A%84%E5%8E%9F%E7%90%86%E6%98%AF%E4%BB%80%E4%B9%88
2.简述Mybatis的插件运行原理,以及如何编写一个插件。https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2%E7%AE%80%E8%BF%B0mybatis%E7%9A%84%E6%8F%92%E4%BB%B6%E8%BF%90%E8%A1%8C%E5%8E%9F%E7%90%86%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E7%BC%96%E5%86%99%E4%B8%80%E4%B8%AA%E6%8F%92%E4%BB%B6
七.缓存https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#%E4%B8%83%E7%BC%93%E5%AD%98
1.Mybatis的一级、二级缓存https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis%E7%9A%84%E4%B8%80%E7%BA%A7%E4%BA%8C%E7%BA%A7%E7%BC%93%E5%AD%98
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#说明
点击加入群聊https://jq.qq.com/?_wv=1027&k=5Op2CWT
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#一mybatis简介
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis是什么
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2orm是什么
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3为什么说mybatis是半自动orm映射工具它与全自动的区别在哪里
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4传统jdbc开发存在的问题
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5jdbc编程有哪些不足之处mybatis是如何解决这些问题的
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6mybatis优缺点
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7mybatis框架适用场景
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8hibernate-和-mybatis-的区别
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#二mybatis的解析和运行原理
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis编程步骤是什么样的
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2请说说mybatis的工作原理
https://camo.githubusercontent.com/bbe0bf730063bdd37ff9dc402e4da11cc1e3b7d121affe69b620a17b02db9ef7/68747470733a2f2f75706c6f616465722e7368696d6f2e696d2f662f78647842326a62365852735254576b632e706e67217468756d626e61696c
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3mybatis的功能架构是怎样的
https://camo.githubusercontent.com/d6b5454dcaae2b4940ba8c576ed9c40b56725fb7079231ce1bb7ace1f33de636/68747470733a2f2f75706c6f616465722e7368696d6f2e696d2f662f516e777a70467638746f414a544765652e706e67217468756d626e61696c
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4mybatis的框架架构设计是怎么样的
https://camo.githubusercontent.com/f47320655d974b41151e2b1c3f854d477e623fd636e7d15ff70c74b39aeb6cd8/68747470733a2f2f75706c6f616465722e7368696d6f2e696d2f662f31556c38773931744757673553366a672e706e67217468756d626e61696c
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5为什么需要预编译
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1-定义
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2-为什么需要预编译
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6mybatis都有哪些executor执行器它们之间的区别是什么
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7mybatis中如何指定使用哪一种executor执行器
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8mybatis是否支持延迟加载如果支持它的实现原理是什么
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#三映射器
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1和的区别
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2模糊查询like语句该怎么写
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#3在mapper中如何传递多个参数
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#4mybatis如何执行批量操作
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#5如何获取生成的主键
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#6当实体类中的属性名和表中的字段名不一样-怎么办
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#7-mapper-编写有哪几种方式
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#8什么是mybatis的接口绑定有哪些实现方式
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#9使用mybatis的mapper接口调用时有哪些要求
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#10最佳实践中通常一个xml映射文件都会写一个dao接口与之对应请问这个dao接口的工作原理是什么dao接口里的方法参数不同时方法能重载吗
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#13mybatis是如何将sql执行结果封装为目标对象并返回的都有哪些映射形式
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#14xml映射文件中除了常见的selectinsertupdaedelete标签之外还有哪些标签
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#15mybatis映射文件中如果a标签通过include引用了b标签的内容请问b标签能否定义在a标签的后面还是说必须定义在a标签的前面
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#四高级查询
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis实现一对一一对多有几种方式怎么操作的
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2mybatis是否可以映射enum枚举类
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#五动态sql
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis动态sql是做什么的都有哪些动态sql能简述一下动态sql的执行原理不
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#六插件模块
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis是如何进行分页的分页插件的原理是什么
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#2简述mybatis的插件运行原理以及如何编写一个插件
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#七缓存
https://github.com/githublover0101/JavaStudy/blob/master/Interview/MyBatis面试题.md#1mybatis的一级二级缓存
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.