added char, date and smallint into mapDataType in base.js