提交 61ce94f2 编写于 作者: S Serge Rider

#750 Long values binding fix

上级 a030133f
......@@ -193,7 +193,7 @@ public class JDBCNumberValueHandler extends JDBCAbstractValueHandler {
break;
case java.sql.Types.NUMERIC:
if (number instanceof Long) {
statement.setLong(paramIndex, number.intValue());
statement.setLong(paramIndex, number.longValue());
} else if (number instanceof Integer) {
statement.setInt(paramIndex, number.intValue());
} else if (number instanceof Short) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册