[
https://issues.apache.org/jira/browse/GEODE-8420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-8420:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)