Annotation Interface Upsert


@Documented @Retention(CLASS) @Target(TYPE) public @interface Upsert
Insert-or-update (for example insert ... on conflict ... do update) statement of an entity, executed by Sql.upsert(Object). Named parameters (:column) are bound from the entity's columns; a returning clause maps rows back to the entity.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    SQL text with named parameters (:column).
  • Element Details

    • value

      String value
      SQL text with named parameters (:column).
      Returns:
      SQL