Description
When a JDBC driver throws an exception during data conversion (e.g., divide-by-zero in a calculated column), the Java exception propagates uncaught through fetchone() instead of being handled gracefully. Users expect None/null for errored columns rather than raw Java exceptions.
Steps to Reproduce
- Connect to a database via JDBC using
jaydebeapiarrow
- Execute a query with a calculated column that may cause divide-by-zero (e.g.,
X/Y where Y=0)
- Call
fetchone() or fetchall()
Expected Behavior
The errored column should produce None, and the rest of the row should be returned normally.
Actual Behavior
A Java exception (e.g., com.filemaker.jdbc.FMSQLException) propagates up through fetchone(), causing the entire row to be lost.
Legacy Issue
baztian/jaydebeapi#58
Description
When a JDBC driver throws an exception during data conversion (e.g., divide-by-zero in a calculated column), the Java exception propagates uncaught through
fetchone()instead of being handled gracefully. Users expect None/null for errored columns rather than raw Java exceptions.Steps to Reproduce
jaydebeapiarrowX/Ywhere Y=0)fetchone()orfetchall()Expected Behavior
The errored column should produce
None, and the rest of the row should be returned normally.Actual Behavior
A Java exception (e.g.,
com.filemaker.jdbc.FMSQLException) propagates up throughfetchone(), causing the entire row to be lost.Legacy Issue
baztian/jaydebeapi#58