Mybaties of mybaties-config.xml configuration file

. 1 <XML Version = "1.0" encoding = "UTF-. 8"??>    
 2 <! DOCTYPE Configuration 
 . 3 the PUBLIC "- // 3.0 // EN mybatis.org//DTD Config" 
 . 4 "http://mybatis.org /dtd/mybatis-3-config.dtd ">
 . 5 <configuration>
 . 6  
. 7      <-! configurable global properties ->
 . 8      <Settings>
 . 9          <-! getGeneratedKeys to obtain database using jdbc increment primary key - >
 10          <Setting name = "useGeneratedKeys" value = "to true" />
 . 11          <-! column aliases used instead of the column name ->
 12 is          <Setting name = "useColumnLabel" value = "to true" />
13          <! - open the automatic hump naming ->
 14         <setting name="mapUnderscoreToCamelCase" value="true"/>
15     </settings>
16     
17 </configuration>

 

Guess you like

Origin www.cnblogs.com/in-the-game-of-thrones/p/11205374.html