
JPA
it&s me
on the way
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
check list param is null in JPA query
@Query(value = "select * from tb_user_info where status = 1 " + "and IF( ?1 is not null and ?1 != '', user_name like concat(?1,'%'), 1=1 ) " + "and IF( COALESCE(?2) is not null, user_name in (?2), 1=1 ) " + "order by fans_count desc原创 2021-03-16 19:00:26 · 412 阅读 · 0 评论 -
JPA ShardingException
Can not update sharding keybugreasonfixedsummarybugTbMallOrderEntity entity = tbMallOrderService.getEntity("1010215860681778299727");entity.setStatus((short)3);repository.updateStatus(entity.getOr...原创 2020-04-08 18:57:00 · 1157 阅读 · 0 评论