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.ElementType; |
||
| 6 | import java.lang.annotation.Retention; |
||
| 7 | import java.lang.annotation.RetentionPolicy; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Define the lazy status of a ToOne association |
||
| 11 | * (ie OneToOne or ManyToOne) |
||
| 12 | * |
||
| 13 | * @author Emmanuel Bernard |
||
| 14 | */ |
||
| 15 | @Target({ElementType.METHOD, ElementType.FIELD}) |
||
| 16 | @Retention(RetentionPolicy.RUNTIME) |
||
| 17 | public @interface LazyToOne { |
||
| 18 | LazyToOneOption value(); |
||
| 19 | } |