deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DELTASPIKE-256) allow custom timeout for the UserTransaction
Date Sat, 04 Aug 2012 14:35:02 GMT

     [ https://issues.apache.org/jira/browse/DELTASPIKE-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek updated DELTASPIKE-256:
----------------------------------------

    Description: 
right now it's only possible via:

@Dependent
@Alternative
public class CustomTransactionStrategy extends EnvironmentAwareTransactionStrategy
{
    @Override
    protected int getDefaultTransactionTimeoutInSeconds()
    {
        return 60;
    }
}
    
> allow custom timeout for the UserTransaction
> --------------------------------------------
>
>                 Key: DELTASPIKE-256
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-256
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: JPA-Module
>    Affects Versions: 0.3-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 0.4-incubating
>
>
> right now it's only possible via:
> @Dependent
> @Alternative
> public class CustomTransactionStrategy extends EnvironmentAwareTransactionStrategy
> {
>     @Override
>     protected int getDefaultTransactionTimeoutInSeconds()
>     {
>         return 60;
>     }
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message