上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 203 下一页
摘要: 用Html5/Canvas绘制前南斯拉夫国旗圆盘。 阅读全文
posted @ 2021-10-16 21:42 逆火狂飙 阅读(1489) 评论(0) 推荐(0)
摘要: 控制器中设值部分: @PostMapping(value="/userLogin") public ModelAndView login(String uname,String pswd,HttpSession httpSession) { User user=userService.searchU 阅读全文
posted @ 2021-10-16 21:23 逆火狂飙 阅读(591) 评论(0) 推荐(0)
摘要: 设值部分: @Controller public class UserCtrl { ... @Autowired private UserService userService; @PostMapping(value="/userRegister") public ModelAndView regi 阅读全文
posted @ 2021-10-15 22:07 逆火狂飙 阅读(289) 评论(0) 推荐(0)
摘要: 本文涉及SpringBoot版本:v2.5.4 首先声明,pom.xml里不用配置。 把下面内容存到logback.xml(若不想敲字也可以点 https://files.cnblogs.com/files/heyang78/logback-xml-211015.rar 下载)里,然后保存到reso 阅读全文
posted @ 2021-10-14 21:19 逆火狂飙 阅读(1168) 评论(0) 推荐(0)
摘要: 有个特殊场景,有人想用select max(id)+1 from emp for update 得到新ID,当时还未执行此句,一群人针对此语句是锁行还是锁表争论了一会,准备做个实验验证一下,结果出现ORA-01786错误: SQL> select max(id) from emp for updat 阅读全文
posted @ 2021-10-14 18:39 逆火狂飙 阅读(1295) 评论(0) 推荐(0)
摘要: 有一张登录历史表: create table AccessHistory( id int, userid int, loginDate timestamp, primary key(id) ); 测试数据如下: insert into AccessHistory values(1,1,to_date 阅读全文
posted @ 2021-10-13 20:58 逆火狂飙 阅读(505) 评论(0) 推荐(0)
摘要: 代码: package ufo; import java.security.MessageDigest; import org.apache.commons.codec.binary.Base64; public class MD2_Test { public static void main(St 阅读全文
posted @ 2021-10-13 06:26 逆火狂飙 阅读(79) 评论(0) 推荐(0)
摘要: 代码: package ufo; import java.security.MessageDigest; import org.apache.commons.codec.binary.Base64; public class MD5_Test { public static void main(St 阅读全文
posted @ 2021-10-13 06:20 逆火狂飙 阅读(56) 评论(0) 推荐(0)
摘要: 严格来说,本文讲述的只是oracle的内容,但因为1Mpper类里写的SQL,故而就和MyBatis挨上了。 表定义: create table mc_user( id number(8), deleted number(1) default 0, create_time timestamp def 阅读全文
posted @ 2021-10-12 21:14 逆火狂飙 阅读(128) 评论(0) 推荐(0)
摘要: Oracle的trunc函数意为保持精度,如精度说明符缺失则精度保证到日,小于日的时分秒都不要了。 比如现在是21年10月11日21时31分,trunc之后,就只剩21年10月11日0时0分0秒了。 看下面的例子就更明白了: SQL> select to_char(sysdate-1,'yyyy-M 阅读全文
posted @ 2021-10-11 21:37 逆火狂飙 阅读(5966) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东