上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: 1.注解在接口实现 @Select("select * from user") public List getUsers... 阅读全文
posted @ 2020-07-17 14:10 iucbjb 阅读(33) 评论(0) 推荐(0)
摘要: 首先创建两个数据库表 一,内连接 组合两个表中的记录,返回关联字段相符的记录,即:两个表的交集部分。 select * fro... 阅读全文
posted @ 2020-07-15 09:28 iucbjb 阅读(62) 评论(0) 推荐(0)
摘要: 小猫爬山 翰翰和达达饲养了N只小猫,这天,小猫们要去爬山。经历了千辛万苦,小猫们终于爬上了山顶,但是疲倦的它们再也不想徒步走下山了(... 阅读全文
posted @ 2020-07-14 22:15 iucbjb 阅读(61) 评论(0) 推荐(0)
摘要: package com.wang.util;import org.junit.Test;import java.util.UUID;... 阅读全文
posted @ 2020-07-12 20:03 iucbjb 阅读(99) 评论(0) 推荐(0)
摘要: 使用Limit分页 语法:SELECT * from user limit startIndex,pageSize;SELECT *... 阅读全文
posted @ 2020-07-11 21:12 iucbjb 阅读(26) 评论(0) 推荐(0)
摘要: 数据库字段 实体类 public class User { private int id; private St... 阅读全文
posted @ 2020-07-11 20:54 iucbjb 阅读(39) 评论(0) 推荐(0)
摘要: 基配置解析 环境配置(environments)属性(properties)类型别名(typeAliases)设置映射器(mapp... 阅读全文
posted @ 2020-07-11 20:44 iucbjb 阅读(38) 评论(0) 推荐(0)
摘要: 准备工作 见上一篇博客mybatis入门 CRUD 增 dao接口:public boolean addUser(User user... 阅读全文
posted @ 2020-07-11 20:17 iucbjb 阅读(29) 评论(0) 推荐(0)
摘要: 简介 MyBatis 是一款优秀的持久层框架MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apa... 阅读全文
posted @ 2020-07-09 17:28 iucbjb 阅读(37) 评论(0) 推荐(0)
摘要: 今天学习mybatis写第一个项目时报错 com.sun.org.apache.xerces.internal.impl.io.Ma... 阅读全文
posted @ 2020-07-08 22:02 iucbjb 阅读(48) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页