Annotation Interface Table


@Target(TYPE) @Retention(RUNTIME) public @interface Table
Specifies the table for the annotated entity. If no Table annotation is specified, the default values apply.
    Example:

    @Table(name="CUSTOMERS")
    public class Customer { ... }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the table.
  • Element Details

    • name

      String name
      The name of the table. Defaults to the type name.