@Test(expected = DataAccessException.class)
    public void testInsertObjects_failure() throws Exception {
        DataMapper dataMapper = Mappers.createForJdbc(
                "test/" + PACKAGE_PATH + "jdbc-datamapper_failure.xml");

        List<CategoryConfig> categoryConfigs = new ArrayList<CategoryConfig>();
        Collections.addAll(categoryConfigs,
                new CategoryConfig("TEST1", 1),
                new CategoryConfig("TEST2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 2));

        dataMapper.insertObjects("insert-config", categoryConfigs);
    }