Masaki Yamakawa created GEODE-8420:
--------------------------------------
Summary: 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
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)