1 package org.hibernate.annotations; 3 4 import static java.lang.annotation.ElementType.TYPE ; 5 6 import static java.lang.annotation.ElementType.METHOD ; 7 8 import static java.lang.annotation.ElementType.FIELD ; 9 10 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 11 12 import java.lang.annotation.Target ; 13 import java.lang.annotation.Retention ; 14 15 19 @Target ({TYPE, METHOD, FIELD}) @Retention (RUNTIME) 20 public @interface Cache { 21 CacheConcurrencyStrategy usage(); 22 String region() default ""; 23 } 24 | Popular Tags |