add test for sqltype to javatype