Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | /** |
||
5 | * Fetch options on associations |
||
6 | * |
||
7 | * @author Emmanuel Bernard |
||
8 | */ |
||
9 | public enum FetchMode { |
||
10 | /** |
||
11 | * use a select for each individual entity, collection, or join load |
||
12 | */ |
||
13 | SELECT, |
||
14 | /** |
||
15 | * use an outer join to load the related entities, collections or joins |
||
16 | */ |
||
17 | JOIN, |
||
18 | /** |
||
19 | * use a subselect query to load the additional collections |
||
20 | */ |
||
21 | SUBSELECT |
||
22 | } |