By the way, in case it helps, here is the Hibernate code that does the same
thing:
SessionFactory factory = new
AnnotationConfiguration().configure().buildSessionFactory();
| TransactionManager txManager =
DummyTransactionManager.getInstance();
| txManager.begin();
| Session session = factory.getCurrentSession();
| session.createQuery("update C c set c.id = 1").executeUpdate();
| txManager.commit(); // kaboom!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027692#4027692
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027692
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user