sunny123456

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2023年1月11日

摘要: jpa常用语法 https://blog.csdn.net/weixin_44758923/article/details/127965476 动态拼接 第一种:JPQL @Query("select d from Doctor d where (?1 is null or ?1='' or d.d 阅读全文
posted @ 2023-01-11 13:58 sunny123456 阅读(245) 评论(0) 推荐(0) 编辑

摘要: JPA-JpaRepository方法命名语法说明 和对应执行的SQL 表名字占位符 #{#entityName} http://news.558idc.com/148964.html 目录 前言 JPA的语法分为如下5种: 1、count相关,返回值为int 或 long 2、exists相关,返 阅读全文
posted @ 2023-01-11 09:34 sunny123456 阅读(597) 评论(0) 推荐(0) 编辑

摘要: 【Java源码解析】如何严谨地重写 equals 方法、getClass 方法与 instanceof 关键词用法比较 https://blog.csdn.net/m0_46360532/article/details/123118780 文章目录 如何严谨地重写 equals 方法1 equals 阅读全文
posted @ 2023-01-11 09:07 sunny123456 阅读(92) 评论(0) 推荐(0) 编辑

摘要: java 重写equals方法 最佳实践 Java@Override equals():当this.getClass()!=o.getClass()失败 https://www.5axxw.com/questions/content/dn5jai 我在MyClass中有一个@Override for 阅读全文
posted @ 2023-01-11 09:01 sunny123456 阅读(103) 评论(0) 推荐(0) 编辑

摘要: oracle 多行合并成一行: listagg within group CONNECT BY 可以和递归方法一起使用查询路径: https://www.bbsmax.com/A/A7zgpjGYJ4/ oracle 多行合并成一行: listagg within group 可以和递归方法一起使用 阅读全文
posted @ 2023-01-11 08:39 sunny123456 阅读(142) 评论(0) 推荐(0) 编辑

摘要: oracle的 listagg() WITHIN GROUP () 行转列函数的使用 https://blog.csdn.net/sinat_36257389/article/details/81004843 如需转载请标明出处 1.使用条件查询 查询部门为20的员工列表 -- 查询部门为20的员工 阅读全文
posted @ 2023-01-11 08:30 sunny123456 阅读(70) 评论(0) 推荐(0) 编辑