Hi,
I am working with an old database without transaction, So I add anonymous wrote :
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) to my sessionbean. but i get
this exception
anonymous wrote : EntityManager must be access within a transaction when I persist an
object.
If i comment the @TransactionAttribute, the persist works, But i got a anonymous wrote :
javax.transaction.RollbackException after invoke the EJB method.
what should i do to avoid these problems?
thanks in advance
liu
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172973#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...