Annotation Type UpdateQuery


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface UpdateQuery
    Defines the Teiid View's Transformation Update query. This is optional annotation, that can be defined only when you want support Update on the view.
     
     @UpdateQuery(
       "FOR EACH ROW \n"+
       "BEGIN ATOMIC \n" +
           "UPDATE customerDS.person SET full_name=NEW.full_name, dob=NEW.dob WHERE id = OLD.id;\n"+
       "END"
       )
     
     
    For more information checkout Update procedures in Teiid.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value
        Default:
        ""