@Test(expected = DataAccessException.class)
    public void testQueryObjects_failure() throws Exception {
        DataSource dataSource = TestDataSourceUtil.createDataSource("test/DataMapper");
        TestDataSourceUtil.executeQuery(dataSource.getConnection(),
                "INSERT INTO CategoryConfig(Id, Config_Name) VALUES(1, 'TEST1'), (2, 'TEST2'), (3, 'TEST3')");

        DataMapper dataMapper = Mappers.createForJdbc(
                "test/" + PACKAGE_PATH + "jdbc-datamapper_failure.xml");

        Map<String,Object> configMap = new HashMap<String, Object>();
        configMap.put("Id", 1);
        dataMapper.queryObjects("select-config", configMap);
    }