@Nullable
    public Class<?> get(int sqlType, int total, int decimal) {
        if (NUMERIC_TYPES.contains(sqlType)) {
            Pair<Integer,Integer> key = Pair.of(total, decimal);
            if (numericTypes.containsKey(key)) {
                return numericTypes.get(key);
            } else if (sqlType == Types.NUMERIC || sqlType == Types.DECIMAL) {
                return getNumericClass(total, decimal);
            }
        }
        if (types.containsKey(sqlType)) {
            return types.get(sqlType);
        } else {
            return defaultTypes.get(sqlType);
        }
    }
{@code JDBCTypeMapping} defines a mapping from JDBC types to Java classes.

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/JDBCTypeMapping.java