[ 
https://issues.apache.org/jira/browse/GEODE-8420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17182464#comment-17182464
 ] 

ASF GitHub Bot commented on GEODE-8420:
---------------------------------------

DonalEvans merged pull request #5442:
URL: https://github.com/apache/geode/pull/5442


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> 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)

Reply via email to