Transaction Attribute

SUBSCRIBE EJB-INTEREST anonymous <[email protected]> Mon, 7 Nov 2005 08:33:28 -0700
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <LISTSERV%[email protected]>
Hi,
I use CMT.

1. In my EJB method, I simply delete a record from the Oracle database
using sql query.Which transaction attribute would be appropriate in this
case?
I guess 'NotSupported' is appropriate as I don't have multiple sql queries
to delete.

2. Also, in the same page, when I call a single select sql query from my
EJB method, I can use 'NotSupported'.
3.When I have a simple insert / update sql query(only insert/update in one
table), I can use 'NotSupported'.

4.When I have to insert / update multiple sql queries in my EJB
method,other transaction attributes would be appropriate.

Please let me know whether the above are correct.
Thanks in advance,

===========================================================================
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".