Annotation Type Tablespace


@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface Tablespace
Specify in which tablespaces the data (tables, indices and lobs) will be stored. The annotation can be used for entities.

This is currently only useful for DB2 and not used for any other database.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Tablespace for tables.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Tablespace for indices.
    Tablespace for lob fields.
  • Element Details

    • value

      String value
      Tablespace for tables.
    • index

      String index
      Tablespace for indices. Default: use the same as for "tables"
      Default:
      ""
    • lob

      String lob
      Tablespace for lob fields. Default: use the same as for "tables"
      Default:
      ""