You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/08/24 14:37:00 UTC
[jira] [Created] (CALCITE-4752) PreparedStatement#SetObject() fails
for BigDecimal values
Istvan Toth created CALCITE-4752:
------------------------------------
Summary: PreparedStatement#SetObject() fails for BigDecimal values
Key: CALCITE-4752
URL: https://issues.apache.org/jira/browse/CALCITE-4752
Project: Calcite
Issue Type: Task
Components: avatica
Affects Versions: 1.18.0
Reporter: Istvan Toth
Assignee: Istvan Toth
{code:java}
preparedStatement.setObject(1, new BigDecimal.ONE)
{code}
results in an SqlException.
Avatica should be able to deduce the type correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)