Now , i have two entityBean and i have a session bean which have a function trans();
1) trans() first update some data from entityBean1
2) trans() first update some data from entityBean2
but a exception occured between 1 and 2. So i want that
entityBean1 is rolledBack.
question ; How can or where a set TX_REQUIRED.( i'm using xdoclet and jboss 3.0.0 and i have just writen in session method : @ejb:transaction-type="Required")
My tag : @ejb:transaction type="Required"