会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逆火狂飙I
此博侧重Math、Canvas、Java和Oracle
首页
新随笔
联系
订阅
管理
上一页
1
···
57
58
59
60
61
62
63
64
65
···
203
下一页
2021年10月11日
[SpringBoot/Thymeleaf]html页面组件与控制器Mapping和函数参数的呼应
摘要: 要将页面信息传递到控制器中,页面组件和控制器的注解、函数参数一定不能写错了,下面是个简单示例,有兴趣的可以参照: html页面: <div class="block-body"> <form action="userRegister" method="post"> <label>用户名</label
阅读全文
posted @ 2021-10-11 21:13 逆火狂飙
阅读(104)
评论(0)
推荐(0)
2021年10月10日
【SpringBoot/Thymeleaf】Thymeleaf目录设置
摘要: 本文例程: https://files.cnblogs.com/files/heyang78/mediaCool_211010pm.rar src/main/resources/templates 这个目录如果不存在就手动创建,它用于放置你要显示的网页 src/main/resources/stat
阅读全文
posted @ 2021-10-10 18:29 逆火狂飙
阅读(700)
评论(0)
推荐(0)
2021年10月7日
【Java/CountDownLatch】使用CountDownLatch实现睡眠排序
摘要: 刚才在 https://news.cnblogs.com/n/703437/ 上看到有人提到有趣的“睡眠排序”,忽然想到CountDownLatch正好可以用于实现一个。代码如下: package ufo.sleepsort; import java.util.ArrayList; import j
阅读全文
posted @ 2021-10-07 17:08 逆火狂飙
阅读(82)
评论(0)
推荐(0)
【SpringCloud】org.springframework.context.ApplicationContextException:Failed to start bean 'eurekaAutoServiceRegstration'
摘要: 在我用STS导入一个SpringCloud工程后,启动Application类,出现如下错误: org.springframework.context.ApplicationContextException:Failed to start bean 'eurekaAutoServiceRegstra
阅读全文
posted @ 2021-10-07 15:55 逆火狂飙
阅读(2566)
评论(1)
推荐(0)
2021年10月6日
【Oracle】求同组最值(找每个部门最高薪水员工),分析函数相对于自联结(自连接)的优势
摘要: 有这么一个表: create table emp3( id number(8), name nvarchar2(20), deptname nvarchar2(20), salary number(6), primary key(id) ); 可以这样充值: declare d integer; s
阅读全文
posted @ 2021-10-06 20:07 逆火狂飙
阅读(147)
评论(0)
推荐(0)
【Mybatis】使用LambdaQueryWrapper后让控制台输出执行的SQL语句
摘要: 本文适用于SpringBoot2.5.4,Mybatis2.2.0,mybatis-plus3.0.5版本,不保证在其它版本的适用性。 与本文相关的姊妹篇:https://www.cnblogs.com/heyang78/p/15369564.html 本文例程:https://files.cnbl
阅读全文
posted @ 2021-10-06 17:05 逆火狂飙
阅读(8546)
评论(0)
推荐(0)
2021年10月5日
【Mybatis】LambdaQueryWrapper用法示例
摘要: 本文适用于SpringBoot2.5.4,Mybatis2.2.0,mybatis-plus3.0.5版本,不保证在其它版本的适用性。 例程下载:https://files.cnblogs.com/files/heyang78/redisCache_LambdaQueryWrapper_211005
阅读全文
posted @ 2021-10-05 20:59 逆火狂飙
阅读(8487)
评论(0)
推荐(0)
【oracle/语法】With语句的写法
摘要: Sample1: with temp AS ( select * from emp where rownum<11) select * from temp Result: SQL> with temp AS ( 2 select * from emp where rownum<11) 3 selec
阅读全文
posted @ 2021-10-05 12:04 逆火狂飙
阅读(1132)
评论(0)
推荐(0)
【oracle】同是选出每个城市最年长女性,not exits 方案和 分析函数rank方案的巨大差距
摘要: 以下实验版本: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionPL/SQL Release 11.2.0.1.0 - Production 不保证在其它环境也是同样效果。 表结构: create
阅读全文
posted @ 2021-10-05 09:42 逆火狂飙
阅读(43)
评论(0)
推荐(0)
【Java/加解密】不算加密的加密-base64加解密(使用Java8的Base64实现)
摘要: 前篇讲述了使用Apache的Codec来进行Base64加解密的情况,这回来看直接使用JDK1.8的Base64方案。 代码: import java.nio.charset.StandardCharsets; import java.util.Base64; public class Base64
阅读全文
posted @ 2021-10-05 08:05 逆火狂飙
阅读(208)
评论(0)
推荐(0)
上一页
1
···
57
58
59
60
61
62
63
64
65
···
203
下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东