try {
Reader reader = Resources.getResourceAsReader("sqlMapConfig.xml");
sqlMapClient = SqlMapClientBuilder.buildSqlMapClient(reader);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Unable to create iBATIS sql map client.", e);
}
return sqlMapClient.queryForList("getAllUsers", null);