getUserTransaction method

Description

Acquires the UserTransaction object.

Format

public static UserTransaction getUserTransaction();

Exceptions

java.lang.IllegalStateException:
The API is published from a client other than the EJB client or an attempt to acquire the UserTransaction object failed.

Return value

javax.transaction.UserTransaction object