001package io.ebean.annotation;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008/**
009 * Marks a property as being excluded from history.
010 * <p>
011 * This means the property values are not maintained in the history table. Typically this
012 * would be placed on relatively large properties (Clobs, Blobs, large varchar columns etc)
013 * that are considered not interesting enough to maintain history on excluding them reduces
014 * underlying database costs.
015 * </p>
016 * <p>
017 * When placed on a ManyToMany this means that the intersection table does not have history
018 * support.
019 * </p>
020 */
021@Target({ElementType.FIELD})
022@Retention(RetentionPolicy.RUNTIME)
023public @interface HistoryExclude {
024
025}