会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
咖喱给给啊
博客园
首页
新随笔
联系
订阅
管理
2023年1月28日
valida-pattern
摘要: 为啥pattern 在验证null时 不进行验证,因为直接返回true了
阅读全文
posted @ 2023-01-28 04:03 咖喱给给啊
阅读(12)
评论(0)
推荐(0)
2022年11月13日
v-for key的简单理解
摘要: <div v-for="(item,index) in list :key="index">{{item.name}}</div> 用index作为key 渲染的时候 会将index当做key值,这样就会出现 当插入一个数据的时候, 比如插入到了索引为1处, 那么插入的这个数据的索引就是1,key值
阅读全文
posted @ 2022-11-13 05:09 咖喱给给啊
阅读(71)
评论(0)
推荐(0)
2022年11月8日
spring+mybatis
摘要: 1.导入依赖 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>2.0.2</version> </dependency> 2.编写spring配置文件 <?xml
阅读全文
posted @ 2022-11-08 07:24 咖喱给给啊
阅读(26)
评论(0)
推荐(0)
spring+JDBC
摘要: 1.导入依赖 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>5.3.8</version> </dependency> <dependency> <g
阅读全文
posted @ 2022-11-08 06:12 咖喱给给啊
阅读(40)
评论(0)
推荐(0)
2022年11月7日
mybatis数据源单一
摘要: 1.打包方式 jar包 1.导入依赖 <dependencies> <!-- Mybatis核心 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.7</vers
阅读全文
posted @ 2022-11-07 23:38 咖喱给给啊
阅读(41)
评论(0)
推荐(0)
2022年10月29日
简单实现动态代理
摘要: 1.目标接口 package org.example.proxy; public interface Calculator { int add(int i, int j); int sub(int i, int j); int mul(int i, int j); int div(int i, in
阅读全文
posted @ 2022-10-29 23:17 咖喱给给啊
阅读(46)
评论(0)
推荐(0)
2022年10月2日
自定义start
摘要: 1.新建项目atguigu-hello-spring-boot-starter,在pox.xml中导入自动配置atguigu-hello-spring-boot-starter-autoconfigure项目 <dependencies> <dependency> <groupId>com.atgu
阅读全文
posted @ 2022-10-02 06:00 咖喱给给啊
阅读(117)
评论(0)
推荐(0)
2022年9月27日
mybatis-plus
摘要: 1
阅读全文
posted @ 2022-09-27 05:27 咖喱给给啊
阅读(8)
评论(0)
推荐(0)
分页插件
摘要: 1、分页插件使用步骤 a>添加依赖 <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper --> <dependency> <groupId>com.github.pagehelper</groupId> <
阅读全文
posted @ 2022-09-27 03:08 咖喱给给啊
阅读(150)
评论(0)
推荐(0)
MyBatis的逆向工程
摘要: 正向工程:先创建Java实体类,由框架负责根据实体类生成数据库表。Hibernate是支持正向工程 的。 逆向工程:先创建数据库表,由框架负责根据数据库表,反向生成如下资源: Java实体类 Mapper接口 Mapper映射文件 1、创建逆向工程的步骤 a>添加依赖和插件 <!-- 依赖MyBat
阅读全文
posted @ 2022-09-27 02:36 咖喱给给啊
阅读(49)
评论(0)
推荐(0)
下一页
公告