Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## weblogic.jws
Annotation Type Transactional

    @Retention(value=RUNTIME)
    @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD})
    public @interface Transactional

Annotation to change the transactional behavior of a web method. A WebMethod by default is not transactional. This annotation may be used to mark methods to run in a transaction.

Optional Element Summary
`int` | `timeout` Transaction timeout for POJOs
`boolean` | `value` Set to true to have method run in a transaction

### value

    public abstract boolean value

  Set to true to have method run in a transaction

  Default:
    false

### timeout

    public abstract int timeout

  Transaction timeout for POJOs

  Default:
    30

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT