Subversion Repositories WebE

Rev

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.*;
4
import java.lang.annotation.Retention;
5
import static java.lang.annotation.RetentionPolicy.RUNTIME;
6
import java.lang.annotation.Target;
7
 
8
/**
9
 * Where clause to add to the element Entity or target entity of a collection
10
 * The clause is written in SQL
11
 *
12
 * @author Emmanuel Bernard
13
 */
14
@Target({TYPE, METHOD, FIELD})
15
@Retention(RUNTIME)
16
public @interface Where {
17
        String clause();
18
}