-
1. Re: Transaction problem in EJB
darranl Feb 28, 2005 5:59 AM (in response to subhadeep_ghosh)The transaction attribute of MethodA can be set to any of the possible values depending on your requirements.
-
2. Re: Transaction problem in EJB
littleant Feb 28, 2005 2:17 PM (in response to subhadeep_ghosh)Absolutely, Darranl !!!!
That depends on what happens in method A !! -
3. Re: Transaction problem in EJB
subhadeep_ghosh Feb 28, 2005 10:38 PM (in response to subhadeep_ghosh)Earlier there was only some mathamatical operations happening in the methodA() , that is why we had used a Transaction attribute of "SUPPORTS" .
That seem to work fine in Webogic. But the same does not work without "REQUIRED" in JBOSS 4.0. -
4. Re: Transaction problem in EJB
darranl Mar 2, 2005 6:56 AM (in response to subhadeep_ghosh)Your problem is going to require a full description, what do you mean by 'But the same does not work without "REQUIRED" in JBOSS 4.0.'?
-
5. Re: Transaction problem in EJB
subhadeep_ghosh Mar 3, 2005 7:17 AM (in response to subhadeep_ghosh)Ok
methodA() used to form a dataobjecy and send it to methodB() for updation.
Thus earlier we had transaction attribute of "SUPPORTS" for methodA() and a transaction attribute "REQUIRED" for methodB() . This used to work properly i.e. the database used to get updated when the EJB was deployed in Weblogic.
But when I ddeploy the same in JBOSS it does not work i.e. it does not update the database. This only works when you make the transaction attribute of methodA() also as REQUIRED.
Any clues to this..??