diff --git a/mybatis-spring-boot-autoconfigure/src/site/xdoc/index.xml.vm b/mybatis-spring-boot-autoconfigure/src/site/xdoc/index.xml.vm index 6455fbca..2f08fa92 100644 --- a/mybatis-spring-boot-autoconfigure/src/site/xdoc/index.xml.vm +++ b/mybatis-spring-boot-autoconfigure/src/site/xdoc/index.xml.vm @@ -194,7 +194,7 @@ public class CityDao {
+ In MyBatis-Spring-Boot-Starter 1.1.0 or later, you can configure the org.apache.ibatis.session.Configuration
using the application.properties
.
+ The property prefix is mybatis.configuration
. About available properties see the MyBatis reference page.
+
Configuration Example:
+ +NOTE This feature (mybatis.configuration.*
) cannot use at the same time with the MyBatis xml config file (mybatis.config-location
).
The project provides two samples so you play and experiment with them: