[
https://forge.continuent.org/jira/browse/SEQUOIA-1136?page=comments#action_15055
]
Gilles Rayrat commented on SEQUOIA-1136:
----------------------------------------
Function:
public void setObject(int parameterIndex, Object x, int targetSqlType)
throws SQLException
{
setObject(parameterIndex, x, targetSqlType, 0);
}
Forces scale to zero, which is wrong
> PreparedStatement#setObject(int, java.lang.Object, int) forces numeric types
> scale to zero
> ------------------------------------------------------------------------------------------
>
> Key: SEQUOIA-1136
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-1136
> Project: Sequoia
> Type: Bug
> Components: JDBC Driver
> Reporter: Gilles Rayrat
>
>
> When calling setObject() with a numeric or decimal SQL type, the scale of
> this value will be forced to zero, which leads to data truncations
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia