Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: QueryHint.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package javax.persistence; |
||
3 | |||
4 | import java.lang.annotation.Retention; |
||
5 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
6 | import java.lang.annotation.Target; |
||
7 | |||
8 | /** |
||
9 | * An implementation-specific Query hint |
||
10 | * |
||
11 | * @author Emmanuel Bernard |
||
12 | */ |
||
13 | @Target({}) |
||
14 | @Retention(RUNTIME) |
||
15 | public @interface QueryHint { |
||
16 | /** |
||
17 | * Name of the hint |
||
18 | */ |
||
19 | String name(); |
||
20 | |||
21 | /** |
||
22 | * Value of the hint |
||
23 | */ |
||
24 | String value(); |
||
25 | } |