码迷,mamicode.com
首页 >  
搜索关键字:maven mybatis generator    ( 34422个结果
Mybatis中返回Map
在Mybatis中,我们通常会像下边这样用: 返回一个结果 User selectOne(User user); <select id="selectOne" parameterType="cn.lyn4ever.entity.User" resultType="cn.lyn4ever.entity ...
分类:其他好文   时间:2020-12-01 11:56:33    阅读次数:2
The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".
1、mybatis 错误,xxx.xml配置文件报这样的错误,具体错误,如下所示: 1 The content of element type "resultMap" must match 2 3 "(constructor?,id*,result*,association*,collection* ...
分类:其他好文   时间:2020-11-30 16:17:03    阅读次数:17
springcloud(13)zipkin工具的使用
在各项服务的调用过程中,难免出现断层,但是由于整个链路过于复杂难以排查,则使用zipkin可以清楚的看见每次访问的情况和整体的链路分布,及每个应用的依赖和被依赖的项目是什么。 1.下载zipkin https://dl.bintray.com/openzipkin/maven/io/zipkin/j ...
分类:编程语言   时间:2020-11-30 16:00:42    阅读次数:8
精尽MyBatis源码分析 - SQL执行过程(二)之 StatementHandler
该系列文档是本人在学习 Mybatis 的源码过程中总结下来的,可能对读者不太友好,请结合我的源码注释(Mybatis源码分析 GitHub 地址、Mybatis-Spring 源码分析 GitHub 地址、Spring-Boot-Starter 源码分析 GitHub 地址)进行阅读 MyBati ...
分类:数据库   时间:2020-11-30 15:34:38    阅读次数:6
Mybatis源码分析之parameterHandler
之前写过一篇分析动态sql和statementHandler的文章,其实statementHandler里面的 ParameterHandler 和 ResultSetHandler 还是值得分析一下的,本篇就来分析ParameterHandler 一 代码入口 我们以update方法为例 Simp ...
分类:其他好文   时间:2020-11-30 15:26:59    阅读次数:5
maven pom文件报错:Multiple annotations found at this line 解决方案
出现的错误为: Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plu ...
分类:其他好文   时间:2020-11-30 15:21:50    阅读次数:4
mvn dependency:copy-dependencies下载本地仓库jar报错找不到
背景:idea 界面maven >install成功 cmd mvn dependency:copy-dependencies 本地仓库jar报错找不到 直接使用mvn使用的 是C:\Users\Administrator\.m2\settings.xml idea使用的是指定的settings.x ...
分类:编程语言   时间:2020-11-27 11:51:12    阅读次数:20
Redis在SpringBoot的基本使用
一、配置 1.添加依赖 在 springboot 启动器中直接添加依赖,或者创建后添加 Maven 依赖: <!--spring-boot-starter-data-redis--> <dependency> <groupId>org.springframework.boot</groupId> < ...
分类:编程语言   时间:2020-11-27 11:49:48    阅读次数:20
Mybatis的XML中数字不为空的判断
发现1可以进去0进不去 <if test="status != null and status != ''"> and c.status = #{status} </if> 后来修改为 <if test="status != null"> and c.status = #{status} </if> ...
分类:其他好文   时间:2020-11-27 11:44:41    阅读次数:13
zip文件和byte[]字节流的相互转换
1. 引入maven依赖 1 <dependency> 2 <groupId>commons-io</groupId> 3 <artifactId>commons-io</artifactId> 4 <version>2.6</version> 5 </dependency> 2. 将zip文件转化 ...
分类:其他好文   时间:2020-11-26 15:18:31    阅读次数:14
34422条   上一页 1 ... 63 64 65 66 67 ... 3443 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!