@Test
public void testExecuteUpdate() throws SQLException {

    TGroupConnection conn = null;
    PreparedStatement stat = null;
    try {
        conn = tgds.getConnection();
        stat = conn.prepareStatement("update xxxx set name = 'newname'");
        int affect = stat.executeUpdate();
        Assert.assertEquals(affect, 1);
        MockDataSource.showTrace();
    } finally {
        if (conn != null) {
            try {
                conn.close();
            } catch (SQLException e) {
            }
            if (stat != null) {
                try {
                    stat.close();
                } catch (SQLException e) {
                }
            }
        }
    }
}