private Map<String, Integer> sqlTypes() { TableMetaDataProvider metaDataProvider = TableMetaDataProviderFactory.createMetaDataProvider( jdbcTemplate.getDataSource(), tableMetaDataContext, jdbcTemplate.getNativeJdbcExtractor()); Map<String, Integer> result = new HashMap<>(); for (TableParameterMetaData parameterMetaData : metaDataProvider.getTableParameterMetaData()) { result.put(parameterMetaData.getParameterName(), parameterMetaData.getSqlType()); } return result; }