About Question enthuware.oce-ejbd.v6.2.424 :

Moderator: admin

Post Reply
PedroKowalski
Posts: 25
Joined: Thu Aug 04, 2011 10:36 am
Contact:

About Question enthuware.oce-ejbd.v6.2.424 :

Post by PedroKowalski »

Howdy!

I guess there is a small mistake in the exaplanaition:
Note that a client can get javax.ejb.EJBTransactionRolledbackException only if the bean method executes in the transaction context of the client. This can happen only if the transaction attribute of the bean is REQUIRED, MANDATORY, or SUPPORTED.
It should be SUPPORTS.

Cheers!

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.424 :

Post by admin »

This has been fixed.

Thanks for your feedback!

sanju.ait@gmail.com
Posts: 38
Joined: Fri Aug 16, 2013 11:37 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.424 :

Post by sanju.ait@gmail.com »

It is not true in case of async calls, transaction context will be always new in that case and hence different behavior.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.424 :

Post by admin »

Yes, but the question is only talking about possibility and the given correct option is one such possibility.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests