Subversion Repositories WebE

Rev

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.Retention;
6
import java.lang.annotation.ElementType;
7
import java.lang.annotation.RetentionPolicy;
8
 
9
/**
10
 * Where clause to add to the colleciton join table
11
 * The clause is written in SQL
12
 *
13
 * @author Emmanuel Bernard
14
 */
15
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
16
@Retention(RetentionPolicy.RUNTIME)
17
public @interface WhereJoinTable {
18
        String clause();
19
}