Thanks for the help
 
It worked
 
regards
Asad
----- Original Message -----
From: ³ÂÃù
Sent: Wednesday, August 21, 2002 11:49 AM
Subject: Re: Re: database updates


In CMT, Please try to set the Transaction attribute of SB1 as "RequiresNew".

>Thanks for your reply
>
>I am using CMT,
>where actually u need to specify commit, I am using jboss app server
>
>regards
>Asad
>  ----- Original Message -----
>  From: 3??ù
>  To: Asadullah Khan
>  Sent: Tuesday, August 20, 2002 5:45 PM
>  Subject: Re: database updates
>
>
>  It is possible that the sb1 has not commit the transaction.
>
>  If sb1 is using CMT, please verify the DD.
>  If sb1 is using BMT, please add the code "UserTransaction.commit()".
>
>  >Hi all,
>  >    I have a code, which runs fine in jsp, and in java client, but when I write the code in session bean, I am not getting the desired output.I am using Jboss 2.2
>  >
>  >Actually my code is something like this.
>  >
>  >I call a session bean (sb1) to do some processing, after
>  >processing it calls a entity bean and updates the status (say Active) in the database.
>  >
>  >Then I call a second session bean(sb2), which looks for the status(Active) in the database,and
>  >does processing according to the status.
>  >
>  >when I call the above beans (sb1 & sb2) in a jsp,
>  >sb2 is able to correctly get the updated status and do processing well.
>  >
>  >but when I call the beans in a session bean,
>  >though sb1 is able to call the entity bean and update the status,
>  >when sb2 is accessing the database,It is not able to get the status data from result set, though result set is not null.
>  >any help over this would be greatly appreciated.
>  >
>  >regards
>  >Asad
>
>  David Chen
>              [EMAIL PROTECTED]

David Chen
            [EMAIL PROTECTED]

Reply via email to