会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Bonnie_ξ
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
38
下一页
2021年8月29日
SpringBoot数据访问之整合mybatis注解版
摘要: 创建数据库: use vuesite; CREATE TABLE city ( id INT PRIMARY KEY auto_increment, name VARCHAR(255), state VARCHAR(255), country VARCHAR(255) ); 创建实体类: packa
阅读全文
posted @ 2021-08-29 17:59 Bonnie_ξ
阅读(44)
评论(0)
推荐(0)
2021年8月22日
b 站滑块
摘要: # -*- coding: UTF-8 -*- from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support impor
阅读全文
posted @ 2021-08-22 17:35 Bonnie_ξ
阅读(63)
评论(0)
推荐(0)
Java读取本地json文件
摘要: { "RECORDS": [ { "movieId": "1", "name": "肖申克的救赎 The Shawshank Redemption", "director": "弗兰克·德拉邦特", "scenarist": "弗兰克·德拉邦特 / 斯蒂芬·金", "actors": "蒂姆·罗宾斯
阅读全文
posted @ 2021-08-22 12:54 Bonnie_ξ
阅读(532)
评论(0)
推荐(0)
2021年8月19日
日期格式化类 DateFormatUtils
摘要: Maven依赖 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.7</version> </dependency> 常用API Date date
阅读全文
posted @ 2021-08-19 11:28 Bonnie_ξ
阅读(882)
评论(0)
推荐(0)
教你快速从SQL过渡到Elasticsearch的DSL查询
摘要: 目录 前言 bool-相当于一个括号 should-相当于or must-相当于and must_not-相当于 ! and term-相当于= terms-相当于in range-相当于between exist相当于is not null match-类似match...against incl
阅读全文
posted @ 2021-08-19 10:32 Bonnie_ξ
阅读(265)
评论(0)
推荐(0)
注解篇 - @Configureation
摘要: 前言 AnnotationConfigApplicationContext或者AnnotationConfigWebApplicationContext 进行扫描。用于构建bean定义以及初始化Spring容器。 它是在spring3.0版本之后出现的。此注解是spring支持注解驱动开发的一个标志
阅读全文
posted @ 2021-08-19 10:29 Bonnie_ξ
阅读(52)
评论(0)
推荐(0)
Spring Boot自动配置原理与实践
摘要: 1、配置Maven依赖 Spring Boot自动化配置主要依赖如下两个包: spring-boot-starter:打包starter主要依赖 configuration-processor:自动化配置主要依赖 <dependency> <groupId>org.springframework.b
阅读全文
posted @ 2021-08-19 10:28 Bonnie_ξ
阅读(56)
评论(0)
推荐(0)
用 Java 爬美女图片,厉害了。。
摘要: 目的 爬取搜狗图片上千张美女图片并下载到本地 准备工作 爬取地址:https://pic.sogou.com/pics?query=美女 分析 打开上面的地址,按F12开发者工具 - NetWork - XHR - 页面往下滑动XHR栏出现请求信息如下: Request URL : https://
阅读全文
posted @ 2021-08-19 10:27 Bonnie_ξ
阅读(111)
评论(0)
推荐(0)
Spring注解开发
摘要: 目录 Spring注解开发 bean注册到Spring容器中 applicationContext.xml添加包扫描注解 实体类添加注解@Component 属性注入 属性添加注解@Value("张三丰") @Component的衍生注解 dao层 @Repository service层 @Ser
阅读全文
posted @ 2021-08-19 10:21 Bonnie_ξ
阅读(32)
评论(0)
推荐(0)
File类
摘要: 1.描述 java.io.File类∶代表文件和目录。在开发中,读取文件、生成文件、删除文件、修改文件的属性时经常会用到本类。File类java.io包中唯一代表磁盘文件本身的对象。 File类不能访问文件内容本身,如果需要访问文件内容本身,则需要借助输入输出流。 2. 创建 File提供了三种形式
阅读全文
posted @ 2021-08-19 10:18 Bonnie_ξ
阅读(61)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
38
下一页
公告