You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Nabarun Nag (Jira)" <ji...@apache.org> on 2021/09/03 02:24:09 UTC
[jira] [Closed] (GEODE-8420) Throw AssertionError when SQLException
occurs in JdbcWriter
[ https://issues.apache.org/jira/browse/GEODE-8420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nabarun Nag closed GEODE-8420.
------------------------------
> Throw AssertionError when SQLException occurs in JdbcWriter
> -----------------------------------------------------------
>
> Key: GEODE-8420
> URL: https://issues.apache.org/jira/browse/GEODE-8420
> Project: Geode
> Issue Type: Improvement
> Components: jdbc
> Reporter: Masaki Yamakawa
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.14.0
>
>
> When using JdbcWriter or JdbcAsyncWriter of Simple JDBC Connector, SQLException occurs if you set the character string exceeding 10 digits in the column defined as varchar(10) in RDB column.
> However, JdbcWriter and JdbcAsyncWriter throws AssertionError.
> This error is difficult to notice the problem, so I would like to change it to throw SQLException.
> The cause is that the upsert of `org.apache.geode.connectors.jdbc.internal.SqlHandler#write` is considered.
> There are cases in which SQLException is ignored during this consideration.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)