当前位置:网站首页>使用xml文件打印mybaties-log插件的方式
使用xml文件打印mybaties-log插件的方式
2022-07-02 18:01:00 【健康的Roy彭】
resource下新建目录mybatis-config
<?xml version="1.0" encoding="UTF-8"?><settings>
<!-- 全局映射器启用缓存 -->
<setting name="cacheEnabled" value="true"/>
<setting name="useGeneratedKeys" value="true"/>
<setting name="defaultExecutorType" value="REUSE"/>
<!--<setting name="defaultFetchSize" value="50"/>-->
<!-- 字段为空时仍调用model的set方法或map的put方法 -->
<setting name="callSettersOnNulls" value="true"/>
<setting name="mapUnderscoreToCamelCase" value="true"/>
<setting name="jdbcTypeForNull" value="NULL"/>
<setting name="logImpl" value="STDOUT_LOGGING"/>
<!--<setting name="defaultStatementTimeout" value="300"/>-->
</settings>
<objectWrapperFactory type="com.baomidou.mybatisplus.MybatisMapWrapperFactory"/>
<!-- 分页查询插件
<plugins>
<plugin interceptor="com.baomidou.mybatisplus.plugins.PaginationInterceptor">
<property name="dialectType" value="oracle"/>
<property name="optimizeType" value="aliDruid"/>
</plugin>
</plugins>
-->
边栏推荐
- 性能测试如何创造业务价值
- [test development] takes you to know what software testing is
- [100 cases of JVM tuning practice] 02 - five cases of virtual machine stack and local method stack tuning
- Obligatoire pour les débutants, cliquez sur deux boutons pour passer à un contenu différent
- R language uses the lsnofunction function function of epidisplay package to list all objects in the current space, except user-defined function objects
- LightGroupButton* sender = static_cast<LightGroupButton*>(QObject::sender());
- UML 类图
- Tutorial (5.0) 10 Troubleshooting * fortiedr * Fortinet network security expert NSE 5
- FastDFS安装
- 9D电影是怎样的?(+维度空间常识)
猜你喜欢

【JVM调优实战100例】02——虚拟机栈与本地方法栈调优五例

Deep learning mathematics foundation

拦截器与过滤器的区别

Tutorial (5.0) 10 Troubleshooting * fortiedr * Fortinet network security expert NSE 5

Looking for innocence in New York -- a beautiful day at the discovery center of Legoland, New Jersey

Introduction to the paper | analysis and criticism of using the pre training language model as a knowledge base

Stm32g0 USB DFU upgrade verification error -2

数据降维——主成分分析

Kubernetes three open interfaces first sight

Processing strategy of message queue message loss and repeated message sending
随机推荐
Thoroughly understand the point cloud processing tutorial based on open3d!
云呐|为什么要用固定资产管理系统,怎么启用固定资产管理系统
Talk about the design of red envelope activities in e-commerce system
Stm32g0 USB DFU upgrade verification error -2
[daily question] first day
How to copy and paste interlaced in Excel
[0701] [paper reading] allowing data imbalance issue with perforated input during influence
The difference between interceptor and filter
R语言使用epiDisplay包的lsNoFunction函数列出当前空间中的所有对象、除了用户自定义的函数对象
Golang并发编程——goroutine、channel、sync
R语言ggplot2可视化:gganimate包创建动态柱状图动画(gif)、使用transition_states函数在动画中沿给定维度逐步显示柱状图
SQL training 2
二进制操作
【每日一题】第一天
MySQL advanced learning summary 7: MySQL data structure - Comparison of hash index, AVL tree, B tree and b+ tree
Mysql高级篇学习总结7:Mysql数据结构-Hash索引、AVL树、B树、B+树的对比
[0701] [论文阅读] Alleviating Data Imbalance Issue with Perturbed Input During Inference
【JVM调优实战100例】02——虚拟机栈与本地方法栈调优五例
Mysql高级篇学习总结6:索引的概念及理解、B+树产生过程详解、MyISAM与InnoDB的对比
2022 compilation principle final examination recall Edition