I added
EntityTransaction tx1 = em.getTransaction();
tx1.begin();
just after em.joinTransaction();
to see if I could force a jdbc transaction but got
java.lang.IllegalStateException: JTA EntityManager cannot access a transactions
at
org.hibernate.ejb.AbstractEntityManagerImpl.getTransaction(AbstractEntityManagerImpl.java:278)
at
org.jboss.ejb3.entity.ExtendedEntityManager.getTransaction(ExtendedEntityManager.java:174)
at com.hazlorealidad.sgi.control.DocumentsBean.download(DocumentsBean.java:97)
....
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971968#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...