@Override
    protected JavaTypeMap newJavaTypeMap() {
        final JavaTypeMap javaTypeMap = super.newJavaTypeMap();

        javaTypeMap.put("bytea", Blob.class);

        // https://www.postgresql.org/docs/9.2/static/infoschema-datatypes.html
        javaTypeMap.put("cardinal_number", Integer.class);
        javaTypeMap.put("character_data", String.class);
        javaTypeMap.put("sql_identifier", String.class);
        javaTypeMap.put("time_stamp", Timestamp.class);
        javaTypeMap.put("yes_or_no", String.class);

        javaTypeMap.put("json", String.class);
        javaTypeMap.put("jsonb", String.class);

        javaTypeMap.addRule(bitRule());

        javaTypeMap.addRule(yearRule());

        javaTypeMap.addRule(stringRule("_text", 2003));

        javaTypeMap.addRule(stringRule("tsvector", 1111));

        return javaTypeMap;
    }
Created by fdirlikl on 11/13/2015.

@author Fatih Dirlikli
@author Emil Forslund
runtime-parent/runtime-connector-parent/postgres/src/main/java/com/speedment/runtime/connector/postgres/internal/PostgresDbmsMetadataHandler.java