Annotation Interface Database
Defines a database configuration for the custom ORM framework.
This annotation is used to specify the database name, engine type, and the entities (tables) that belong to this database.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDefines the database engine to be used. -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameSpecifies the name of the database.If left empty, the interface's name will be used as the database name by default.
- Returns:
- The name of the database.
- Default:
""
-
engine
DatabaseEngine engineDefines the database engine to be used.The database engine determines how data is stored and managed.
- Returns:
- The
DatabaseEngine
used by the database.
-
tables
-