try {
tt.execute(new TransactionCallbackWithoutResult() {
protected void doInTransactionWithoutResult(TransactionStatus status) {
assertTrue("Has thread session", TransactionSynchronizationManager.hasResource(sf));
JcrTemplate template = new JcrTemplate(sf);
template.execute(new JcrCallback() {
public Object doInJcr(Session se) throws RepositoryException {
se.save();
throw new RuntimeException();
}