Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import java.lang.annotation.Target; |
||
5 | import java.lang.annotation.Retention; |
||
6 | import java.lang.annotation.ElementType; |
||
7 | import java.lang.annotation.RetentionPolicy; |
||
8 | |||
9 | /** |
||
10 | * Define the lazy status of a collection |
||
11 | * |
||
12 | * @author Emmanuel Bernard |
||
13 | */ |
||
14 | @Target({ElementType.METHOD, ElementType.FIELD}) |
||
15 | @Retention(RetentionPolicy.RUNTIME) |
||
16 | public @interface LazyCollection { |
||
17 | LazyCollectionOption value(); |
||
18 | } |