Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: BatchSize.java 11282 2007-03-14 22:05:59Z epbernard $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import static java.lang.annotation.ElementType.*; |
||
5 | import java.lang.annotation.Retention; |
||
6 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
7 | import java.lang.annotation.Target; |
||
8 | |||
9 | /** |
||
10 | * Batch size for SQL loading |
||
11 | * |
||
12 | * @author Emmanuel Bernard |
||
13 | */ |
||
14 | @Target({TYPE, METHOD, FIELD}) |
||
15 | @Retention(RUNTIME) |
||
16 | public @interface BatchSize { |
||
17 | /** Strictly positive integer */ |
||
18 | int size(); |
||
19 | } |