JTDS exception handling with SQLState is less accurate than with regexps.
# File lib/sequel/adapters/jdbc/jtds.rb, line 25 def database_exception_use_sqlstates? false end
Handle nil values by using setNull with the correct parameter type.
# File lib/sequel/adapters/jdbc/jtds.rb, line 30 def set_ps_arg_nil(cps, i) cps.setNull(i, cps.getParameterMetaData.getParameterType(i)) end