If the type of column defined as Float in Sybase,need to use the setDouble/getDouble in jdbc code, not use the setFloat/getFloat. Because of the column data Precision decided.
Sybase Precision for the Float type of table's column
最新推荐文章于 2025-11-28 12:46:31 发布
当在Sybase数据库中定义了Float类型的列时,在使用JDBC进行数据交互时,应当使用setDouble/getDouble方法而非setFloat/getFloat方法。这是因为列的数据精度决定了必须采用Double类型的方法。
1748

被折叠的 条评论
为什么被折叠?



