//artificially creating an exception
int i = 1;
int j = 0;
System.out.println("You should not see this line: " + i/j);
tm.commitTransaction();
}
catch (Exception ex) {
tm.rollbackTransaction();
Object countAfterRollback = SqlServiceClient.retrieveObjectBySQL(countSql);