Package io.ebean.annotation


package io.ebean.annotation
Extra deployment annotations

Extra deployment annotations for entity beans.

  • Class
    Description
    Specify a property to be an aggregation formula.
    Specify a property to be an AVG aggregation.
    Specify the default cache use specific entity type.
    Cache tuning hints for the L2 bean cache of a specific entity type.
    Specify cache tuning for query caching on a specific entity type.
    Marks an entity bean as being included in the change logging.
    The mode used to determine if inserts should be included or not for a given bean type.
    Modes for the DbForeignKey onDelete and onUpdate clause of a foreign keys.
    Specify a collection property that will be stored into a DB ARRAY type.
    A database table or column comment.
    Annotation to specify a default value for DDL-generation & Migration.
    Specify the DB storage type used to with @DbEnumValue.
    Specify a method on an Enum that returns the value that should be stored in the DB.
    Specify how a foreign key constraint should be defined.
    Specify a property holding JSON content.
    Specify a property holding JSON content.
    Specify the DB storage type used to store JSON content.
    Used for mapping a Map<String,String> type property to Postgres HSTORE data type.
    Annotation to specify details for DDL & Migration-generation.
    Repeatable support for DbMigration.
    Specify the name of the DB that the entity should use.
    Specify that the underlying table is partitioned.
    Used to indicate that a particular string property should be treated as a 'code' and not analysed for text searching.
    Specify the property is included in the parent document store index.
    Specify the entity type maps to a document store (like ElasticSearch).
    Specify the entity type maps to a document store (like ElasticSearch).
    Index options for a property.
    Used to indicate that a particular string property should support sorting.
    Specify the entity type maps to a document store (like ElasticSearch).
    Defines the behavior options when a Insert, Update or Delete event occurs on a bean with an associated ElasticSearch index.
    Marks a boolean property on a @Draftable bean that indicates if the bean instance is a 'draft' or 'live' bean.
    Used to indicate an entity bean that has 'draftable' support.
    Used to indicate an entity bean that has 'draftable' support but it not a 'top level' (or root level) bean but instead child related to another @Draftable entity bean.
    Marks a boolean property on a @Draftable bean that only exists on the 'draft' table and is used to detect when a draft has unpublished changes.
    Marks a property on a @Draftable bean that only exists on the 'draft' and not the 'live' table.
    Marks a property on a @Draftable bean that is set to null on the 'draft bean' on publish.
    Annotated classes (like BeanPersistAdapter, BeanPersistListener etc) with @EbeanComponent and these will be registered with Ebean.
    Specify that the property is stored in encrypted form.
    Enables you to specify a value to use to persist for an enum value.
     
    Used to control which ToMany relationships are preferred as 'joins' rather than as 'secondary joins' (query fetches).
    Assign to a property to be based on a SQL formula.
    Repeatable support for Formula.
    Marks an entity bean as having history support.
    Marks a property as being excluded from history.
    Defines identity generation for an associated entity bean.
    For IDENTITY specifies the generated ALWAYS or BY DEFAULT option.
    The type of identity to be used.
    An annotation for declaring an index.
    An annotation for declaring multiple indices at class or field level.
    This is put on entity bean types that themselves are not L2 cached directly but are instead joined to other entity beans that are query cached.
    Similar to Jackson JsonIgnore but provides the option to just ignore serialize or deserialize.
    A non-JPA standard alternative to using @Column(length).
    Specify a property to be an MAX aggregation.
    Specify a property to be an MIN aggregation.
    Mutation detection mode used on @DbJson properties.
    A non-JPA standard alternative to using @Column(nullable=false) or javax validation @NotNull.
    Common partition modes.
    Defines the mode for JDBC batch processing.
    Built in supported platforms.
    Marks a method as executing after a Soft Delete.
    Marks a method as executing prior to a Soft Delete.
    Marks an entity bean as being included in read auditing.
    Used to indicate a property on an entity bean used to control 'soft delete' (also known as 'logical delete').
    Mark and entity bean that is used solely via RawSql.
    Specify a storage engine to use with a specific table.
    Specify a property to be an SUM aggregation.
    Specify in which tablespaces the data (tables, indices and lobs) will be stored.
    Marks a property as mapping to the "Tenant Id" when using Partition based multi-tenancy support.
    Specify transaction scoping for a method.
    The Transaction Isolation levels.
    Defines the mode for autoPersistUpdates.
    Used to define the transactional scope for executing a method.
    Marks a Map property on a bean that unmapped JSON properties go into.
    Annotate an entity bean with @View to indicates the bean is based on a view.
    For a timestamp property that is set to the datetime when the entity is created/inserted.
    For a timestamp property that is set to the datetime when the entity was last modified.
    Add an Literal to add to the where clause when a many property (List, Set or Map) is loaded or refreshed.
    Repeatable support for Where.
    Mapped onto a entity bean property that represents the user id of who created the entity>
    Mapped onto a entity bean property that represents the user id of who last modified the entity>