Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 508 Bytes

Entity.md

File metadata and controls

19 lines (15 loc) · 508 Bytes

Entity Annotation

Marks a class as an entity for mapping in the Bibernate framework. This annotation is typically applied to a class within a Java class hierarchy that represents entities in a data store. When present, instances of the annotated class will be considered entities during entity scanning and mapping processes.

Examples

Basic Usage

@Entity
public class Person {
    @Id
    private Long id;
}

See also: