javaee / ejb-spec

See javax.ejb project for API. Contains legacy issues only.
https://github.com/javaee/javax.ejb
6 stars 1 forks source link

Annotation-based Transaction Timeout Configuration #129

Closed glassfishrobot closed 8 years ago

glassfishrobot commented 8 years ago

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]

glassfishrobot commented 8 years ago

Reported by abien

glassfishrobot commented 8 years ago

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.

glassfishrobot commented 8 years ago

Was assigned to wolfc

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA EJB_SPEC-129

glassfishrobot commented 8 years ago

Marked as duplicate on Wednesday, February 24th 2016, 12:53:53 am