Hi, As per the spec, the default is REQUIRED. So if nothing specified on the class and on the method, the container is going to start a new transaction before executing the method.
If you do not want this behavior, use SUPPORTS (if one already started use it, otherwise, do nothing) or NOT_SUPPORTED (if one started, execption). JLouis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Mon, Sep 8, 2014 at 2:58 PM, Lars-Fredrik Smedberg <[email protected]> wrote: > Hi! > > Just a small question on EJBs and transactions. I assume that there are no > implicit transactions started when calling a business method on an EJB that > does not have the @TransactionAttribute annotation? (Assume of course that > there are no other ongoing transaction) > > > Regards > LF > > -- > Med vänlig hälsning / Best regards > > Lars-Fredrik Smedberg > > STATEMENT OF CONFIDENTIALITY: > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > address(es) and may contain confidential or privileged information. If > you are not the intended recipient, please notify Lars-Fredrik Smedberg > immediately at [email protected], and destroy all copies of this > message and any attachments. >
