Annotation that designates a class as corresponding to a database table (i.e. an entity).
It is used in the context of Object-Relational Mapping (ORM) to specify the table name in the database to which the annotated class maps.
Attributes: - `value`: Represents the name of the database table that the entity class maps to.
Usage of this annotation allows ORM frameworks to identify and bind the annotated class to the specific table for data persistence operations.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueSpecifies the name of the database table that the annotated class maps to.This value is used in Object-Relational Mapping (ORM) to bind the entity class to a specific table for data persistence operations.
- Returns:
- The name of the database table.
-