Skip to content

Commit

Permalink
0001334: The issue with jConnect JDBC, SQL Anywhere and decimal value.
Browse files Browse the repository at this point in the history
Normalize scale and precision for sybase
  • Loading branch information
chenson42 committed Aug 14, 2013
1 parent b08b087 commit 1e908b1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ protected void setDecimalValue(PreparedStatement ps, int i, Object arg, int argT
}

Object[] params = new Object[] { new Integer(i), value,
new Integer(value.precision()), new Integer(value.scale()) };
new Integer(precision), new Integer(scale) };
try {
Method method = clazz.getMethod("setBigDecimal", parameterTypes);
method.invoke(nativeStatement, params);
Expand Down

0 comments on commit 1e908b1

Please sign in to comment.