Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | package org.hibernate.annotations; |
2 | |||
3 | import static java.lang.annotation.ElementType.PACKAGE; |
||
4 | import static java.lang.annotation.ElementType.TYPE; |
||
5 | import java.lang.annotation.Retention; |
||
6 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
||
7 | import java.lang.annotation.Target; |
||
8 | |||
9 | /** |
||
10 | * Extends {@link javax.persistence.NamedNativeQueries} to hold hibernate NamedNativeQuery |
||
11 | * objects |
||
12 | * |
||
13 | * @author Emmanuel Bernard |
||
14 | */ |
||
15 | @Target({TYPE, PACKAGE}) |
||
16 | @Retention(RUNTIME) |
||
17 | public @interface NamedNativeQueries { |
||
18 | NamedNativeQuery[] value(); |
||
19 | } |