javax.persistence

## 注释类型 Table

-     @Target(value=TYPE)
       @Retention(value=RUNTIME)
      public @interface Table

  Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation.

  If no `Table` annotation is specified for an entity class, the default values apply.

          Example:

          @Entity
          @Table(name="CUST", schema="RECORDS")
          public class Customer { ... }

  从以下版本开始:
    Java Persistence 1.0

- - ### 可选元素概要

    可选元素
    限定符和类型 | 可选元素和说明
    --- | ---
    `java.lang.String` | `catalog` (Optional) The catalog of the table.
    `java.lang.String` | `name` (Optional) The name of the table.
    `java.lang.String` | `schema` (Optional) The schema of the table.

- - ### 元素详细资料

    - #### name

          public abstract java.lang.String name

      (Optional) The name of the table.

      Defaults to the entity name.

      返回:
        String
      默认值:
        ""

  - - #### catalog

          public abstract java.lang.String catalog

      (Optional) The catalog of the table.

      Defaults to the default catalog.

      返回:
        String
      默认值:
        ""

  - - #### schema

          public abstract java.lang.String schema

      (Optional) The schema of the table.

      Defaults to the default schema for user.

      返回:
        String
      默认值:
        ""