If the transaction attribute is TX_REQUIRED or TX_REQUIRED_NEW , I won't be able to
use UserTransaction() , since bean with TX_BEAN_MANAGED only can get the User
Transaction and then use it.
Manisha
Rodrigo Vargas wrote:
> Check the properties tab for the bean and make sure You have the right
> transaction attribute in there
>
> TX_REQUIRED or
> TX_REQUIRED_NEW may be?
> regards
> Rodrigo
>
> Manisha Umbarje wrote:
>
> > Hi ,
> >
> > I am using BMP Entity Bean and tried to get UserTransaction in ejbCreate() by
> > calling context.getUserTransaction(). But it gives me null pointer exception at
> > that point.
> > I find this a bit baffling since according to specs, UserTransaction begins
> > before client calls create().Am I missing something here ? I am working with
> > WebSphere 2.02 Advaned Edition.
> >
> > Any help would be greatly appreciated.
> > Manisha.
> >
> > ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff EJB-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".