Here you can find the source of sqlTypeToSetterGetter(int sqlType)
public static String sqlTypeToSetterGetter(int sqlType)
//package com.java2s; //License from project: Open Source License import java.sql.Types; public class Main { public static String sqlTypeToSetterGetter(int sqlType) { switch (sqlType) { case Types.BIT: return "Boolean"; case Types.TINYINT: return "Boolean"; case Types.SMALLINT: return "Short"; case Types.INTEGER: return "Int"; case Types.BIGINT: return "Long"; case Types.REAL: return "Float"; case Types.DOUBLE: return "Double"; case Types.FLOAT: return "Float"; case Types.NUMERIC: case Types.DECIMAL: return "BigDecimal"; case Types.DATE: return "Date"; case Types.TIME: return "Time"; case Types.TIMESTAMP: return "Timestamp"; case Types.CHAR: case Types.VARCHAR: case Types.LONGVARCHAR: return "String"; case Types.BINARY: case Types.VARBINARY: case Types.LONGVARBINARY: return "BinaryStream"; default:// ww w. java2 s . com return null; } } }