使用Java遇到的问题
主要记录使用java时遇到的各种问题
绝园の暴风雨
这个作者很懒,什么都没留下…
展开
-
Error querying database. Cause: org.postgresql.util.PSQLException: 错误: 操作符不存在: smallint = character
2022-04-20 08:40:27.664 [http-nio-8080-exec-4] ERRORo.jeecg.common.exception.JeecgBootExceptionHandler:58 -### Error querying database. Cause:org.postgresql.util.PSQLException: 错误: 操作符不存在: smallint = charactervarying 建议:没有匹配指定名称和参数类型的操作符. 您也许需要增加明确的类.原创 2022-04-20 09:22:52 · 7734 阅读 · 0 评论 -
使用Comparator.comparing根据类的属性对list进行排序
对list进行排序实体类Aimport java.util.Date;public class A { String name; Date year; public Date getYear() { return year; } public void setYear(Date year) { this.year = year; } String type; public String get原创 2022-04-18 22:52:48 · 1240 阅读 · 0 评论 -
Java连接Mysql数据库发生异常:java.sql.SQLNonTransientConnectionException: Cannot load connection class because
错误名:java.sql.SQLNonTransientConnectionException: Cannot load connection class because of underlying exception:原创 2020-12-01 08:53:34 · 1385 阅读 · 0 评论