Package st.orm

Annotation Interface DbTable


@Target(TYPE) @Retention(RUNTIME) public @interface DbTable
Specifies the schema name for the table or view.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    True to force escaping the schema and table name.
    The database table name.
    The database schema name.
    The database table name.
  • Element Details

    • value

      String value
      The database table name. Acts as an alias for name().
      Default:
      ""
    • name

      String name
      The database table name. Acts as an alias for value().
      Default:
      ""
    • schema

      String schema
      The database schema name.
      Default:
      ""
    • escape

      boolean escape
      True to force escaping the schema and table name.

      Note: The schema and table names are automatically escaped if they contain special characters or are a reserved keyword.

      Default:
      false