Jiabao-Sun commented on PR #9: URL: https://github.com/apache/flink-connector-jdbc/pull/9#issuecomment-1562233471
> I would rather go with check if preparedstatment is closed or not rather than wrapping it in `try`...`catch`. Is there anything blocking here to go that way? Thanks @snuyanzin for the suggestion. As the JDBC Statement definition, If the database access error occurs we may also meet SQLException. ![image](https://github.com/apache/flink-connector-jdbc/assets/27403841/64ceb579-161c-4127-b94c-ef7192091838) -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org