Annotation Interface Repository
Defines a repository configuration for managing a specific entity in the database.
This annotation is used to specify the database details and the entity class that the repository will manage.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDefines the database engine used for the repository.Specifies the name of the database where the entity is stored.Specifies the entity class managed by this repository.
-
Element Details
-
databaseName
String databaseNameSpecifies the name of the database where the entity is stored.- Returns:
- The database name.
-
databaseEngine
DatabaseEngine databaseEngineDefines the database engine used for the repository.- Returns:
- The
DatabaseEngine
used by the repository.
-
entity
-