[
https://issues.apache.org/jira/browse/CALCITE-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved CALCITE-4752.
---------------------------------
Fix Version/s: avatica-1.19.0
Resolution: Fixed
Thanks for digging into this tricky piece of Avatica, Istvan.
> 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
> Priority: Major
> Fix For: avatica-1.19.0
>
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> {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)