public static DataMapper createForJdbc(String filePath) {
        JdbcDataMapperConfigParser configParser = new SaxJdbcDataMapperConfigParser();
        InputStream inputStream = FileUtil.loadInputStream(filePath);
        JdbcDataMapperConfig dataMapperConfig = configParser.parseConfig(inputStream);

        JdbcDataMapperFactory jdbcDataMapperFactory = new JdbcDataMapperFactory();
        Map<String, Object> configMap = new HashMap<String, Object>();
        configMap.put(JdbcDataMapperFactory.CONFIG_DATAMAPPER_CONFIG, dataMapperConfig);
        jdbcDataMapperFactory.initialize(configMap);

        return jdbcDataMapperFactory.createDataMapper();
    }