[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [EJB 3.0] - Re: EntityManager must be access within a
From:       franz77 <do-not-reply () jboss ! com>
Date:       2007-09-30 10:29:04
Message-ID: 23788431.1191148144224.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

Hi! 
Did you try to add a TransactionAttribute(TranactionAttributeType.REQUIRED) \
annotation at your session beans business method? And maybe a \
@TransactionManagement(TransactionManagementType.CONTAINER) at the session bean \
class!? I'm very confused about the tranaction management too. I used JBoss with EJB \
2.1 for about 3 years and i never had any trouble. I got the same error message even \
if i added the annotations above! Restarting the application server fixed it!

Best regards
Franz

View the original post : \
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090018#4090018

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090018
 _______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic