mybatis

首页 标签 mybatis
# mybatis #
关注
9639内容
快速创建SpringBoot+SSM解析
此处使用IDEA快速搭建SpringBoot应用,首先用SpringBoot搭建WEB工程: image image image 然后点击Next生成项目,首次生成可能有点慢,下次创建的时候就会快很多,生成后的目录结...
springboot输出日志到指定目录,简单粗暴,springboot输出mybatis日志
springboot输出日志到指定目录,简单粗暴,springboot输出mybatis日志 springboot官方文档地址https://docs.
spring mybatis 的注解事务
首先要在 spring-mybatis的配置文件添加 事务支持,和事务annotation支持 注意:如果是mysql请使用innodb innodb 支持事务功能,myisam 不支持。 <!-- transaction support--> <!-- PlatformTransactionMnager --> <bean id="txManag
| |
来自: 云原生
微服务,微架构[六]之springboot集成mybatis
介绍 mybatis在现在市场占有率相对比较高,使用较多的一个框架,所以本文主要介绍如何将mybatis集成到springboot中进行使用,在之前使用springmvc中集成mybatis非常麻烦,而且有很多xml配置文件,配置起来非常臃肿,而且维护起来复杂,往往整理这些配置文件就需要花很长时间才能基础搭建起来,springboot集成mybatis完全抛弃之前的xml文件,经过几个简
Java mongoDB实现layIM版web即时通讯系统
webChat 基于websocket的即时通讯系统。 涉及技术:java、springMVC、mybatis、jquery、layim、mongoDB等等。 核心功能 参见layim演示 我这里实现了后端的全部功能。 包括我踩过的坑:1、java操作mongo 2、离线消息推送的线程同步异步问题等等。 websocket的代码实现 前端im.js 后端L
mybatis @Select注解中当参数为空则不添加该参数的判断
public interface OrderMapper extends SqlMapper{ @Select("select * from tbl_order where room like #{room} and mydate like #{my...
免费试用