One other thing I forgot was the @TransactionManagement and @TransactionAttribute, when
injecting the UserTransaction for the thread, I set these items on the bean like so:
| @TransactionManagement(TransactionManagementType.BEAN)
| @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
| public class MyBean
| {
| ...
|
But this is for bean managed transactions, if you want to continue to use the container
managed transactions which is the default, you don't need these, but you can
specifically request CMT by doing this:
| @TransactionManagement(TransactionManagementType.CONTAINER)
| public class MyBean
| {
| ...
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215342#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...