![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jdbc
文章平均质量分 53
枣树下的石磙
这个作者很懒,什么都没留下…
展开
-
mysql对应的JDBC类型
MySQL Type Name Return value ofGetColumnTypeName Return value ofGetColumnClassName BIT(1) BIT java.lang.Boolean BIT( > 1) BIT byte[] TINYINT TINYINT java.lang.Booleanif the configuration propertytinyInt1isBitis set to...原创 2021-01-08 20:39:14 · 596 阅读 · 0 评论 -
[jdbc] sqlserver 数据类型判断及写入
private void psSetValue(int index, PreparedStatement ps, Integer type, String typeName, Object value) throws SQLException, UnsupportedEncodingException { if(value==null){ ps.setNull(index,type); return; } if.原创 2020-12-31 15:29:26 · 408 阅读 · 0 评论