package io.ebean.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

Marks an entity bean as having history support.

In Postgres for example this means there is an associated history table which is typically automatically populated via database triggers.

/** * Marks an entity bean as having history support. * <p> * In Postgres for example this means there is an associated history table which is * typically automatically populated via database triggers. * </p> */
@Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface History { }