This should be no problem so check in the spec to make sure you are not
doing anything that might cause this not to work. You may have a bug in your
app server.
You should also be setting the transaction attribute to something other than
TX_SUPPORTS. This is not recommended in the spec because your method will
execute in an indeterminate transaction context. If you set it to
TX_REQUIRED then you should get what you want. This is what we do and we
have no problems.
Cheers
Lawrence
> ----------
> From: Shubhashis Dasgupta[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: 23 February 2001 14:05
> To: [EMAIL PROTECTED]
> Subject: Problem on Transaction
>
> Hi All,
>
> I am facing a problem with transaction from session ejb. It contains two
> entity beans reference and I am inserting data to two different table
> using
> the create method of the entity beans from a method of session bean. The
> transaction is created and managed from session bean through
> javax.transaction.UserTransaction. But I want to know whether it can be
> done
> without making the transaction attribute of the session bean as
> TX_BEAN_MANAGED and without using javax.transaction.UserTransaction. If I
> make
> it TX_REQUIRED and for the entity beans TX_SUPPORTS then its not working.
>
>
> Hope u help me.
>
> Shubhashis
>
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
> ==========================================================================
> =
> 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".
>
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does not
accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally
privileged. It is
intended solely for the addressee. If you are not the intended recipient, any
disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are those of the
individual sender, except where the sender specifically states them to be the views of
Clearstream International or of any of its affiliates or subsidiaries.
END OF DISCLAIMER
===========================================================================
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".