![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
qq_33471278
这个作者很懒,什么都没留下…
展开
-
postgresql jdbc 驱动 42.1.1 版本中 setObject 中没有 BigInteger类型
pk_id 和 tongId 两个字段在mysql 中都是 bigInteger类型,其中 tongID是无符号号类型,java jdbc 代码中 rs.getObject(s) 中 pk_id 为Long 类型 tongID为BigInteger 类型<dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId>...原创 2021-12-14 20:20:23 · 3105 阅读 · 2 评论 -
postgresql 逗号分割存储id,查找是否包含指定id
数据字段存储格式shape_org_id20,22,200网上的:select id from tb_functional_service_info where 1=1 and range_type=2 and string_to_array(shape_org_id,',') @> array['${rangTypeId}']@> 这个也没找到对应的解释,怕版本不支持,自己写了另外一个select id from tb_functional_ser原创 2021-10-09 18:19:16 · 586 阅读 · 0 评论