Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: PersistenceContextType.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package javax.persistence; |
||
3 | |||
4 | /** |
||
5 | * Specifies whether a transaction-scoped or extended persistence context is to be used in |
||
6 | * PersistenceContext. If the type element is not specified, a transaction-scoped persistence |
||
7 | * context is used. |
||
8 | */ |
||
9 | public enum PersistenceContextType { |
||
10 | /** |
||
11 | * Transaction-scoped persistence context |
||
12 | */ |
||
13 | TRANSACTION, |
||
14 | /** |
||
15 | * Extended persistence context |
||
16 | */ |
||
17 | EXTENDED |
||
18 | } |