- 博客(4)
- 收藏
- 关注
原创 反转链表
题目示例:输入: 1->2->3->4->5->NULL输出: 5->4->3->2->1->NULL进阶:你可以迭代或递归地反转链表。你能否用两种方法解决这道题? public class ListNode { //链表结构如下 int val; ListNode next;...
2020-03-02 19:15:50 126
原创 MySQL数据库,查询时间比系统时间少八小时
系统时间查询jdbc链接为:jdbc.url=jdbc:mysql://localhost:3306/testSSM?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8解决办法:链接改为:jdbc.url=jdbc:mysql://localhost:3306/testSSM?serverTimezon...
2020-01-02 17:38:45 1455 1
原创 java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax;
编译器 错误 情况如下:java.sql.SQLSyntaxErrorException: You have an error in your SQL **syntax**; check the manual that corresponds to your MySQL server version for the right syntax to use near 'member where i...
2020-01-01 18:01:08 2379
原创 MySQL添加外键失败
报错如下:Operation failed: There was an error while applying the SQL script to the database.ERROR 1826: Duplicate foreign key constraint name 'roleId'解决办法:经过查看 已经存在名为roleid 的外键 修改外键名称为roleid_1...
2019-12-27 21:37:28 3866
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人