Closed glassfishrobot closed 8 years ago
Reported by abien
wolfc said: Duplicate of https://java.net/jira/browse/EJB_SPEC-46
I'm still in favor of this though, so I think we should re-open #46.
Was assigned to wolfc
This issue was imported from java.net JIRA EJB_SPEC-129
Marked as duplicate on Wednesday, February 24th 2016, 12:53:53 am
Currently only with injected javax.jta.UserTransaction a transaction timeout can be manually configured.
Introduce annotation:
javax.ejb.TransactionTimeout
@Retention(RetentionPolicy.RUNTIME) @Target(
{ElementType.METHOD,ElementType.TYPE}
) public @interface TransactionTimeout
{ long value(); // tx in ms }
Semantics: same as TransactionAttribute (method overrides class)
Affected Versions
[3.2]