[SQL] Backport backtick and smallint JDBC fixes to 1.1