Tuesday, November 29, 2011

If i throw a custom ApplicationException from a business method in Entity bean which is participating

For declarative transactions, container will rollback on systemException. Container has no way to know whether a speicific application exception is serious enough to roll back the participated transaction. Use setRollbackOnly() to doom the transaction.
Category:EJB Interview Questions

No comments:

Post a Comment