Package net.java.ao.schema
Annotation Type Table
Used to specify a table name for an entity explicitly without resorting to manual mappings in the table name converter. This annotation could be used for entities who's corresponding table names either don't follow the convention, or which must correspond to some pre-existing table in the database.
@Table("t_person") public interface Person extends Entity { ... }
In the above example, the Person
entity will correspond to
the "t_person" table, rather than "person" or "people" (depending on the
table name converter).
- Author:
- Daniel Spiewak
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueContains the actual name name which is being specified. This table name will be used without modification, and thus must be a valid identifier in the underlying database.
-