|
Not necessary, starting a transaction from the client side is useful if
you want that several ejb method calls (from the client) occur within the
same transaction. May be is it necessary for you ? if you want to obtain
the id and create the entity bean within the same transaction ?
In any case, you must set the transaction attribute of your methods if you want that they execute within the appropriate transaction. See in http://www.objectweb.org/jonas/jonas_root/doc/Program.html#Declarativ the different possible attributes and the way to declare it in the deployment descriptor. Regards, François Surendra wrote: Could not get second point, you mean to say that i needto create UserTransaction object in my EJB client and callthe create(which is creating a record) method betweenbegin and commit methods of User Transaction.-- ================================================================== Francois EXERTIER Evidian (Groupe Bull) 1, rue de Provence, BP 208, 38432 Echirolles cedex, FRANCE mailto:[EMAIL PROTECTED] http://www.evidian.com/jonas http://www.objectweb.org/jonas Tel: +33 (0)4 76 29 71 51 - Fax: +33 (0)4 76 29 77 30 ================================================================== ---- To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe jonas-users". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". |
- Duplicate Key Surendra
- Re: Duplicate Key Fran�ois Exertier
- Re: Duplicate Key Fran�ois Exertier
- Re: Duplicate Key Fran�ois Exertier
- Re: Duplicate Key Fran�ois Exertier
