Annotation Interface Srid


Specifies the spatial reference system identifier to use when persisting geometry values.
Since:
5.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    The coordinate reference system type.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      int value
      Returns:
      The spatial reference system identifier.
    • type

      Returns:
      The coordinate reference system type. SQL query builders use this value when generating geospatial distance predicates to choose between planar and spherical distance functions where the dialect supports both, and to select geography storage for PostgreSQL and SQL Server when no explicit column definition is present.
      Since:
      5.0.4
      Default:
      PROJECTED