codefaster-dubbo-template
Version:
springboot、dubbo、nacos项目初始化模版
24 lines (23 loc) • 903 B
text/xml
<configuration>
<properties>
<!-- oracle 或者 mysql-->
<property name="dialect" value="mysql"/>
<!-- sql分页拦截的语句格式 -->
<property name="pageSqlId" value=".*Page$"/>
<!-- showsql -->
<property name="showsql" value="true"/>
</properties>
<!-- 开启驼峰映射 ,为自定义的SQL语句服务-->
<!--设置启用数据库字段下划线映射到java对象的驼峰式命名属性,默认为false-->
<settings>
<setting name="mapUnderscoreToCamelCase" value="true"/>
</settings>
<plugins>
<!-- 分页拦截器 -->
<plugin interceptor="com.createTemplate.model.mybatis.interceptor.PageInterceptor">
</plugin>
</plugins>
</configuration>