Made getSqlVartype part of SqlAdapter.