<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; myBatis</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=mybatis" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>Mybatis-plus代码生成器</title>
		<link>http://www.lanxinbase.com/?p=3008</link>
		<comments>http://www.lanxinbase.com/?p=3008#comments</comments>
		<pubDate>Sat, 07 Feb 2026 10:56:32 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[myBatis]]></category>
		<category><![CDATA[Mybatis-plus]]></category>
		<category><![CDATA[代码生成器]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=3008</guid>
		<description><![CDATA[通过mybatis-plus生成代码，写了一个示例，方便以后使用： 需要的依赖文件： &#60;dependen [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=3008</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyBatis 二级缓存</title>
		<link>http://www.lanxinbase.com/?p=2605</link>
		<comments>http://www.lanxinbase.com/?p=2605#comments</comments>
		<pubDate>Mon, 08 Mar 2021 01:36:14 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[3.数据库相关]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[myBatis]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2605</guid>
		<description><![CDATA[MyBatis 内置了一个强大的事务性查询缓存机制，它可以非常方便地配置和定制。 为了使它更加强大而且易于配置 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2605</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mybatis XML 映射器</title>
		<link>http://www.lanxinbase.com/?p=2535</link>
		<comments>http://www.lanxinbase.com/?p=2535#comments</comments>
		<pubDate>Thu, 14 May 2020 07:08:19 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[myBatis]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2535</guid>
		<description><![CDATA[XML 映射器
MyBatis 的真正强大在于它的语句映射，这是它的魔力所在。由于它的异常强大，映射器的 XML 文件就显得相对简单。如果拿它跟具有相同功能的 JDBC 代码进行对比，你会立即发现省掉了将近 95% 的代码。MyBatis 致力于减少使用成本，让用户能更专注于 SQL 代码。

SQL 映射文件只有很少的几个顶级元素（按照应被定义的顺序列出）：

cache – 该命名空间的缓存配置。
cache-ref – 引用其它命名空间的缓存配置。
resultMap – 描述如何从数据库结果集中加载对象，是最复杂也是最强大的元素。
parameterMap – 老式风格的参数映射。此元素已被废弃，并可能在将来被移除！请使用行内参数映射。文档中不会介绍此元素。
sql – 可被其它语句引用的可重用语句块。
insert – 映射插入语句。
update – 映射更新语句。
delete – 映射删除语句。
select – 映射查询语句。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2535</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring boot模块化项目Mybatis无法找到Mapper解决办法</title>
		<link>http://www.lanxinbase.com/?p=2452</link>
		<comments>http://www.lanxinbase.com/?p=2452#comments</comments>
		<pubDate>Tue, 19 Nov 2019 08:05:21 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[mapper]]></category>
		<category><![CDATA[myBatis]]></category>
		<category><![CDATA[Spring boot]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2452</guid>
		<description><![CDATA[最近设计系统架构，需要把项目功能子模块化，框架使用Spring Cloud、Spring Boot，在子模块化 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2452</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring+MyBatis实现数据库读写分离4种方案</title>
		<link>http://www.lanxinbase.com/?p=1825</link>
		<comments>http://www.lanxinbase.com/?p=1825#comments</comments>
		<pubDate>Tue, 10 Apr 2018 09:12:33 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[myBatis]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[读写分离]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1825</guid>
		<description><![CDATA[通过MyBatis配置文件创建读写分离两个DataSource，每个SqlSessionFactoryBean对象的mapperLocations属性制定两个读写数据源的配置文件。将所有读的操作配置在读文件中，所有写的操作配置在写文件中。

优点：实现简单
缺点：维护麻烦，需要对原有的xml文件进行重新修改，不支持多读，不易扩展
实现方式]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1825</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myBatis数据库自动断开的解决办法</title>
		<link>http://www.lanxinbase.com/?p=1767</link>
		<comments>http://www.lanxinbase.com/?p=1767#comments</comments>
		<pubDate>Mon, 25 Sep 2017 02:45:24 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[BasicDataSource]]></category>
		<category><![CDATA[minEvictableIdleTimeMillis]]></category>
		<category><![CDATA[myBatis]]></category>
		<category><![CDATA[testOnBorrow]]></category>
		<category><![CDATA[testWhileIdle]]></category>
		<category><![CDATA[timeBetweenEvictionRunsMillis]]></category>
		<category><![CDATA[validationQuery]]></category>
		<category><![CDATA[自动关闭数据库]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1767</guid>
		<description><![CDATA[使用Spring+SpringMVC+myBatis+Mysql开发一个应用服务端，由于在测试阶段没有上线，所 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1767</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
