Package st.orm

Annotation Interface DbColumn


Specifies the name for the column, table or view.
  • Optional Element Summary

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

    • value

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

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

      boolean escape
      True to force escaping the column name.

      Note: The column name is automatically escaped if it contains special characters or is a reserved keyword.

      Default:
      false