For INSERT, convert Java-based type to SQL-based type before checking type-compatibility.